2023-01-13 19:10:40 +01:00
2014-02-06 10:54:27 +01:00
2014-02-06 10:54:27 +01:00
2023-01-13 16:14:04 +01:00
2023-01-13 19:10:40 +01:00
2014-02-06 10:54:27 +01:00
sw
2023-01-13 16:16:38 +01:00
2014-02-06 10:54:27 +01:00
2014-02-06 10:54:27 +01:00

sw - suckless webframework

sw is a minimal and sane web framework.

Changes from jroimartin/sw

  • footer modified to add licensing info

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
Description
ah its a fork of sw for my blag
Readme 41 KiB
Languages
Awk 45.4%
CSS 39.6%
Shell 12.8%
Makefile 2.2%