Nuul – self-hosted personal knowledge base with an auto-built graph Nuul released a self-hosted personal knowledge base that embeds, classifies, clusters and links notes into an automatically maintained knowledge graph without manual tagging, running on Docker Compose with an OpenAI API key and 4 GB or more of RAM. The system pairs a Tiptap-based markdown editor with semantic search and a d3 force-graph view, and stores PostgreSQL 15 with pgvector behind a FastAPI backend, with automated backups every 6 hours. After each save, the system surfaces related notes using a query built from the first 200 characters of the current note with headings stripped, drawing on pre-computed KB edges, semantic/hybrid search and the local ego-graph. A personal knowledge management system built around a Tiptap-based writing interface, semantic search, and an automatically maintained knowledge graph. Notes are embedded, classified, clustered, and linked — without manual tagging. The frontend is a workspace shell : Write, Graph, Timeline and Canvas are four places you switch between, sharing one editor session. See "Workspaces" below. Orientation for developers and coding agents: read the code; CLAUDE.md holds only what the code cannot tell you. docs/superpowers/OPEN-FINDINGS.md lists the open decisions. docs/PIPELINES.md documents every scheduled job and ingestion path end to end what runs, how often, and where the code is . - Docker & Docker Compose - OpenAI API key - 4 GB+ RAM cp .env.example .env Edit .env and set OPENAI API KEY docker-compose up -d Follow logs docker-compose logs -f api docker-compose logs -f frontend The database initializes automatically from tables.sql on first run. | Service | URL | |---|---| | Frontend | http://localhost:5173 http://localhost:5173 | | API docs | http://localhost:8000/docs http://localhost:8000/docs | | DB admin | http://localhost:8080 http://localhost:8080 Adminer | | Service | Description | Port s | |---|---|---| | api | FastAPI backend | 8000 | | frontend | Production build served by nginx | 5173 | | postgres | PostgreSQL 15 + pgvector | 5432 | | adminer | Database admin UI | 8080 | | pg backup | Automated PostgreSQL backup every 6 hours | — | Four places, listed in frontend/src/workspaces/registry.js . Only the editor is on the boot path; the other three load via import on first visit and keep their state camera, zoom, filters when you leave and come back. | Workspace | What it is | Lives in | |---|---|---| | Write | The Tiptap editor — the default place | src/components/focus-writer.js | | Graph | d3 SVG force graph of the knowledge graph | src/components/graph-view.js | | Timeline | d3 histogram + brush over notes by date | src/components/timeline-view.js | | Canvas | Spatial note board with typed connections | src/components/canvas-view.js | Kontext is not a workspace but a panel — an instrument laid over whichever place you are in a rail on desktop, full-screen on phone . A spatial board of note cards on a zoomable plane, with drawn connections between them. - A saved board is a conversation session id = "canvas