I'm new to licensing and open source as a whole, so please be patient with me.
Let's say I have created an organization on Github that's called "Organization X", under that organization I created a repository that's called "App X" (it's an open source project and basically, I call it a product).
For that product, I'm looking for a license that does the following:
You're free to use the code inside the project, as far as:
- You give credit to the whole organization basically in the format of "Lines from 20 to 100 have been taken from App X that's under Organization X." while also putting the Organization's and product's logo (that are clearly visible to everyone). Also if person Y takes the same code that person X took from Organization X (my organization), they should give credit to Organization X.
- You can't take the whole product and republish (aka the source code) it. You can only take minor parts to use in your project, or product under whatever organization or company (basically anywhere). I mean as far as you do some significant edits, it's OK to use the source code.
- You can't sell it in anyway or form (basically gain income from it in anyway). The whole product is free for everyone therefore you can't sell it.
- You can't use the code in private projects, your project can be personal or even public to the whole planet but no private or closed-source projects. I mean it should be open-source too.
You can't use the organization's logo or product's logo in anyway. You should indicate that this is a different project and no relation between the two.
I clearly searched for such licenses but couldn't find anything specific. Also, I'm wondering if someone violated any of the above rules what will happen or what should I do in this case?
Also is there anything important you think I missed? To summarize, "I want people to be able to use the source code while always giving credit, not gaining any income from it, and making it open source with an indication that there's no relation between them and my organization. They can't republish the whole source code again unless making some significant edits".
I think this is the right site to ask such a question, correct me if I'm wrong.