A simple static site generator
On a Linux machine, in a terminal:
curl -so - https://email@example.com | tar -xzvf - mv ws.sh example.com && cd example.com echo "hello, world" > index.upphtml bin/mkws https://example.com
Binaries for macOS and OpenBSD also available📝 Read The Full Docs You can also join our IRC channel
- 🔍 Small. Just 31 lines of
shand 400 lines of
- 💪 Powerful. Uses
shcode as a templating laguage!
- ⚙️ Extensible. Can use any
UNIXutility in its templates!
- 0️⃣ Zero Config. Script your static site generator instead of configuring it!
- 📦 No package manager. Just download and start hacking!
- ☺️ Optional JS. Add JS to your project only if you prefer!
What people are saying
Finally started playing around with
mkws, @firstname.lastname@example.org! Lots of fun! :-) Now I need some content. ;-)
I can’t express how happy I am to have a decent shell SSG. You are now truly one of my heroes.
The best parts of
mkwsare the simplicity and the ability to tweak the script for your use case. Putting everything in one binary or adding a bunch of extra features like a web server would add unnecessary complication.
mkwsfor mine is both small and minimal, but not remotely limiting, and packs a punch because
shworks surprisingly well as a templating language.
Love the idea of
mkws! Together with a class-less CSS lib like new.css this seems like a great way to get some content online fast and efficiently.
Wow, such simple yet useful idea. Great job! ...I’d like to have it packaged for Void Linux... :)
...great work ...! I was looking for something as simple and extensible as
mkws, after trying other Static Site Generators like hugo, zola, ... often great but too difficult to customize