惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
月光博客
月光博客
MyScale Blog
MyScale Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
爱范儿
爱范儿
P
Proofpoint News Feed
人人都是产品经理
人人都是产品经理
Last Week in AI
Last Week in AI
罗磊的独立博客
G
Google Developers Blog
Y
Y Combinator Blog
博客园 - 【当耐特】
WordPress大学
WordPress大学
大猫的无限游戏
大猫的无限游戏
博客园 - 叶小钗
J
Java Code Geeks
酷 壳 – CoolShell
酷 壳 – CoolShell
V
Visual Studio Blog
美团技术团队
宝玉的分享
宝玉的分享
Jina AI
Jina AI
小众软件
小众软件
T
Tailwind CSS Blog
A
About on SuperTechFans

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Introducing XLog: A Static Site Generator Built for Knowl...
Emad Elsaid · 2026-05-07 · via DEV Community

After years of trying different tools for my personal wiki, I built XLog - a static site generator specifically designed for knowledge bases, digital gardens, and personal wikis. Here's why it exists and what makes it different.

The Problem

Most static site generators (Hugo, Jekyll, 11ty) are built for blogs and marketing sites. They're great at what they do, but they're not optimized for interconnected knowledge bases.

Cloud tools (Notion, Obsidian Publish) solve the knowledge base problem but lock you into their platforms. Your notes become dependent on their infrastructure, their pricing, their features.

I wanted something that combined the best of both worlds:

  • Local-first like static generators (your data, your files)
  • Knowledge-base features like cloud tools (backlinks, search, organization)

What is XLog?

XLog is a fast, Git-native framework for building knowledge bases. It's written in Go and designed specifically for interconnected note-taking, not general websites.

Key features:

  1. Automatic Backlinks - Mention a page name (Page Name) and XLog creates bidirectional links automatically. No manual link management.

  2. Desktop Editor Workflow - Use Vim, VS Code, Emacs, or any text editor. Edit markdown locally with live preview in your browser.

  3. Git-Native - Everything is markdown files in folders. Full version control, sync with Git, no database.

  4. 37 Built-In Extensions - Hashtags, search, todos, photos, and more. Knowledge-base features out of the box.

  5. Live Preview - Save in your editor, instantly see changes in browser. No build step during writing.

How It Works

1. Install (30 seconds)

go install github.com/emad-elsaid/xlog/cmd/xlog@latest

Enter fullscreen mode Exit fullscreen mode

2. Create Your First Note

mkdir my-wiki
cd my-wiki
echo "# Welcome to My Wiki" > index.md
xlog

Enter fullscreen mode Exit fullscreen mode

3. Open Browser

Visit http://localhost:3000 and see your note rendered.

4. Edit

Click "Edit" - opens the markdown file in your configured text editor. Make changes, save, and the browser updates instantly.

That's it. No complex configuration, no theme setup, no build process.

Why Desktop Editors?

XLog intentionally doesn't include a browser-based editor. Instead, you edit in Vim, VS Code, Emacs, or whatever you prefer.

Why?

  • Editor freedom - Use the tools you already know
  • Powerful editing - Vim macros, VS Code extensions, Emacs org-mode
  • Offline-first - Edit without internet
  • Git integration - Built into your editor

The "Edit" button in XLog opens your desktop editor. You're editing local markdown files, just with a live preview in your browser.

Automatic Backlinks in Action

This is XLog's killer feature. Write naturally and connections emerge:

# Machine Learning Notes

I'm learning about Neural Networks and Decision Trees.

Both relate to Supervised Learning.

Enter fullscreen mode Exit fullscreen mode

XLog automatically:

  1. Creates clickable links to those pages if exists (Neural Networks, Decision Trees)
  2. Shows on "Neural Networks" that this page links to it
  3. Builds a knowledge graph of relationships

No manual link creation. No broken links when you rename files. Just write and connect.

Digital Gardens, Not Blogs

XLog is optimized for digital gardens - interconnected, evolving notes rather than chronological blog posts.

Good for:

  • Personal wikis
  • Research notes with bidirectional links
  • Digital gardens (learning in public)
  • Technical documentation
  • Zettelkasten-style note-taking

Not good for:

  • Marketing websites
  • E-commerce
  • Multi-author publications
  • Complex themes and layouts

If you're building an interconnected knowledge base, XLog is perfect. If you need a general website, use Hugo or Jekyll.

Comparison

Feature XLog Hugo/Jekyll Obsidian Notion
Editing Desktop editor Desktop editor Desktop app Browser
Backlinks Automatic Manual Automatic Manual
Storage Local markdown Local markdown Local markdown Cloud
Deployment Static HTML Static HTML Paid publish Cloud only
Speed Fast (Go) Fast N/A Depends on network
Cost Free, open-source Free Free (publish paid) Freemium

XLog sits between pure static generators (Hugo) and cloud tools (Notion), offering knowledge-base features with full data ownership.

Who It's For

XLog is for developers and technical users who:

  • ✅ Prefer markdown over proprietary formats
  • ✅ Want Git version control for notes
  • ✅ Need automatic backlinks and hashtags
  • ✅ Like using their own text editor
  • ✅ Value local-first, no vendor lock-in

XLog is not for users who:

  • ❌ Need real-time browser collaboration
  • ❌ Want WYSIWYG editing
  • ❌ Require complex themes and CMS features
  • ❌ Prefer all-in-one browser tools

Real-World Usage

I use XLog for:

  • Personal wiki - 2000+ interconnected notes on programming, books, ideas
  • Project documentation - Technical docs with automatic backlinks
  • Learning journal - Daily notes linked to concepts

The XLog documentation itself is built with XLog. Every page is interconnected, concepts link naturally, and the knowledge graph reveals relationships I didn't consciously create.

Getting Started

Documentation:

Repository:

Quick start:

go install github.com/emad-elsaid/xlog/cmd/xlog@latest
mkdir my-notes && cd my-notes
echo "# Hello World" > index.md
xlog

Enter fullscreen mode Exit fullscreen mode

Visit http://localhost:3000 and start building your knowledge base.

The Philosophy

XLog is built on three principles:

  1. Filesystem-based - Your notes are portable markdown files, not locked in a database
  2. Git-native - Version control is part of the workflow, not an afterthought
  3. Editor-agnostic - Use the tools you want, not what we force on you

I built XLog because I wanted a knowledge base tool that respects these principles while providing automatic backlinks and live preview. If you share these values, give XLog a try.

Feedback Welcome

XLog is actively developed and open to feedback. If you try it:

  • Open issues on GitHub for bugs or feature requests
  • Star the repo if you find it useful
  • Share your knowledge base experiences

I'm building XLog for people who value local-first, Git-native knowledge management. If that's you, welcome!


Links: