lofigui — Documentation

A minimalist Go library for creating simple web-based GUIs. Some parts available as Python.

Examples

# Name Description
01 Hello World (compact) app.RunWASM() — library auto-generates the SW bootstrap
01a Hello World Explicit Same behaviour as 01, every wire visible: setupRoutes() + hand-written SW bootstrap
01b Hello World Explicit + gzip 01a + DecompressionStream layer for gzipped WASM
02 Output Showcase All output types: Print, Markdown, HTML, Table, SVG
03 Style Sampler WASM with template inheritance
06 Notes CRUD Form POST handlers
07 Water Tank SVG dashboard with simulation
08 Water Tank Multi Multi-page with HTTP Refresh
09 Water Tank HTMX Partial updates with HTMX
10 Water Tank Maintenance Background ops with progress
11 Water Tank Storage WASM + API server with persistent state
12 Batch Yield Cooperative scheduling with lofigui.Yield()
Source (Codeberg) https://codeberg.org/hum3/lofigui
Mirror (GitHub) https://github.com/drummonds/lofigui