Showcase: sovereign HTTPS demo server + local CA
Some checks failed
ci / check (push) Has been cancelled

serve-demo.mjs serves dist/ (app shell, SPA fallback) and instance/origin/
(signed packages + latest.json) on one HTTPS port; generates /sync-config.json
with the pinned signing-key fingerprint from the published package and offers
/rootCA.pem for phone trust. gen-certs.sh creates a local ECDSA CA + server
cert with SANs for localhost, hotspot 10.42.0.1, and current interface IPs.
No tunnels, no third parties: everything runs on this laptop. npm run
demo:certs / demo:serve.
This commit is contained in:
Lumen Stage1 2026-10-02 12:40:17 -05:00
commit 0e7d85b862
4 changed files with 191 additions and 0 deletions

View file

@ -11,6 +11,7 @@ export default tseslint.config(
"node_modules/**",
"coverage/**",
"experiments/**",
"scripts/serve-demo.mjs",
"public/sw.js",
"share/**",
],