When I first started releasing open-source AVR utilities and libraries, I usually released them with just a basic Makefile for building from the command line. If you couldn't run make and avrdude, you couldn't use my code. Some of my code ended up as Arduino libraries when someone else modified or wrapped it up to work with the Arduino API. Over the past couple years I've started releasing more of my code in the Arduino library format, but it has caused an unexpected problem. Instead of just using my code as intended, some Arduino users try to tweak/modify it without having first understood how to write C/C++. I could try adding comments, like /* Don't touch the code in this file unless you really know what you are doing */, but I'm sure that won't stop the problem.
I could selectively turn off issue reports on my github repos, but I still want to get feedback on legitimate bugs and I don't mind polite requests for new features/improvements.
I'm considering releasing Arduino libraries in binary (compiled archive) form, which is supported since v1.8.6 of the IDE. I'd still like to make the full source available, but only to other developers. I'm looking for suggestions on an easy way to do this.