Licensing content in PublicTxt

wiki publictxt docs licensing

A discussion, not a decision. It records where the thinking stands (2026-12-04) and what is still open. Decisions that come out of it belong in an ADR.

The choice belongs to each author. A repo names its content licence (PublicTxt-Pages: [params.license]; this repo uses CC BY-SA 4.0). Tools show it and carry it along when they mirror. They don’t choose it.

Share-alike is what protects the commons

A CC licence can do two separate jobs:

  • SA (share-alike) keeps adaptations open. Without it, anyone can take the commons into a closed product. This is the clause that protects a commons, and it matters.
  • BY (attribution) credits the source. In a knowledge commons that is less about credit than about provenance: where a claim came from, so a reader can weigh it and trace it back.

SA has costs:

  • Forks only go one way. A fork is the forker’s own page and takes their site’s licence. A page forked from a BY-SA source must stay BY-SA or a compatible licence. It can’t go into a CC0 or CC-BY site.
  • Licences don’t mix. BY-SA and NC (non-commercial) content can’t be combined, so BY-SA and BY-NC repos can’t remix each other.

Attribution scales one hop at a time

The worry is that attribution grows without limit as pages are shared, forked and adapted again and again. It doesn’t, if attribution is by link:

  • CC 4.0 lets attribution be “a URI or hyperlink to a resource that includes the required information” (§3(a)(2)). Wikipedia credits its authors this way, through the page history.
  • A fork records its direct source and nothing further back (spec §5.2, ADR-0012). The source records its own source in turn. Each hop carries one link, so the cost stays the same however long the chain gets.
  • Git records the rest: who wrote what, and what changed. SA requires a note that the work was changed, and a “forked from” label plus the diff gives one.
  • Views already show this: Forked from, From and ↗ original. When the tools do the crediting, attribution costs authors almost nothing.

Where it is weak:

  • Dead links. One-hop attribution needs each source to stay reachable. fork_commit and fork_blob pin the version that was copied, but a deleted repo breaks the chain. Mirrors help, because they keep a copy.
  • Pages built from several sources. fork_* names one source. A page combining several followed pages has nowhere to record the rest.
  • Short quotes. These are mostly fair use or too short to be covered by copyright. Not worth building for.

The licence is the permission. Tell authors, don’t ask them

If an author has licensed their work CC BY-SA, asking them again before mirroring or forking it is odious. It adds friction, and it suggests the licence isn’t enough, which undermines the very thing SA protects.

Telling an author is different, and worth having. Follows, mirrors and forks are already public and link to their sources. Webmention could tell an author who builds on their work without asking anything of them (spec §5.6).

This is separate from the aggregator’s opt-out flag. That covers whether a service indexes a repo, not whether a reader may copy a page.

How the Agora handles it

The Agora mostly leaves the question open. Its README calls it a “Free Knowledge Commons”, but neither that nor its contract names a content licence or says anything about attribution. The contract covers conduct: “be honest”, “follow the principle of charity”. Each garden keeps its own licence; Flancian’s is CC BY-SA 4.0. Gardens join by consent: you register your repo and agree to the contract. That contract is a code of conduct, not a grant of reuse rights.

It can leave the question open because it doesn’t copy anything. An Agora node shows each garden’s note in place, under that user’s name. That is presentation, not adaptation, so the layout does the crediting. PublicTxt copies (a mirror) and adapts (a fork), so it needs a licence model the Agora can do without.

Open

  • No license key in the spec. PublicTxt-Pages reads license: on a follow and on a mirror, and a mirror shows its source’s licence, never the site’s. The spec has neither key yet.
  • Fork licence check. Warn when a fork’s source licence (from its follow) is SA, NC or ND and doesn’t match this repo’s. It’s cheap, and it catches the one licence break these tools make easy.
  • Pages built from several sources. A way to record more than one source (above).
  • Webmention details (spec §5.6, §13).