Replace Memo demo with a URL-payload WebApp Shell#2
Merged
Conversation
Guts the notes app and turns the project into an offline-first shell that renders self-contained HTML encoded into the URL — a successor to opening data:text/html;base64 URLs from iOS Shortcuts, but on a real, persistent origin. - index.html: reads base64url HTML from the URL hash (#app= / gzip #appz=), decodes it (optional gzip via Compression Streams), and renders it full-screen in an iframe. When no payload is present, shows a builder UI to paste HTML and generate/copy/open a launch link. Auto-injects apple-mobile-web-app-capable + viewport metas. Includes a persistent- storage demo app. - Hash carries the payload so it never hits the server (no length/routing limits) and the service worker always matches the cached shell -> any generated link works fully offline after first load. - sw.js: precache shell, cache-first with ignoreSearch + navigation fallback so /webapp-shell/#... and ?... resolve offline; cross-origin requests pass through to the network. - manifest: renamed to WebApp Shell, dark theme. - icons: new code-bracket </> glyph (svg + regenerated pngs). - README: usage, Shortcuts/Home Screen steps, webapp:// explanation, offline + security notes. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RTeJvsfW1JMs5fbP7AMYEz
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Guts the notes app and turns the project into an offline-first shell that renders self-contained HTML encoded into the URL — a successor to opening data:text/html;base64 URLs from iOS Shortcuts, but on a real, persistent origin.
Claude-Session: https://claude.ai/code/session_01RTeJvsfW1JMs5fbP7AMYEz