this post was submitted on 22 Jan 2022
10 points (91.7% liked)

Open Source

31066 readers
465 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
 

I'm rebuilding an app that I made few years ago to make it open-source and free from big company dependencies (for example replacing Firebase with Appwrite)... Now, since it's already live on Codeberg, I think it would be good to give it a license but I'm super new to FOSS licenses and so I don't know how to move... Which one would you suggest me?

top 20 comments
sorted by: hot top controversial new old
[–] Yujiri@lemmy.ml 13 points 2 years ago (1 children)

Depends on what terms you want. Summary of popular options:

  • GPL is meant to ensure that any derivative works are also FOSS
  • LGPL is similar, but the definition of "derivative work" is narrower, so proprietary projects can use its code as long as they aren't extending the LGPL work itself. Often used for libraries
  • AGPL is like GPL, but also applies if someone is using your software as the backend for a network service rather than a program they distribute to users. A company can make a derivate work of GPLed software and offer access to it as a network service without being subject to the GPL terms because making something available as a network service doesn't count as distributing the derived work.
  • ISC (or MIT or BSD, all roughly the same) is meant to not project derivative works. It makes your project FOSS but allows proprietary derivatives
[–] leo_mantovani@lemmy.ml 0 points 2 years ago (2 children)

Thank you! And, if for example someone forks my code and start distributing his new forked app, is there a license which would force him/her to credit the original project?

[–] Yujiri@lemmy.ml 2 points 2 years ago

I'm pretty sure all of them require that, it's a pretty mild requirement so even people who don't like copyleft (like many BSD people) are fine with having that requirement in their licenses

[–] JoeBidet@lemmy.ml 1 points 2 years ago (1 children)

It's not only about credit. All should do this. It's a very very basic requirement.

Just imagine:

  • Windows 23 is released and contains some of your code. made proprietary, as part of this immense piece of garbageware. your name is in a list somewhere, after a third click in a long boring screen of legal documents that nobody reads.

are you OK with that? (that's BSD/MIT)

  • Windows 23 developpers are thinking of using your code. their lawyers make them check the license, and think "damn! our evil plan is foiled! he's using the GPL! we cannot re-use his software until our own software is released under the GPL and obviously we plan on selling proprietary crap to ppl who would run away scared if they can actually look at the code of what they bought. we'll have to plagiarize this guy by rebuilding his software, nobody will know."

do you want that? (that's ^*^GPL)

[–] leo_mantovani@lemmy.ml 1 points 2 years ago* (last edited 2 years ago)

Oh... None of these 2 scenarios looks Hood to me... But I guess I prefer the GPL one if I have to chose

[–] poVoq@lemmy.ml 9 points 2 years ago

Most likely GPLv3 for the client app and AGPL for any server side component.

[–] SudoDnfDashY@lemmy.ml 1 points 2 years ago

You can't go wrong with GPL_V2.

[–] JoeBidet@lemmy.ml 1 points 2 years ago* (last edited 2 years ago) (1 children)

A political answer here:

  • if you want your code to be part of a movement for freedom, to be part of creating a "bubble of freedom" that will serve the world while protecting itself and its users, but fully serve only those whose interests are aligned with the objectives of freedom: go ^*^GPL.
  • if you don't give a f%ck, that you think code is not political and do it just for fun, go to a "business-friendly" (some call them "permissive" but i tend to see freedom to do business at somebody else's exprense rather "exploitative" than anything myself...), ^^BSD^^MIT*etc.
[–] federico3@lemmy.ml 2 points 2 years ago (1 children)

It's incorrect to call BSD/MIT "not political". It allows proprietization and does not protect users and authors from tivoization, patents and trademarks.

[–] JoeBidet@lemmy.ml 0 points 2 years ago

I didnt write that "BSD/MIT is not political" as i agree with your statement. I said "if you think that code is not political", as it is a statement you often hear from ppl who don't want to think too much about license (or about anything else but code). I was describing a symptom, a state of mind (that make ppl opt for BSD and other "exploitative-free" licenses).

[–] realcaseyrollins@narwhal.city 1 points 2 years ago (3 children)

I would love to see a good comparison between all the different licenses

[–] vpzom@narwhal.city 3 points 2 years ago (2 children)
[–] JoeBidet@lemmy.ml 2 points 2 years ago (1 children)

this website seems very biased to me as it is written by a Microsoft company.

  • it uses overly complex legal mumbo jumbo to describe the copyleft licenses, while describing the non-copyleft ones in friendly terms "A short and simple permissive license with conditions only requiring..." making them more appealing somehow.
  • it mentions a permission to PATENT things, with all licenses. when software patents must be banned, and in practices only exist in some weird loophole in the EU. While FSF site reads as "GPLv3 also provides users with explicit patent protection from the program's contributors and redistributors. " (https://www.gnu.org/licenses/rms-why-gplv3.html )
  • it propagates the meme that allowing ppl to make proprietary crap out of your software is "permissive". like if having the right to own slaves would give you... more freedom...?
[–] vpzom@narwhal.city 0 points 2 years ago
  • This page has existed long before GitHub was owned by Microsoft, so that's not really a meaningful claim
  • My reading of the patent stuff is that the licenses that mention them disallow the authors from patenting the software, but I agree that that's not super clear from the page itself
  • Permissive is the established term for such a license, I don't know what else you'd call it that isn't offensive
[–] realcaseyrollins@narwhal.city 0 points 2 years ago

Very cool! Thank you!

[–] jiaminglimjm@lemmy.ml -3 points 2 years ago (1 children)

if u write ur program in Mandarin u wont need any license cuz no corporation will touch that

[–] xarvos@lemmy.ml 3 points 2 years ago (1 children)

Are you saying there's no Chinese corporation? 🤔

[–] jiaminglimjm@lemmy.ml 0 points 2 years ago* (last edited 2 years ago)

none that programs in mandarin currently