UNK is a very small static site generator.
It includes a markup language that all fits within 1,000 bytes.
UNK takes a set of files in a directory, applies a template to them, and output them into another directory as HTML files ready for a server. To keep a very small size, UNK delegates most file processing to TM, the main template. It delegates by using an idea found in shab (a bash templating language): each input file is read as a heredoc, which enables shell interpolation. So the template, as opposed to the engine, can do all the heavy-lifting of index generation and navigation
This is free and open source software.
There are three main scripts:
- UNK (239 bytes), a POSIX-sh script that applies the template to each page and publishes them to the output dir.
- LHT (241 bytes), an awk script that serves as a (very) basic markup language.
- L (502 bytes), the default template script for UNK.
Website: git.sr.ht/~acdw/unk
Support:
Developer: Case Duckworth
License: WTFPL License Version 2
UNK is written in Awk. Learn Awk with our recommended free books and free tutorials.
Related Software
| Awk Static Site Generators | |
|---|---|
| UNK | Tiny static site generator that includes a markup language; Fits under 1,000 bytes |
| zodiac | Static website generator powered by sh and awk |
| RISS | Insert GitHub README in a static site and apply transformations |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

