Repochat is a local-first "chat with your repo" starter app. It indexes text files from a selected repository folder, scores files against a question, and returns ranked code snippets to accelerate exploration.
- React + Vite + TypeScript app
- Light-first neutral theme with dark mode fallback
- Local folder indexing (
webkitdirectory) for text-like files - Keyword-based retrieval with ranked snippets
- Optional LLM synthesis using OpenAI-compatible Responses API
- Session-only API key storage by default (with optional local persistence)
- Unit + component tests (Vitest + React Testing Library)
- CI workflow for typecheck, test, and build
npm install
npm run devnpm run dev- start Vite dev servernpm run test- run test suitenpm run typecheck- run TypeScript checksnpm run build- build production bundle
- Retrieval stays local and deterministic.
- LLM answering is optional and uses your own API key + model + base URL from the settings panel.
- Session-only API key storage is the default mode for safer local use.
MIT