Clone the repository, then install the project and its dependencies:
uv syncRun through the CLI entrypoint:
uv run secondbrainUse development environment settings explicitly:
uv run --env-file .env secondbrainOr run it as a Python module:
uv run python -m secondbrain.env.example is the tracked template. Copy it to .env for development.
LOG_LEVEL defaults to INFO; .env sets it to DEBUG for verbose console output.
LOG_FILE defaults to app.log and controls the log-file path.
uv run --env-file .env loads the development environment explicitly; environment files are not loaded automatically.
Run tests:
uv run pytestRun tests with coverage:
uv run pytest --covPreview the docs locally:
uv run python scripts/serve_docs.pyBuild static documentation:
uv run mkdocs build