I really don't know much about the licenses. I am working on a project which I might upload on a website. So I have a few questions.
- Can someone ever steal my code and commercially use it if I put my repo open-source?
- If that's really the case, what license should I use or how should I prevent it?
- Any more suggestions by understanding my situation as I have no knowledge in this context?
My main objective is to keep my website to be opensource and upload it on a domain and make sure no one steals my code or replicates a site just like it without mentioning me or giving me any credits.
Edit: maybe I didn't explain correctly. For example, there are tons of libraries out there right? I can't just clone and upload the same code with the same functionalities with a different name and I am the author of that library and benefit from that. Can I? I want it to be open-source and want it to be open to contributions. But I am just concerned for anyone to clone my code and upload it as their own completely. You know as their own work.
ShareAlikelicenses are a type of open-source license meant to stop exactly this. Any project that uses the code, even if it is a copy of a copy of a copy of a copy, must be licensed under the same os license. The 'author' may be able to leverage the result for money, as has Android, but the code will still need to be publicly available, which renders any type of monopoly out of the question. If they are making money on their program alone, and the code for that program is freely available online, it won't be long before they have competition. – Nate T Nov 07 '21 at 07:03