Fast, Git-native framework for building knowledge bases
XLog is a static site generator optimized for digital gardens and personal wikis. Written in Go with 37 built-in extensions for backlinks, hashtags, search, and more.

go install github.com/emad-elsaid/xlog/cmd/xlog@latest
mkdir my-notes
cd my-notes
echo "# Hello World" > index.md
xlog
# => Browse to http://localhost:3000
xlog to start the live preview server with hot-reloadxlog -build output/XLog runs a web server that watches your markdown files. When you click "Edit" in the browser, it opens the file in your configured editor. Save the file, and the browser automatically refreshes to show your changes.
vs Other Static Generators: XLog adds knowledge-base features (backlinks, hashtags, search) out of the box
vs Cloud Tools: XLog is free, self-hosted, privacy-focused, and works offline
vs Obsidian Publish: XLog is open source, customizable via extensions, and Git-native
vs Notion: XLog is local-first, markdown-based, and integrates with your existing workflow
XLog includes 37 extensions that enhance your knowledge base:
Knowledge Base: - Backlinks - Automatic bidirectional links between pages - Hashtags - Tag pages and browse by topic - Search - Full-text search across all notes - Recent - Activity tracking for recently modified pages
Content: - Photos - EXIF data extraction for photo albums - Todos - Task lists with checkboxes - Mermaid - Diagrams and flowcharts - MathJax - Mathematical notation
And 29 more... View all extensions
# Bash
eval "$(xlog -completion bash)"
# Zsh
eval "$(xlog -completion zsh)"
# Fish
xlog -completion fish | source
See CONTRIBUTING.md for details.
XLog vendors some dependencies for more control and stability. We thank the original authors:
XLog is released under the MIT license