Decision 1
Embed the React build in the Go binary
- Problem
- Users should get the full UI without installing Node.js or running a separate web server.
- Options
- Ship a separate web server or Node runtime
- Embed
dist/*with//go:embedand serve it fromhttp.FS
- Decision
- The React build is embedded at compile time and served by the same Go process as the API.
- Result
- One 16 MB binary with zero runtime dependencies, distributed via
brew installor a GitHub Release. - Trade-off
- Any UI change needs a rebuild and re-release of the binary.
