Relock: record the >= pin form
c5f8bfe0
Demo web application showcasing sigil-web features. Implements "Vinyl Vault", a vinyl record collection CRUD app demonstrating routing, forms, data tables, pagination, flash messages, modals, SSE streaming, and server-driven UI.
Add as a dependency in your package.sgl:
(from-git url: "codeberg:sigil/sigil-web-demo")Or clone and run directly:
sigil deps install
sigil build
sigil run run.sglThe app starts a web server (default port 3000) and opens Vinyl Vault in your browser.
(sigil web demo)Main entry point. Call (start-demo) to launch the web server with all routes configured.
(sigil web demo db)SQLite database layer with schema initialization, seed data, and CRUD operations:
init-db - Create table and seed sample recordslist-records - Paginated listing with optional searchcount-records - Count with optional search filterget-record / create-record / update-record / delete-record(sigil web demo views)SXML view functions for all pages and partials:
page-layout - Full HTML page shell with navigationhome-page - Welcome page with collection statsrecords-list-page - Searchable, paginated record tablerecord-detail-page - Single record view with edit/delete actionsrecord-form-page - New/edit form with validationBSD-3-Clause
$ git clone https://codeberg.org/sigil/sigil-web-demo
v0.7.2 — latest by version, released 2 Sep 2026
All releases — 3 tags in this repository.
One page per file, and every line has a permalink.
Relock: record the >= pin form
c5f8bfe0
8ca4198e
0bacdfa1
5e5b8d9f
2d7d64a8
The last 20 commits keep a page here. Everything older lives in the clone.