sw - suckless webframework
sw is a minimal and sane web framework.
make && make install PREFIX=/usr/local
Copy sw.conf and style.css to your working directory, and edit them to fit your needs.
Static web generation
Run from your working directory:
Where 'site' is the folder where your website is located. The static version of the website is created under 'site.static'.
The whole process can be automatized if you create a Makefile like this in your working directory:
all: sw /path/to/site rsync -avz site.static/ foo.org:/path/to/wwwroot/ clean: rm -rf site.static
- Nibble <develsec.org>
- pancake <nopcode.org>
- Andrew Antle