this post was submitted on 02 May 2025
85 points (97.8% liked)

Programming

20055 readers
124 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
 

It seems people have a hard time understanding the implications of licenses, so I have written a something to help with that.

you are viewing a single comment's thread
view the rest of the comments
[–] JackbyDev@programming.dev 39 points 1 week ago (17 children)
  1. AGPL. Strictest. You want a strict license. Don't let people take advantage of you. I see no good reason to pick GPL when AGPL exists.
  2. LGPL. If you want people to be able to use it (but not modify it) without their code having to be FLOSS as well. Still quite strict relatively with everything below.
  3. Apache. Permissive license. If you really want a permissive license, this is the one to go for.
  4. MIT. Permissive but less explicit. Okay for super short code.

Avoid at all costs CC0. CC0 explicitly does not give patent rights. MIT implicitly does.

[–] paperplane@lemmy.world 11 points 1 week ago (8 children)

A good reason to pick GPL is if you want to allow GPL software to integrate yours and you don't care that much about the AGPL clauses (e.g. because your app isn't a server).

CC0 might be a good fit for trivial template repos where you don't want to burden downstream projects with having to include copyright notices.

[–] paequ2@lemmy.today 4 points 6 days ago* (last edited 6 days ago) (1 children)

you don’t care that much about the AGPL clauses (e.g. because your app isn’t a server).

I've been thinking about this recently... Let's say you develop some local CLI. You think it's not a server, so you license as GPL.

Later someone comes and offers your CLI as SaSS. They write the server piece that just calls your local CLI on their server and pipes the input and output between the user.

So... should you always prefer AGPL over GPL?

[–] JackbyDev@programming.dev 2 points 6 days ago

I have thought about this a lot and done some research on it. Bear in mind, I'm far from an expert, just a curious dev, but I've found no reasons to favor GPL over AGPL when AGPL exists. I personally see AGPL as closing a loophole GPL didn't think of.

One thing I'd wondered if if maybe AGPL hasn't been tested in court. It has. Not as much as GPL, and I don't remember if it specifically was the online part, but I definitely found at least one court case involving AGPL code.

load more comments (6 replies)
load more comments (14 replies)