| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Clone the repository and install dependencies:
git clone <repo-url>
cd second-brain
uv syncCapture a quick thought:
uv run second_brain new "My brilliant idea about caching"This creates ~/second_brain/2026-03-22-my-brilliant-idea-about-caching.md with a heading and timestamp. Duplicate titles on the same day get a numeric suffix (-1, -2, …) to avoid overwriting.
List all notes:
uv run second_brain listShow a note's content:
uv run second_brain show 1With dev environment variables:
uv run --env-file .env second_brain new "Some thought"Via Python module:
uv run python -m second_brain new "Some thought".env.example is the committed template — copy it to .env for development:
cp .env.example .env| Variable | Default | Description |
|---|---|---|
| SECOND_BRAIN_DIR | ~/second_brain/ | Directory where notes are stored. Created automatically. |
| LOG_LEVEL | INFO | Console log level. Set to DEBUG in .env for verbose output. |
| LOG_FILE | app.log | Path to the log file. |
Note: uv run --env-file .env loads the dev environment explicitly (no auto-loading).
Console output uses a compact format with 3-letter level codes (INF, DBG, WRN, etc.). See the Usage Guide for details.
Run tests:
uv run pytestRun tests with coverage:
uv run pytest --covPreview docs locally:
uv run python scripts/serve_docs.pyBuild static docs:
uv run mkdocs build| Back | FazBrowse Home | New Git URL |