Add what apps replace, their phone apps and size choices (#39)

Three optional cottage.yml fields for plainer app pages and setup steps:
- replaces: well-known services an app stands in for (77 apps)
- mobile: the phone app's store links and server field (17 apps, links
  checked against the project's own pages and the stores)
- sizes: named size choices for apps people size by what they keep
  (Immich, PhotoPrism, Nextcloud, Paperless-ngx, Audiobookshelf)

Eight READMEs gain "Add people" and "Bring your data" sections for the
setup checklist. CI now checks every cottage.yml against the schema.
This commit is contained in:
michael authored and GitHub committed 2026-11-24 08:55:21 -05:00
1 parent 717c64b43c
commit 6ace960a0b
92 files changed
+521 -30

No files matched your search

+35
View File
@@ -76,6 +76,41 @@ in the README where to find them. CI checks these fields' shape.
Cottage provides `${HARBOR_PUBLIC_URL}` (the app's https:// address), `${HARBOR_HOSTNAME}`,
`${HARBOR_SLUG}` and `${HARBOR_POD_ID}`, and every parameter as a variable of the same name.
## Helping people find and set up an app
These optional parts of a recipe make the app's page and first steps in Cottage plainer. CI
checks their shape against `schema/cottage.schema.json`.
- `replaces` in `cottage.yml`: up to four well-known services the app is a fair stand-in for,
most familiar first: `replaces: [Google Photos, iCloud Photos]`. People search the catalog by
what they're leaving. Leave it out rather than stretch it: Roundcube reads mail but doesn't host
it, so it doesn't replace Gmail.
- `mobile` in `cottage.yml`, with `mobile_apps: true`: the phone app people connect to their
copy, with links checked by hand on the project's own site.
```yaml
mobile:
name: Immich # as it appears in the stores
ios: https://apps.apple.com/...
android: https://play.google.com/store/apps/details?id=...
server_field: Server Endpoint URL # what the phone app calls the address field
```
- `sizes` in `cottage.yml`: up to three named sizes beside the default, for apps people size by
what they keep. Say what each holds in plain terms, without guessing at counts of photos or
files. Resources left out stay as the default, and none may be below `min_resources`.
```yaml
sizes:
- { 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.
`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).
Rules (CI checks them):
- Images from the official upstream, pinned by tag in `template.yml`, with the multi-arch digest