Documents / Wiki
A wiki-style knowledge base for organizing documentation and reference material.
Features
- Categories — Organize documents into categories
- Markdown — Full Markdown rendering with preview
- Slugs — URL-friendly document identifiers
- Search — Full-text search across all documents
- Export — Auto-synced to
~/Dokumente/Wiki/{Category}/as Markdown - Aurora integration — Aurora can list, read, and create documents
Interface
- Sidebar — Category tree with document counts
- Content — Document viewer / editor
- Toolbar — New document, search, category management
Database Schema
sql
niuton_docs (
id SERIAL PRIMARY KEY,
user_id INTEGER NOT NULL,
title VARCHAR(255) NOT NULL,
slug VARCHAR(255) NOT NULL,
content TEXT,
category VARCHAR(100),
created_at TIMESTAMP DEFAULT NOW(),
updated_at TIMESTAMP DEFAULT NOW()
);Slug Column
The slug column is required (NOT NULL) for all documents. It must be included in all INSERT operations.