bashwiki
========

BashWiki is an collection of bash/haserl scripts providing an simple wiki with
history function.

Requirements
------------
* haserl ( http://haserl.sf.net ) > 0.9.16
* git ( http://git.or.cz )
* bash
* sed
* dirname
* /bin/rm ( with -rf option )
* /bin/mkdir ( with -p option )
* perl ( for markdown.pl only )

Special Features
----------------
Because markdown.pl isn't really fast, bashwiki will cache its results in 
$PAGE.cache to accelerate the speed of bashwiki. Another special feature is
the wiki history. It is implemented with git, normaly an tool for managing
different revisions of an software project. In most cases bashwiki uses
speacial bash features, because they are builtins of bash and so they are
faster than forking a sed or something like this.

Installation
------------
After unpacking the sources, edit the rc and the tmpl file to fit your needs.
Copy the *.sh, rc and tmpl to your cgi-bin directory. The change to $DATADIR,
do an 'git init-db' and "echo "*cache" > .gitignore. Now you can open the URL

  http://<yoursite>/<yourpath>/show.sh

in a browser and start editing.

License
-------
The whole bash source code is under gpl, only markdown.pl and tmpl have
different licenses.

Thanks
-------
Thanks for diri (http://www.suckless.org/wiki/tools/diri) for the ideas and
the design of tmpl.

Feedback
--------
If there are any problems, bugs or critic, let me now

cheers
  Christian Dietrich <stettberger@dokucode.de>
