This project ships as a single self-contained HTML file. There is no dev server, no hosted URL, and no runtime dependencies — just one file you open in a browser.
npm install
npm run buildThe build emits dist/index.html with all JS and CSS inlined. Open it directly:
xdg-open dist/index.html # or just double-click itIt works from file:// — no server required. Drop the file anywhere (USB stick, email attachment, static host) and it runs.
State (drafts, share links) lives in localStorage of whichever origin you open it from.
- Do not start a dev server (
npm run dev,vite, etc.). The only supported workflow isnpm run build→ opendist/index.html. - After any source edit, re-run
npm run buildbefore reporting the task complete.dist/index.htmlis the shipping artifact; it does not update on its own, so stale builds will hide your changes from anyone who opens the file. vite-plugin-singlefileinlines everything; do not add external<script src>/<link href>references, and do not split chunks — it defeats the single-file guarantee.npm testandnpm run typecheckremain the verification commands.