werc/sites/werc.cat-v.org/index.md

96 lines
3.9 KiB
Markdown
Raw Normal View History

werc - A sane web anti-framework
================================
2009-01-20 00:24:36 -07:00
2010-06-10 22:28:39 -06:00
Werc is a minimalist web anti-framework built following the [Unix](http://doc.cat-v.org/unix/) and [Plan 9](http://plan9.cat-v.org)
*tool philosophy* of software design.
Werc avoids the pain of managing collections of websites and developing web
applications.
2009-01-20 00:24:36 -07:00
* Database free, uses files and directories instead.
* Written using [the rc shell](http://rc.cat-v.org), leveraging the standard Unix/Plan 9 command toolkit.
2009-01-20 00:24:36 -07:00
* Minimize tedious work: eg., no need to ever write HTML, use markdown (or any other format) instead.
* Very minimalist yet extensible codebase: highly functional core is 150 lines, with extra functionality in modular [apps](/apps/).
2009-01-20 00:24:36 -07:00
Features
--------
Here are some of the features provided by werc:
* Good integration with pre-existing content, you can add HTML or plain text files and they will be seamlessly integrated with the rest of the site.
* You can use your favorite tools (text editor, shell, file manager, etc) to edit, manipulate and manage data stored in werc.
* Designed to manage any number of 'virtual' domains that share a common style and layout from a single werc installation.
2009-01-20 00:24:36 -07:00
* Configuration and customization can be at at any level: global, per-domain-group, domain-wide, directory sub-tree, and single file.
* Can trivially run multiple (customized) versions of werc side by side.
* Very simple and flexible user management and permissions system.
* Applications can be easily combined: eg., add comments to your blog or wiki by enabling the 'bridge' app; or by enabling the 'diridir' wiki convert any document tree into a wiki.
* Can easily write werc 'apps' and extensions in *any* language! (But of course, rc is recommended).
2009-02-02 13:57:57 -07:00
2009-01-20 00:24:36 -07:00
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](https://9fans.github.io/plan9port/),
[9base](https://tools.suckless.org/9base/),
or [frontport](https://code.9front.org/hg/frontbase)
are available (this includes Linux, *BSD, OS X and Solaris), and on Plan 9.
2009-09-13 19:38:48 -06:00
2009-01-20 00:24:36 -07:00
Werc can use any HTTP server that can handle CGI, and has been tested with at
least Apache, Lighttpd, Cherokee, nhttpd, Hiawatha, rc-httpd, cgd, 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.
2009-01-21 03:23:35 -07:00
Source
------
2009-02-02 13:57:57 -07:00
To get a copy of the latest development code using mercurial, do:
2009-01-21 03:23:35 -07:00
hg clone https://code.9front.org/hg/werc/
2009-01-21 03:23:35 -07:00
You can also [browse the online repository](https://code.9front.org/hg/werc/).
2009-02-02 13:57:57 -07:00
2009-01-21 03:23:35 -07:00
Contact
-------
For questions, suggestions, bug reports and contributing patches you can join
the werc mailing list. To join, send a message with a body consisting only of the word _subscribe_ to werc-owner@cat-v.org. After you get the confirmation notice, you can post by sending messages to werc@cat-v.org.
2009-01-21 03:23:35 -07:00
2009-10-25 03:31:13 -06:00
On irc, join [#cat-v](irc://irc.freenode.org/cat-v) on irc.freenode.org
2009-01-21 03:23:35 -07:00
License
-------
2009-09-17 02:36:25 -06:00
Public domain, [because so called 'intellectual property' is an
oxymoron](http://harmful.cat-v.org/economics/intellectual_property/).
Alternatively if your prefer it or your country's brain dead copyright law
doesn't recognize the public domain werc is made available under the terms of
the MIT and ISC licenses.
2009-01-21 03:23:35 -07:00
Credits
-------
Thanks to [Uriel](http://uriel.cat-v.org/) for creating werc.
2009-01-21 03:23:35 -07:00
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 we may have forgotten and that has provided fixes
2009-01-21 03:23:35 -07:00
and feedback.