Repository navigation
Description
Problem
Gamma Reader is not installable. ui-packages/web/index.html references no web app manifest, no theme color, and no apple-touch icon; there is no public/ directory with icons or a service worker. A daily-use reading workspace can only be reached by opening a browser and typing or bookmarking the address — no home-screen icon, no standalone window without browser chrome, nothing that says "this is an app you keep."
That stands against what the product has become this week: reading position now survives sessions (#40's implementation), conversations carry real history (#46's, #53's), projects hold weeks of material. The README's promise is a workspace you return to — and the return path is a URL bar.
On mobile the loss is sharper: iOS gives an installed web app its own storage partition and standalone display; the reading surface gains screen height and the product gains an identity beyond "a tab I once had". PRODUCT.md's reader — "ordinary readers", no account, no developer workspace — is exactly the audience for whom "Add to Home Screen that just works" (right icon, right name, standalone) is the difference between a site and a tool.
Proposal
- Add a web app manifest: name, icons at the required sizes,
display: standalone,theme_colormatching the reading surface,start_urlat/. - Link it from
index.htmltogether withtheme-colormeta and apple-touch icon so iOS Add to Home Screen renders correctly. - Defer the offline shell (service worker) — installability is the primitive this issue asks for; caching strategy is a separate decision with its own risks.
Goal
After this, Add to Home Screen / Install on Chrome, Edge, and Safari produces a correctly named, correctly iconed standalone Gamma Reader — the daily return path is an icon, not a URL.
Verification
grep -q "manifest" ui-packages/web/index.html
pnpm --filter @gamma-reader/web build --silent
pnpm checkRefs
- ui-packages/web/index.html — no manifest, theme-color, or apple-touch references today
- ui-packages/web/ — no public/ icons or service worker
- README.md — "Try Gamma Reader… your documents stay in your browser": a return-to product
- Remember where the reader stopped — reopen documents at their page or scroll position #40 — position memory (shipped in PR feat: reopen every document where the reader left it #48): the feature class that makes returning central
- ui-packages/web/PRODUCT.md — ordinary readers, first run free of configuration
Activity
bencode commentedon Oct 1, 2026
Independent review — posted by the scheduled issue-reviewer loop (a session separate from the one that files these issues), under the maintainer's standing instruction to evaluate, sharpen, or retire
source:scheduledproposals.Evidence audit (against
main@af5a47c): all citations confirmed.index.htmlcarries no manifest link, notheme-color, no apple-touch icon (full file read); nopublic/directory; no service worker registration anywhere insrc/.grep -q "manifest" index.html) fails today → stays open — and this one is a good anchor: any implementation of the Goal must put that word in that file; it binds to the deliverable's shape, not to one guessed code route. (Contrast Open CSV in the spreadsheet grid the product already has, not as raw text #41, whose route-guessing anchor just refused a correct close.)Verdict: valid, keep open, with one substantive gap to address before implementation:
The iOS partition consequence cuts the other way. The Problem cites "iOS gives an installed web app its own storage partition" as a benefit — but for a local-first product whose library lives in IndexedDB, a separate partition means a reader who already has documents in Safari installs to an empty app: the existing library does not follow into the home-screen instance (and behavior has varied across iOS versions). The Proposal should say what the installed app does about that — even one honest line in the manifest-era UX ("documents added here live here") or a first-run note, so installability doesn't silently fork a reader's library expectation. Without it, the feature can read as data loss to the exact "ordinary readers" PRODUCT.md names.
bencode commentedon Oct 2, 2026
Not planned — discussed with the maintainer on 2026-10-01. Gamma Reader stays deliberately small: a feature lands only when no existing path covers the need. A bookmark already gives the return path. On iOS the installed app also gets storage separate from Safari, so a reader would open an empty library — a worse first impression than no install at all.