Cork

A retired super-small static-site generator written in RC shell, compatible on any server with the plan9 core-utils installed

Originally, a fork of werc, cork took to its own software direction, focusing on delivering one singular small and tidy shell script to work with an accompaniyng markdown to html generator

Statically generated sidebar, with directory listing

  • Performant
  • Everything is scriptable</ul>

    Gallery

    Shown below is base-cork, static directory listing is shown in the left-hand sidebar, although there is no highlighting of parent directories/current file


    This is standard cork, this uses slightly more lines of AWK to achieve file highlighting


    With some CSS tweaks and slight shell changes you can achieve a horizontal static bar

    Installation

    Cork has only been tested with OpenBSD's native webserver 'httpd'. In theory, the following guides should be compatible

    OpenBSD (httpd), Install script

    If you don't want the full-blown plan9port, try 9base

    News