sw
sw is a minimal and sane web framework
Summary
| Latest Version | Unknown |
|---|---|
| License | Unknown |
| CI Status | Failing |
| Stars | 1 |
| Forks | 0 |
| Open Issues | 0 |
| Last Commit | 2019-09-20 |
| Downloads | 0 |
| Last Indexed | 2026-08-11 05:08 |
Installation
nimble install sw
choosenim install sw
git clone https://gitlab.com/openbsd1337/sw
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| sw | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Source
| Repository | https://gitlab.com/openbsd1337/sw |
|---|---|
| Homepage | https://gitlab.com/openbsd1337/sw |
| Registry Source | gitlab |
README
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