Loryth Knowledge Base (loryth-kb)¶
loryth-kb powers the Notes app — a hierarchical Markdown knowledge base with automatic backlinks, checkpointed revisions, trash recovery, and search.
Responsibilities¶
- Hierarchical Spaces & Notebook: Organizes nested Markdown pages per user space with icons, snippets, and quick-jump metadata.
- Drafts & Checkpoints: Supports fast autosaved drafts, explicit version checkpoints, and point-in-time revision restoration.
- Backlinks & Link Graph: Tracks internal links, backlinks, and broken references across documents.
- Search: Full-text search across page titles and bodies.
Database & Routing¶
- Database:
kb(dedicated PostgreSQL schema and role) - Gateway prefix:
/api/v1/kb/ - Health endpoint:
/api/v1/kb/health