Re: [dev] [sw] Suckless web-framework

From: Andrew Antle <andrew.antle_AT_gmail.com>
Date: Sun, 4 Apr 2010 15:40:44 -0400

On Sat, Apr 3, 2010 at 11:51 PM, Nibble <nibble.ds_AT_gmail.com> wrote:
> Hi,
>
> I'm writing a little (68 LOC) "web-framework" is sh. I think that the
> most remarkable features are:
> * Markdown support
> * Only depends on some standard commands: 'echo', 'grep', 'ls' and
>  'sed'.
> * Easy configuration
> * Create a web site is as easy as creating folders for sections and
>  markdown files for contents
> * Minimalism (68 LOC in one cgi)
>
> It is inspired in werc, but keeping all the code base in one little
> monolitic script, looking for the maximum simplicity (sw uses the werc
> stylesheet by default, yep... I had not time for redesigning it and I
> like the werc look, so I just cleaned it a bit ;)
>
> You can get sw from my hg repository:
> $ hg clone http://nibble.develsec.org/hg/sw
>
> More info at: http://nibble.develsec.org/sw.cgi/projects/sw.md
>
> If you want to give it a quick look, just say that
> http://nibble.develsec.org/ is using sw now :)
>
> Feedback is welcome :)
>
> Best,
> -- nibble

Hi nibble -

I really like sw. I've wanted to run werc on my server, but I can't
run 9base; plus I understand sh a bit more than rc (must be rectified
:). One thing I've noticed is that files with dashes in the name cause
sw to go back to the main index.md... genosite just lists them as is
instead of swapping '_' for ' '. I can use underscores, though. Thanks
for this, man. I'm running a test version at
<http://sw.antlechrist.org>.

Cheers,

-- 
Andrew Antle
<andrew dot antle at gmail dot com>
Received on Sun Apr 04 2010 - 19:40:44 UTC

This archive was generated by hypermail 2.2.0 : Sun Apr 04 2010 - 19:48:03 UTC