werc - A sane web framework

Werc is a minimalist web framework built on the Unix and Plan 9 tool philosophy of software design.

Werc avoids the pain of managing collections of websites and developing web applications.


Here are some of the features provided by werc:

Install Requirements

All you need is some Plan 9 commands (cat, grep, sed, rc, etc.), and an HTTP server with CGI support.

Werc runs on any Unix-like system where Plan 9 from User Space is available (this includes Linux, *BSD, OS X and Solaris), and on Plan 9.

Werc can use any HTTP server that can handle CGI, and has been tested with at least Apache, Lighttpd, Cherokee, nhttpd, Hiawatha, and others.

Werc uses markdown by default (and the standard Perl markdown is included with the distribution), to format documents, but any other formatting system can be used.

Latest Source

To get a copy of the latest development code using mercurial, do:

hg clone http://gsoc.cat-v.org/hg/werc/

You can also browse the online repository.


For questions, suggestions, bugrepports and contributing patches you can join the werc9 mailinglist.

On irc, join #werc on irc.freenode.org



Public domain (by default includes markdown.pl which has a different license, but this can be replaced).


Thanks to Kris Maglione (aka JG) for implementing rss feeds, for writing the awk rc-templating system, and other help and inspiration (some parts of the code were based on JG's diri wiki).

Thanks to Mechiel (aka oksel) for the md_cache script.

Thanks Garbeam (aka arg) for writing the original diri code and showing that writing complex web apps in rc was feasible.

And thanks to everyone else whom I have forgotten and that has provided fixes and feedback.

To post a comment you need to login first.