Gitit
Wiki program that stores pages and uploaded files in a git repository, which can then be modified using the VCS command line tools or the wiki's web interface.
Alternatives
Tech stack
No tech stack added yet. Sign in to suggest some
Introduction
Gitit is an open-source wiki program developed by John MacFarlane (jgm, the author of Pandoc). The description in its GitHub repository reads "A wiki using HAppS, pandoc, and git". It is written in Haskell and built on the Happstack (formerly HAppS) web framework. Pages are stored as plain text files in a version-controlled repository, using Git by default, with support for Darcs and Mercurial as well. Every edit is a commit, so the wiki comes with a complete revision history.
Key Features
- Version control backend: Pages and uploaded files are stored in a Git, Darcs or Mercurial repository. You can edit on the web, or clone the repository, edit locally and push your changes.
- Multiple markup languages: Thanks to Pandoc, pages can be written in Markdown, reStructuredText, LaTeX, HTML and other formats.
- Math and code highlighting: TeX math formulas can be displayed, and code blocks support syntax highlighting.
- Export to multiple formats: Pages can be exported to the many document formats that Pandoc supports.
- Revision history and diffs: You can view a page's history, compare differences between versions, and revert changes.
- Other features: Full-text search, page categories, file uploads, an RSS feed of recent changes, user accounts, and more.
- Plugin extensions: Plugins can be written in Haskell to apply custom transformations to page content.
Target Users and Use Cases
- Developers who like plain text and Markdown and want to manage documentation with Git
- Individuals or small teams who need a lightweight, self-hosted wiki
- Academic users who need to write math formulas or technical documentation
- Users who want wiki content to be easy to migrate and back up, and who don't want to be locked into a database
Core Strengths
- Content is just plain text files in a repository. It doesn't depend on a database, so backup and migration are simple.
- Built on Pandoc, it offers strong support for markup formats and document conversion.
- You can maintain the wiki with your familiar editor and Git workflow.
Installation and Deployment
Gitit is distributed as a Haskell package and can be installed with the Haskell toolchain (cabal or stack), for example:
cabal install gitit
After installation, run gitit in the target directory to start the built-in web server. On first run, it automatically initializes the repository and default pages. You can adjust the port, repository type, default markup format, authentication method and more through a configuration file, for example gitit -f my.conf. In production, a reverse proxy such as Nginx or Apache is usually placed in front of it.
Technical Requirements
- Building from source requires GHC and cabal or stack
- The corresponding version control tool (git, darcs or mercurial) must be installed
- License: GPL
Notable Characteristics
This is a long-standing project with a fairly traditional interface and a relatively minimal feature set. It is better suited to technical users who value plain text and version control than to teams looking for a modern collaboration interface.
Discover more
Dokuwiki
Easy to use, lightweight, standards-compliant wiki engine with a simple syntax allowing reading the data outside the wiki. All data is stored in plain text files, therefore no database is required.
Mediawiki
Wiki software package that powers Wikipedia and all other Wikimedia projects, serving hundreds of millions of users each month.
WiKiss
Wiki, simple to use and install.
Zim
Graphical text editor used to maintain a collection of wiki pages. Each page can contain links to other pages, simple formatting and images.
AmuseWiki
Amusewiki is based on the Emacs Muse markup, remaining mostly compatible with the original implementation. It can work as a read-only site, as a moderated wiki, or as a fully open wiki or even as a private site.
BookStack
Organize and store information. Stores documentation in a book like fashion.