Credit the author.
Retain the original copyright notice. One line is enough. Don’t strip it out, don’t put it in 40pt bold.
Not too much, not too little — just the right amount of freedom.
Not too much. Not too little. Just right.
Lagom is…
It cannot be measured, only felt. To ask how much is lagom?
is itself slightly un‑lagom.
Just the two. More would be excessive.
Retain the original copyright notice. One line is enough. Don’t strip it out, don’t put it in 40pt bold.
This file, or a clear reference to it, in copies of the software. It’s just polite.
For any purpose, commercial or otherwise. The Author trusts you to be reasonable. Be unreasonable if you must.
Copy, publish, sublicense, sell — original or modified. Don’t make a big deal of it in either direction. Just put it there.
As much as you like. Rewrite it entirely and call it a fork. That’s between you and your conscience. Your conscience knows what lagom means.
Sharing your modifications (but hoarding is not lagom). Feeling guilty about anything (guilt is never lagom).
0 of 6. No pressure.
Pick berries (snippets) and mushrooms (helper functions). No warranty that the mushrooms aren’t poisonous. Leave no trace. Don’t camp in one file for more than one night. Close the gate behind you.
Issues are handled in order of their queue ticket number.
The only truly unforgivable act. The Author will not say anything about it. The Author will think about it, at length, for years.
You shall not think you are better than this Software.
The Software does not think it is better than you.
Nobody here thinks they are anything special.
This card is exactly as big as it needs to be. That is the point.
Ships flat-packed. The instructions are wordless and feature a small cartoon person who seems calmer than you.
Issues filed in July will be read in August, by an Author with a tan and no memory of having written this code.
A small bag. Not the big bag.
If this code deletes your database, burns your toast, causes an international incident, or collides with a moose, that is between you and your backup strategy.
The Author has no control over moose. Nobody does.
Certain legacy files are like surströmming.
First: coffee, a cinnamon bun, a lagom resolution. Failing that, escalate in the traditional manner.
To whoever keeps leaving lint in the filter. Some of us have to live here too.
/A neighbour
No names. No eye contact. Ever. If that fails, Stockholm District Court. Litigation is never lagom, but it is available.
Perpetual and irrevocable, because termination is too dramatic. Strip the attribution and your rights pause, like a coffee break you did not choose. Restore it and all is forgiven. Grudges are not lagom.
The Lagom Clause
Return when balance has been restored. Using it too little? Use it a little more. Not too much.
Drop it in the root of your project as LICENSE.
curl -o LICENSE https://raw.githubusercontent.com/klppl/lagom-license/main/LICENSE
Replace the copyright line at the bottom with your own. Or type it below and we’ll do it for you.
That’s it. If you have one leftover screw, that is normal. It goes nowhere.
Loading the license. Calmly.