A manifest and icons make it installable. A service worker at /sw.js, so its scope is every page, keeps by kind of URL: content-addressed blobs and blocks for good, as projects load them; the versioned bundle and styles until the next build; and the last copy of the page, the API reads and other statics, for when there is no network. A project opened once opens again offline. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011FLuCjp9kNH6ovwJVXSbq9
15 lines
504 B
JSON
15 lines
504 B
JSON
{
|
|
"name": "arthur",
|
|
"short_name": "arthur",
|
|
"description": "Draw and animate, frame by frame.",
|
|
"start_url": "/",
|
|
"scope": "/",
|
|
"display": "standalone",
|
|
"orientation": "any",
|
|
"background_color": "#8e8e8e",
|
|
"theme_color": "#e4e4e1",
|
|
"icons": [
|
|
{"src": "/static/arthur/icons/icon-192.png", "sizes": "192x192", "type": "image/png", "purpose": "any maskable"},
|
|
{"src": "/static/arthur/icons/icon-512.png", "sizes": "512x512", "type": "image/png", "purpose": "any maskable"}
|
|
]
|
|
}
|