- Python 3.11 or newer
- Git
- A local repository containing at least one supported source file
git clone https://github.com/ashu2012/RepoLens.git
cd RepoLens/repolens
python -m venv .venv
python -m pip install -e .Activate .venv using your platform's standard command, then start RepoLens:
repolens serveThe dashboard is at http://127.0.0.1:8420/dashboard and OpenAPI documentation is at
http://127.0.0.1:8420/api/docs.
Set REPOLENS_DATA_DIR to choose where the persistent repository registry and job history live:
REPOLENS_DATA_DIR=/path/to/repolens-data repolens serve- Select Add repository.
- Enter an absolute local path visible to the RepoLens process.
- Select Full index.
- Wait for
completeand confirm non-zero file, symbol, chunk, and vector counts. - Verify that
<your-repository>/.repolens/index.dbexists.
If the phase changes to error, inspect the displayed error or server log. A missing
Tree-sitter language pack, unreadable file, unsupported-only repository, or parse failure will
not be disguised as success.
python -m pip install pytest pytest-asyncio
python -m pytestConfiguration defaults live in repolens/config.yaml and can be overridden with environment
variables using the REPOLENS_ prefix and __ for nesting.