webui

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2026 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package webui is the bundled single-user web interface, served by the daemon at /. The source lives in webui/ at the repo root (Vite + Preact + Tailwind); `npm run build` there writes dist/, which is committed so a plain `go build` always carries the current UI. CI rebuilds it and fails on drift. Free and AGPL like the rest of the single-user product.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler() http.Handler

Handler serves the web UI. index.html answers at /.

Caching is explicit because embedded files carry no modification time, which otherwise invites browsers to heuristically cache the app shell and keep running a stale UI after the binary updates. Hashed assets are immutable by construction; everything else must revalidate.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL