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.