Kyle Isom 710fcfcd34 Complete WebAuthn web handlers and download real htmx
- Real htmx.min.js (v2.0.4, 50KB) replaces stub
- WebAuthn registration handlers (begin/finish) for adding security keys
- WebAuthn login handlers (begin/finish) for passwordless login
- Key management page (list/delete registered keys)
- Login page updated with "Login with Security Key" button + JS
- Session store for WebAuthn ceremonies (mutex-protected map)
- WebAuthn config passed from server command through to webserver
- Added LookupUserID helper for username-based WebAuthn login

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 21:33:45 -07:00

eng-pad-server

Read-only sync and web viewer for eng-pad engineering notebooks.

The Android app pushes complete notebooks to this server via gRPC. The server stores them and serves read-only views through a web UI with SVG rendering. Shareable links allow unauthenticated access to specific notebooks.

Features

  • gRPC sync: receive notebook data from the Android app over TLS
  • Web viewer: browse notebooks, view pages as SVG, export JPG/PDF
  • Authentication: password (Argon2id) + FIDO2/U2F security keys
  • Shareable links: token-based URLs with optional expiry

Quick Start

# Build
make eng-pad-server

# Generate example config
cp eng-pad-server.toml.example /srv/eng-pad-server/eng-pad-server.toml
# Edit configuration (TLS certs, database path, etc.)

# Initialize (creates database, prompts for admin user)
./eng-pad-server init

# Run
./eng-pad-server server

Build

make all          # vet → lint → test → build
make test         # run tests
make lint         # golangci-lint
make proto        # regenerate gRPC code from .proto files
make proto-lint   # buf lint + breaking change detection

Documentation

License

Private. All rights reserved.

Description
No description provided
Readme 375 KiB
Languages
Go 87.1%
HTML 11%
Shell 0.9%
Makefile 0.6%
Dockerfile 0.4%