Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
sw is a minimal and sane web framework
Awk CSS Shell Makefile
Branch: master
Failed to load latest commit information.
.gitignore Initial commit
Makefile Initial commit
README.md Improve README
md2html.awk Initial commit
style.css Initial commit
style.old.css Initial commit
sw Update link
sw.conf.def Initial commit
whereis Initial commit

README.md

sw - suckless webframework

sw is a minimal and sane web framework.

Installation

Run:

make && make install PREFIX=/usr/local

Configuration

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:

sw /path/to/site

Where 'site' is the folder where your website is located. The static version of the website is created under 'site.static'.

Automatic generation+upload

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

Author

  • Nibble <develsec.org>

Contributors

  • pancake <nopcode.org>
  • Andrew Antle
Something went wrong with that request. Please try again.