Skip to content

chore: relicense from MIT to AGPL-3.0-only - #47

Merged
omartelo merged 1 commit into
mainfrom
chore/agpl-license
Jul 20, 2026
Merged

omartelo merged 1 commit into
mainfrom
chore/agpl-license

Conversation

@omartelo

Copy link
Copy Markdown
Collaborator

Summary

Replaces the MIT license with AGPL-3.0-only. lich stays genuinely open source (OSI-approved), but any distributed — or network-served — derivative must publish its complete source under the same license, so no one can take the code proprietary. As copyright owner, omartelo retains the ability to dual-license.

  • LICENSE — verbatim GNU AGPL v3 text from gnu.org
  • README.md — license notice updated, with the MIT grandfather clause spelled out
  • build/linux/nfpm/nfpm.yaml — package metadata license: AGPL-3.0-only
  • CHANGELOG.md — Unreleased entry

Notes

  • Releases up to and including v0.9.0 remain MIT — that grant is irrevocable; the new license applies from the next release on.
  • The single external contribution (feat: Adds helium browser support #35, Helium support) was made under MIT, which is one-way compatible with AGPL — no consent required, though a heads-up to the author is a courtesy.

Test plan

  • gofmt / go vet clean
  • go test ./... 260 pass (with LICH_LISTEN_PORT cleared — see note below)
  • vitest 266 pass

Unrelated find while gating: terminal transport tests honour an inherited LICH_LISTEN_PORT and collide with a running lich instance on the pinned port. Root-caused, not touched here — follow-up candidate.

🤖 Generated with Claude Code

lich stays open source, but any distributed or network-served derivative
must publish its source under the same license. Releases up to and
including v0.9.0 remain under MIT (irrevocable). LICENSE carries the
verbatim GNU AGPL v3 text; nfpm metadata and the README notice follow.
@omartelo
omartelo merged commit ed35fad into main Jul 20, 2026
2 checks passed
@omartelo
omartelo deleted the chore/agpl-license branch July 20, 2026 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant