diri
diri is this wiki-similiar web application. It is a collection of several rc scripts consisting of nearly 300 LOC.
Download
- diri-0.2 (17kB) (20070213)
Development
There is a repository to browse or to checkout diri's source code:
hg clone http://www.suckless.org/cgi-bin/hgwebdir.cgi/diri
Your help wanted
I ask awk-enthusiasts to contribute a Markdown-like filter written in awk (maybe such replacement exists already, but I haven't found one), that I can replace the existing
markdown.pl
filter with something sane. Perl is insane, see this for reference, or execute the following command to verify:
perl -e '("a" x 100000) =~ /^(ab?)*$/;'
Requirements
diri is based on following UNIX/Plan 9 tools:
- awk (urldecode.awk only)
- basename
- date
- grep
- perl (markdown.pl only)
- rc (from p9p)
- sed
- plan9port
- /bin/mkdir (must support -p option)
- /bin/rm (must support -rf options)
Usage
The usage is very simple. Browse the contents through accessing the left menu. Create new pages through accessing:
http://www.suckless.org/edit/path/to/new/page
Edit and remove pages using the control buttons in the upper menu.