What needs to be done
Add a minimal web UI served by serve.py so users can search from a browser.
Which file(s) to modify
serve.py — serve an HTML page at /
Proposed approach
- Embed a single HTML page with a search box (inline CSS/JS, no build step)
- On submit, call
/search?q=... via fetch()
- Display results as a list with signal_score, route, title, core_insight
The HTML should be embedded as a string constant in serve.py (no static file serving needed for v1).
Design goals
- Zero additional dependencies
- Works without JavaScript bundler
- Clean, minimal design (think: Hacker News simplicity)
- Shows scoring dimensions in a compact format
Acceptance criteria
What needs to be done
Add a minimal web UI served by
serve.pyso users can search from a browser.Which file(s) to modify
serve.py— serve an HTML page at/Proposed approach
/search?q=...via fetch()The HTML should be embedded as a string constant in
serve.py(no static file serving needed for v1).Design goals
Acceptance criteria
http://localhost:8780/shows a search page