I'm looking for a license that I haven't seen before. I would like a license that allows other people to use my code non-commercially, but unless they have written permission they should not be able to sell derivatives.Pull requests by other people should be possible, but their code would also become owned by me.Forking should be possible, in which case mutual permission would be required from me and the fork maintainers in order for either of us to use the software commercially.Does something like this exist?
Choosing a software license that requires written permission to use commercially
licensing;open source;legal
Actually, there are products available with a licensing scheme which fulfills very similar requirements. It typically works by picking a dual license model. You publish your software, for example, under a GPL license (which theoretically allows selling of the software or derivatives, but makes it practically impossible). But you tell people on your website that you are willing to offer them your software under a different license, under whatever terms you like, assumed they ask you first and you agree to their usage model.As a well known example, you might look into the license terms of MySql.