Skip to content
Simple wiki using a git repository (pure PHP5)
JavaScript PHP
Find file
Latest commit fbc1190 @patrikf Fix View->__isset
We never actually return a value. (David Triendl)
Failed to load latest commit information.
doc Add markup specification
include Fix View->__isset
templates Templates/Archaic: Include stylesheet correctly
COPYING Officially add license information
LICENSE Officially add license information
README.rst Split off git library code to glip
TODO Add 2 points to TODO
index.php Consistently use author data instead of committer data
mootools-1.2-core-nc.js Add mootools
php.ini .htaccess: Add RewriteBase, replace php_flag with php.ini


eWiki - A simple, git-based Wiki


eWiki ("English Wiki") is a small Wiki written in PHP. Instead of using a database to store changes it uses Git. This allows you to run all those fancy SCM operations like bisect, blame and rebase on your Wiki, as well as editing it offline.


  • PHP > 5.0
  • A server with mod_rewrite or another URL-rewriting mechanism
  • A database with a PDO driver if you want user authentication

Installing eWiki

Installing dependencies

eWiki uses glip to access git repositories. You should copy or symlink the lib folder of glip to include/glip.

Setting up a bare git repository

This only sets up a bare repository that will be used by eWiki. You still need another repository and at least one commit. Create an empty directory, cd into it and type the following command on your workstation or directly on the server, if you have shell access and git is installed:

git init --bare
git fetch /path/to/wiki/repository/ master:master

If you created the repository on your workstation, upload the resulting directory structure to a path on your webserver.

Configuring eWiki

Simply edit the file include/config.class.php according to the instructions given in the file.

Something went wrong with that request. Please try again.