intelixlab / tools / nightbrain
nightbrain — nightly briefing + one lesson, written by your second brain, delivered before you wake.
git clone https://github.com/nhantour/nightbrain && cd nightbrain mkdir -p ~/.nightbrain && cp config.env.example ~/.nightbrain/config.env ./install.sh && ./nightbrain.py
every night, on your own hardware:
an empty day is reported as an empty day. the prompt forbids invented wins. a briefing you can't trust is worse than no briefing — this is the core feature, not a disclaimer.
local-first: runs fully offline with ollama (measured usable on a CPU-only box with qwen3:1.7b, hard fallback gemma3:1b). optional frontier layer — claude code subscription token, anthropic api, or any openai-style endpoint — tried first and failing silently down the chain, so a dead key degrades quality, never availability.
python stdlib. that's it. nothing to pip install, nothing to rot.
github.com/nhantour/nightbrain — MIT.
runs nightly in production at the lab since 2026-07 — the operator reads its output with coffee every morning. dogfooding is the changelog.