Skip to content

feat: add local web UI#362

Open
raoabinav wants to merge 3 commits into
StarTrail-org:mainfrom
raoabinav:feat/local-web-ui
Open

feat: add local web UI#362
raoabinav wants to merge 3 commits into
StarTrail-org:mainfrom
raoabinav:feat/local-web-ui

Conversation

@raoabinav
Copy link
Copy Markdown
Contributor

Evaluator Summary

  • Abi added a lightweight local web UI to LEANN's existing FastAPI server so users can inspect indexes and run searches without writing Python or installing a separate frontend toolchain.
  • Design choice: the UI is packaged static HTML/CSS/JavaScript served from /, avoiding a frontend build system while still adding index selection, search controls, result rendering, empty states, and error states.
  • The implementation includes safe asset path resolution to prevent path traversal and keeps the feature scoped to local leann serve usage rather than a hosted dashboard.
  • Quality bar: 3 targeted tests cover static asset serving, path safety, and search API compatibility; this is useful polish, but less differentiated than the indexed search, local assistant, agent, and multimodal retrieval PRs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant