Skip to content
forked from hmisty/gitwiki

A simple, light and easy to use wiki with git backend

Notifications You must be signed in to change notification settings

liujiaqiid/gitwiki

 
 

Repository files navigation

[TOC]

gitwiki

A lightweight and intuitive multi-user wiki with git backend.

Demo: http://wiki.liuconsulting.com

Quick Start

(make sure you have java first)

git clone https://github.com/hmisty/gitwiki.git
cd gitwiki

If you already have lein in your PATH:

lein run

Or, in development mode:

lein ring server-headless 8083

If you don't have lein:

curl -O https://raw.github.com/technomancy/leiningen/stable/bin/lein
chmod +x lein
./lein run

Open browser to http://127.0.0.1:8083

  • Two testing users test and tom with password test and tom were created for your start.

Theme

It supports theme. The default one shipped in resources/default is borrowed from wigit.

You can absolutely compose your own flavored themes:

  • view.html - the view page
  • edit.html - the edit page
  • history.html - the history page
  • style.css - the style

Authentication

HTTP Basic Authentication is employed.

To create or update user and password, use htpasswd:

htpasswd -s gitwiki.user USERNAME

Under the Hood

  • programming language: clojure
  • build tool: leiningen
  • web stack:
  • wiki rendering: textile. org.eclipse.mylyn.wikitext Java library is reused and wrapped with clojure.
  • git API: jgit. org.eclipse.jgit library is reused and wrapped with clojure for operating the git repository.

License

Copyright © 2013 Evan Liu (hmisty)

Distributed under the Eclipse Public License, the same as Clojure.

About

A simple, light and easy to use wiki with git backend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Clojure 90.6%
  • CSS 7.5%
  • Shell 1.9%