A proof-of-concept single-page app using HTMX and service workers.
Everything is in a single file sw.js
because Firefox doesn't support ES modules in service workers. It's split up into three sections:
- A vendored copy of IDB Keyval because the IndexedDB API is annoying
- A mini "framework" with routing and templating functions
- The actual app logic and templates