Self-host Gollum
v6.1.0Git-backed wiki with a built-in web editor
- Stars
- 14 342
- Port
- 4567 (Default port the Gollum web app binds to (--port))
gollumwiki/gollumWhat is Gollum?
Gollum is a wiki whose entire content lives in an ordinary Git repository: each page is a plain markup file you can organise into folders, edit with any external editor, or change through the web interface Gollum itself provides, and any past version of a page can be viewed or rolled back. Markdown (rendered by kramdown by default) and RDoc ship with it, while AsciiDoc, Creole, MediaWiki, Org-mode, Pod, reStructuredText and Textile work after you install the matching renderer; the project aims for compatibility with GitHub and GitLab project wikis, so cloning one of those lets you browse and change it locally. Documented extras include Mermaid and PlantUML diagrams, BibTeX citations, CriticMarkup annotations, math via KaTeX or MathJax, macros, redirects, an RSS feed of recent changes, drag-and-drop file uploads, custom CSS/JS injection and emoji shortcodes. Install it as a Ruby gem and start it with a single gollum /path/to/wiki command, use the official gollumwiki/gollum Docker image (or a compose file) with your repository mounted at /wiki, or run the downloadable gollum.war on any Java installation; a Rack deployment works too, and user authentication can be added by putting it behind a CAS single sign-on server. Unix-like systems and Windows are supported, though Windows needs JRuby.
Gollum alternatives
LeafWikiLeafWiki is a self-hosted, open-source wiki storing content as plain Markdown files with SQLite — no external database needed. Runs as a single Go binary.CompareLeafWiki with Gollum
deepwiki-openOpen-source, self-hosted generator that turns GitHub, GitLab or Bitbucket repositories into AI-written wiki docs with diagrams and RAG chat.Comparedeepwiki-open with Gollum
GititGitit is a self-hosted, open-source wiki in Haskell storing pages in Git/Darcs/Mercurial with Pandoc markup, TeX math, and syntax highlighting.CompareGitit with Gollum
Wiki-GoOpen-source, self-hosted flat-file wiki in Go with Markdown editing, full-text search, version history, access rules, comments and kanban boards. No database needed.CompareWiki-Go with Gollum
openchangelogOpenchangelog transforms Markdown changelogs into a beautiful website with search, password protection, themes, RSS, and GitHub/GitLab/Forgejo/local integrations.Compareopenchangelog with Gollum
GogsA lightweight, open-source, self-hosted Git service written in Go: repos, issues, pull requests, wikis and LDAP login, run from one binary or a Docker image.CompareGogs with Gollum
docmostSelf-hosted, open-source collaborative wiki with real-time editing, diagrams, AI features, and enterprise SSO as a Confluence/Notion alternative.Comparedocmost with Gollum
gobookmarksgobookmarks is a self-hosted start page rendering bookmarks from a plain text file with visual editor, search, and Git-backed history.Comparegobookmarks with Gollum
Should you self-host Gollum?
Gollum scores 71/100 on selfhost.directory (how scoring works) and ranks #5 of 31 in Wikis. It has 14 342 GitHub stars, +6 in the last 30 days.
There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.
Setup is easy: most people get it running in one sitting. An official Docker image is available. It is MIT-licensed and written mostly in Ruby.
Its closest alternative on selfhost.directory is Wiki.js (78/100, 29 226 stars). It scores higher overall, so compare the two before you pick. See Gollum vs Wiki.js side by side.
Features
- BibTeX citations
- CriticMarkup annotations
- Custom CSS and JS
- Diagrams (Mermaid, PlantUML)
- Emoji shortcodes
- File uploads
- GitHub/GitLab wiki compatibility
- Macros
- Math rendering (KaTeX/MathJax)
- Multiple markup formats
- Page redirects
- Revision history and rollback
- RSS Feed
- Web-based page editing
Gollum README
More in Wikis
HubzillaHubzilla is a powerful, privacy-respecting, all-in-one platform for decentralized social networking, collaboration, and content publishing. It supports federated identity, groups, forums, cloud storage, blogging, wikis, and more, all within a unified privacy framework.
IbisIbis is a self-hosted, open-source federated encyclopedia using ActivityPub for decentralized wiki hosting with article editing and cross-instance federation.
kiwifsKiwiFS is a self-hosted markdown filesystem turning .md files into a knowledge server with git versioning, search, a web UI, and 78 MCP tools for AI agents.
LeafWikiLeafWiki is a self-hosted, open-source wiki storing content as plain Markdown files with SQLite — no external database needed. Runs as a single Go binary.
MediawikiMediaWiki is a collaboration and documentation platform used by tens of thousands of websites and organizations. It powers Wikipedia and is known for being powerful, multilingual, free, open-source, extensible, customizable, and reliable.
Mycorrhiza WikiSelf-hosted wiki engine storing content as Git-tracked files with Mycomarkup markup. Supports transclusion, categories, keyboard navigation, and optional Telegram login.
OpenKnowledgeOpen-source, self-hosted WYSIWYG markdown editor and LLM wiki with MCP agent editing, git-backed sync and team sharing.
outlineSelf-hosted team wiki and knowledge base with realtime collaborative editing, comments, search and 20+ integrations, run as a Docker container with PostgreSQL and Redis.
outline-docker-composeOpen-source Docker Compose kit that deploys a self-hosted Outline wiki with a bundled OIDC login server, Postgres, Redis and nginx, using a make install script.
PandaWikiOpen-source, self-hosted knowledge base that builds product docs, FAQs and blogs with AI Q&A, AI search and chatbots for DingTalk, Feishu and WeCom.
Pepperminty-WikiSelf-hosted, open-source wiki engine in a single PHP file with flat-file storage, Markdown, full-text search, revision history, file uploads, and dark theme.
PetrichorPetrichor is an open-source, self-hosted platform turning Markdown into semantic wikis with agentic RAG for traceable, evidence-backed answers.





0 comments