Skip to content
sw is a minimal and sane web framework
Awk CSS Shell Makefile
Branch: master
Clone or download

Latest commit

Latest commit d8e8c8d Dec 20, 2018

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Initial commit Feb 6, 2014
Makefile Add an uninstall option to the makefile. Feb 9, 2016
README.md Improve README Jan 28, 2015
md2html.awk Initial commit Feb 6, 2014
style.css Corrected spelling error Dec 20, 2018
style.old.css Initial commit Feb 6, 2014
sw
sw.conf.def Initial commit Feb 6, 2014
whereis Initial commit Feb 6, 2014

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
You can’t perform that action at this time.