Files
nib-v1/main.go
lerko 5b0d0a8f33 feat(web): add vanilla JS/CSS SPA with embed.FS
Stream view with date grouping, card view sorted by usage, capture
bar with client-side grammar parsing, tag rail filter, detail pane
with card affordances (template slot fill, checklist toggle, link
open), promote modal with auto-detect, keyboard shortcuts (j/k/n/p/
Enter/dd/1/2). Dark theme, responsive layout. Embedded in Go binary.
2026-05-14 11:38:45 -04:00

22 lines
266 B
Go

package main
import (
"fmt"
"io/fs"
"os"
"github.com/lerko/nib/cmd"
)
func main() {
webContent, err := fs.Sub(WebFS, "web")
if err == nil {
cmd.WebFS = webContent
}
if err := cmd.Execute(); err != nil {
fmt.Fprintln(os.Stderr, err)
os.Exit(1)
}
}