cottondb.com
The public site, in the chosen second design (owner, 23 Nov 2026; the design's own files are in the website lane's folder as site-v2/): a home page with a sheet for each app, a page for each app on its own paper, the plain privacy page (/yours, "Privacy" at the top), the full privacy policy with a section per app (/privacy#days, #words, #story, #comms, #website; Google Calendar at #days-google, the old #google-calendar still lands there), Help (/support, with #delete-account), the terms and the 404. /about answers 301 to /yours (src/worker/index.ts). /delete is linked from every page. While live's ACCOUNT_DELETE is off, the business Worker hands GET /delete to this site, whose page (pages.ts deletePage) is the privacy policy's chapter on deleting: ask by email. Once it is on, the business Worker answers /delete with its own form (apps/business/src/delete_page.ts).
Where things are
apps.json: THE list of apps: order, names, lines, its words (sheet, does, nots, captions), each store's state (none,soon, orlivewith its url: "Not yet", "Coming soon", "Get it on …"), its paper (colours, light and dark), icon and screenshots. Adding an app or changing its state is one edit here.app-pages.json: each app page's own words (owner, 25 Nov 2026):why(his paragraph under the name, placed word for word; empty makes a blank, so a live build refuses),has(what it has now) andcoming(what is decided and not built), each one plain sentence checked against the code; the evidence for every item is in the site-pages lane's report.site.json: the contact address every page shows.src/site/copy.ts: the site's own words (home, footer, the defaults on app pages).content/*.html: the long texts (yours, privacy, support, terms). The words are the design's and final; changes go through the owner.src/site/pages.tsrenders every page (the design's build.py, ported);cotton.cssis the design's stylesheet, andstyle.tswrites each app's paper into it from apps.json;checks.tsholds every page to: nothing from another host, no script, frame or form, links only to allowed places, every file present (the stylesheet's fonts too), under 200 KB as it travels without screenshots, and every screenshot present and not blank.static/: the design's fonts, icons, screenshots, favicon and link previews, served as they are.
Commands
pnpm build: preview build into dist/, blanks marked.pnpm build:live: refuses while any page holds a[[blank: …]](none is left as of 23 Nov 2026).pnpm pictures [app…]: remakes an app's icon, screenshots and typeface in static/ from the sources apps.json names (needs Pillow, fontTools, brotli).- Tests:
src/pages/__tests__/pages.test.ts(every page),src/worker/__tests__/*.
Words
Anything a reader sees is written by a fresh writer from drafts/FACTS.md and checked separately against the code and the privacy policy. Change the facts first, then the words.
pnpm shots <app>: retakes an app's screenshots from the app itself on a throwaway Android emulator with invented data (tools/shots/<app>.json holds the steps and every made-up word; a step namedsite-<file>is kept as shots-src/<app>/<file>.png), sizes them, and says whether the app's decisions or store text changed after the site's words did.