Skip to content

gollum

Git-backed wiki for teams that keep docs as plain text files in a repository

Permissive (OSI) · MIT

Listed by , founder & editor

20

Health

Dormant

Overview

Stars

14,354

Last commit

15 months ago

Aug 2025

Repository age

16 years

since Mar 2010

Latest version

v6.1.0

Dec 2024

Contributors

–

Releases

0

last 12 months

Language

Ruby

Gollum is a wiki built on top of Git. A wiki is a Git repository holding text and markup files, which you can organize into directories as you like. Images, PDFs and page headers and footers can live in the same repository.

You can edit pages in the built-in web interface or in your own editor and then commit. Every page keeps its full history, so you can view older versions and revert them. Gollum aims to be compatible with GitHub and GitLab wikis, so you can clone one of those wikis and view or edit it locally.

It ships with Markdown and RDoc support. Other markups such as AsciiDoc, Creole, MediaWiki, Org, Textile and ReStructuredText can be added through extra renderers. Extras include Mermaid and PlantUML diagrams, KaTeX or MathJax math, BibTeX citations, CriticMarkup annotations, macros, redirects and an RSS feed of recent changes.

It is written in Ruby, runs on Unix-like systems and Windows (Windows needs JRuby), and installs as a gem, a Docker image or a Java WAR file. It suits people who want a self-hosted alternative to GitHub or GitLab wikis.

Who it's for

Developers who already document projects in Git

The wiki is a normal repository, so you can edit it with your own editor and review changes like code.

Skip if: Your writers are non-technical and expect a rich visual editor with comments and permissions.

Teams using GitHub or GitLab wikis

You can clone an existing wiki and browse or edit it locally with a web frontend.

Skip if: You want a hosted wiki with built-in user management and search across many spaces.

Writers who mix markup formats

Different pages can use Markdown, AsciiDoc, Org, Textile or other formats in the same wiki.

Skip if: You want one consistent format and a WYSIWYG editor.

The problem it solves

Wikis often hide your content in a database that is hard to version, back up or edit offline. Gollum keeps every page as a file in Git, so history, backups and offline editing come with the repository.

Strengths

  • Pages are plain files in a Git repository, with full history and revert
  • Works with GitHub and GitLab wiki repositories
  • Supports Markdown, RDoc, AsciiDoc, Org, Textile and more
  • Mermaid, PlantUML, KaTeX and MathJax built in as options
  • MIT license; installs as a gem, Docker image or Java WAR

Trade-offs

  • Maintenance is dormant, with no releases in the last year
  • Windows needs JRuby
  • Authentication needs a separate setup such as a Rack or proxy layer
  • Extra markups need additional gems or tools installed

Self-host gollum

Self-hostable
Yes
Hosted plan
From $4/month · pricing

Quick start

gem install gollum

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is Gollum free?

Yes. It is released under the MIT license, so you can use and modify it freely.

Can I self-host it?

Yes. You can run it as a Ruby gem, in Docker, or from the Java WAR file.

Can I use my GitHub or GitLab wiki?

Yes. Gollum aims for compatibility, so you can clone your wiki and view or edit it locally.

Which platforms does it run on?

Unix-like systems and Windows. On Windows it runs only with JRuby.

Similar tools in Wikis and knowledge bases

TiddlyWiki

Wikis and knowledge bases

Non-linear personal wiki that runs as a single HTML file or on Node.js

8.7k 1.3k 7 days ago Active BSD-3-Clause

Otter Wiki

Wikis and knowledge bases

Minimal self-hosted wiki that stores pages as Markdown in a git repository

1.6k 137 2 days ago Thriving MIT

Wiki.js

Wikis and knowledge bases

Self-hosted wiki for teams that write documentation in Markdown and sync with Git

29k 3.4k yesterday Thriving AGPL-3.0

Replaces ConfluenceMicrosoft SharePoint

llm_wiki

Wikis and knowledge bases

Desktop app that turns your documents into a linked wiki using an LLM you choose

22k 2.5k 34 days ago Active GPL-3.0