News for hackers. Stuff that matters.
Re:Ask HN: How to license an OSS so that only commercial use... by josephcsible on Wednesday February 28, 2024 @12:53AM (#39534534)
If you required commercial/government users to pay, then you'd necessarily fail to meet the Open Source Definition, so it'd be impossible. The next best thing is indeed dual licensing. Choose a license that companies are irrationally afraid of, like the AGPLv3, and release your code for free to the public under that license. The dual licensing part is you say something to the effect of "if you don't like the AGPLv3, then you can pay for a different license instead". The FSF calls this "selling exceptions" and is completely fine with it.
Re:Ask HN: How to license an OSS so that only commercial use... by ambigious7777 on Wednesday February 28, 2024 @08:29PM (#39545619)
Someone mentioned[0] that this requires contributers to sign some sort of agreement. I did read somewhere that this discourages a lot of possible PRs, but if this is the only way I guess I don't have much choice then (if I want some money, that is).

[0]: https://news.ycombinator.com/item?id=39532917