Context
I'm writing a web app (and a REST API) and I plan to make my users pay for the software, in order to pay the server costs, but the code is available if some user wants to host the service himself.
However, I could imagine some company being interested in this service, rebranding and selling it, and ending up making way more profit than me (and also people accusing my software of being a "copycat" of theirs)
Conditions
Essentially, I want the following points:
- Allow collaboration on my own GitHub repositories (pull requests, forks)
- Allow the distribution of the source code without selling it
- Allow myself to sell the software but not others
The idea is that I want the software I'm writing to be open source, but want to avoid some company with more audience than me (approx. 0 at the time of writing) to sell my software.
What I tried
I checked https://choosealicense.com/ but found none that satisfy those conditions. I also heard that releasing code under a Creative Commons license is a bad idea (as a CC-BY-NC-SA would match what I want)