Smeagol Wiki
Notes, project knowledge and reference material live in a Markdown vault. Smeagol is a personal wiki that makes that vault editable in the browser without forcing raw Markdown editing.
Why a WYSIWYG wiki
Plain Markdown is excellent for storage and versioning, but it is not always the right interface for quick edits. Smeagol keeps the files as Markdown while using Milkdown as a real WYSIWYG editor. Formatting is applied directly in the page, changes are saved automatically after a short typing pause, and the result on disk is still valid Markdown.
Architecture
- Single Go binary, the server and the embedded frontend ship as one binary with no database and no runtime dependencies.
- Markdown vault, the binary points at a directory of Markdown files, including arbitrarily deep subdirectories. Each folder can have its own
README.mdas an index page. - No persistent index, full-text search scans the vault on demand, so externally changed files are picked up without a rebuild.
- Live reload, when a file changes outside the browser, an open page updates automatically. If the page is being edited at the same time, it shows a conflict warning instead of overwriting silently.
- Offline frontend, the editor and its vendor assets are embedded in the binary. No npm or Node build step is required.
Features
- Tree view of the whole vault, accessible on mobile viewports.
- Full-text search across content and paths.
- Formatting toolbar for headings, bold, italic, inline code, lists, blockquotes, code blocks, horizontal rules and hard breaks.
- Instant save with visible status, live reload and conflict handling.
- Light mode interface and a single Go build output.
Deployment
The wiki runs as a single Go binary in the homelab and points at a Markdown directory on homelab storage. Because the vault is just files, it is covered by the normal file and snapshot backup chain. See the Smeagol repository for the build and configuration details.
The vault contains personal notes and is not published here.