new idea: have a license that requires people who use your code to link back to the repo or whatever where they found it. that way the end user can still see and use your code, and downstream adapters of your code can protect their work however they see fit
(actually, isn't CC-BY kind of just that already?)
@typhlosion BSD?