jakelazaroff / htmx-spa

Home Page:https://htmx-spa.pages.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HTMX SPA

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:

  1. A vendored copy of IDB Keyval because the IndexedDB API is annoying
  2. A mini "framework" with routing and templating functions
  3. The actual app logic and templates

About

https://htmx-spa.pages.dev


Languages

Language:JavaScript 98.3%Language:CSS 1.1%Language:HTML 0.6%