Make every README the app's setup checklist (#40)

Each README is now only the app's Getting set up steps (First login, Get started, Bring your data, Add people), plus icon credits and trademark notices. CI checks the format (.github/check-readmes.py).
This commit is contained in:
michael authored and GitHub committed 2026-11-24 10:21:47 -05:00
1 parent 6ace960a0b
commit 6a4a96e7ed
103 files changed
+476 -888

No files matched your search

+21 -3
View File
@@ -12,7 +12,7 @@ make it; see the maintainer program on cottage.host.
apps/<slug>/
template.yml Docker Compose file, with Cottage's settings in the x-harbor block
cottage.yml listing: name, tagline, category, upstream, licence, image digests
README.md first-run notes shown on the app's page in the dashboard
README.md the app's "Getting set up" checklist in the dashboard
icon.svg 64×64 icon, no scripts or event handlers
schema/cottage.schema.json
scripts/local-test.sh
@@ -105,8 +105,26 @@ checks their shape against `schema/cottage.schema.json`.
- { label: A bigger library, note: "200 GB of room, like iCloud's 200 GB plan.", storage_mb: 204800 }
```
- `## Add people` and `## Bring your data` in `README.md`: short sections for the setup checklist
after the first login, one or two sentences each, in the app's own words for its menus.
### README.md: the setup checklist
An app's `README.md` is its "Getting set up" checklist on the app's page in Cottage, and nothing
more. Settings, email, tips and exporting belong in the app's guide in the Cottage docs, which the
checklist links to. These sections, in this order, and no others (CI checks them):
| Section | When | What it says |
| --- | --- | --- |
| `## First login` | Apps with accounts or a password | How the owner gets in the first time: create the admin account on the first visit, or sign in with the **Admin password** (or token) from **Sign-in details** on the app's page in Cottage. For a `first_visit_claims_admin` app, end with choosing **Open it to everyone** on the app's page in Cottage once the account exists. |
| `## Get started` | Apps without a First login; optional for the rest | The first real thing to do with it, when that isn't bringing data in: add the tracking code to a site, connect a database, send a first notification, write a first page. |
| `## Bring your data` | Optional | Getting existing things in: importing from the service it replaces, adding feeds or bookmarks you already have. |
| `## Add people` | Apps with more than one account | How to give other people their own accounts. |
| `## Icon` | When the icon's licence asks for credit | The credit. It isn't part of the checklist. |
| `## Trademark` | When the project's trademark terms ask for a notice | The notice, word for word as `docs/licensing.md` records it. It isn't part of the checklist. |
Each checklist section is one step: at most 100 words, one to three short paragraphs or a short
numbered list, with the app's own words for its menus in bold. Steps don't repeat each other
(First login doesn't add people), don't mention the phone app (that's `mobile` in `cottage.yml`),
and there's no title or any other heading.
`cottage.yml` text, the README and the icon can change without a new version: Cottage refreshes
them for the version already listed. Anything in `template.yml` needs a bump (see below).