I read a lot and keep little of it. Bookmarks pile up. Notes scatter across apps.
notion-kb is my fix. It is a Python command-line tool. Notion is the store. The Claude API does the reading, compiling and answering.
It has six commands.
- ingest takes a URL, a file or pasted text and saves it to a Raw Sources database.
- compile reads new sources and writes structured wiki articles to a Wiki database. It also updates a Master Index. A dry-run mode shows what would change first.
- ask answers a question from the wiki. The answer goes to a Q&A database, or out as HTML or markdown.
- mini-kb packs a topic into small files I can load into a voice assistant on my phone, so I can talk a subject through hands-free.
- lint checks the wiki for gaps and broken links. It can suggest fixes or apply them.
- serve runs a small local server, so I can embed live views inside Notion pages.
One design choice matters most. Raw sources and compiled articles live in separate databases. I can recompile the whole wiki at any time without losing an original.
Source on GitHub: github.com/abhilashme/notion-kb