web

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package web serves the local single-page app: graph view, search, reader, notes. M5.

The SPA is built from web/ui into internal/web/dist and compiled into the binary with a //go:embed directive, which is why M5 is shorter here than it would be elsewhere — there are no assets to ship and no paths to configure. That directive lands with the first real build: dist/ is gitignored, and //go:embed fails to compile against a missing directory.

Same rule as the other front doors. Handlers call internal/library and format the result. No SQL here.

Jump to

Keyboard shortcuts

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