Web admin UI: lesson editor with Typst preview #7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Build the web-based lesson management interface at
admin-ui/:Stack: Plain HTML + JS (or minimal framework like Alpine.js). Node.js for dev server, built to static files.
Features:
Backend: A simple Node.js Express server (
admin-ui/server.js) that:GET /api/lessons,POST /api/lessons,PUT /api/lessons/:id,POST /api/compile(Typst → HTML)~/.local/share/jellyfin-lessons/lessons.dbAcceptance
nix run .#adminstarts the admin UI on port 3099Notes
The admin UI is separate from the plugin — served independently on n97. Uses the same SQLite DB path. Typst compilation uses the
typstCLI from the nix dev shell.Keep dependencies minimal:
express,better-sqlite3, and the standard library.