feat: make roast planner mobile PWA ready
This commit is contained in:
@@ -25,6 +25,10 @@ npm install
|
||||
npm start # http://localhost:8090 (set PORT to override)
|
||||
```
|
||||
|
||||
## Mobile and PWA use
|
||||
|
||||
The planner is responsive and caches its app shell for offline use after the first visit. Browser installation and service-worker caching require HTTPS in production (localhost is exempt). Put the Docker container behind an HTTPS reverse proxy before using it as an installable PWA on a phone.
|
||||
|
||||
Prefill requires a model configured via the `pi` CLI (`~/.pi/agent/{models,auth}.json`) —
|
||||
without one, `/api/prefill` returns `503 no_model` rather than crashing. Everything else
|
||||
(the form, ledger, curve, `.alog` upload) works with no model configured.
|
||||
|
||||
Reference in New Issue
Block a user