[schemers] Chicken Scheme's static html generator "Hyde"
listmail at b79.net
Thu Apr 14 22:27:29 PDT 2011
Below are my preliminary notes from setting up & using the Chicken
Scheme static html generator "Hyde" . I've only just begun to play
around with it, but it seems fairly flexible & capable. I'll write a
follow-up once I've re-implementing my B79.net site with it...for now,
here are the basics in case anyone's interested in getting started.
Hyde doesn't come with a markdown to html conversion tool; it relies
on whatever markdown is in your PATH. I installed discount , which
is a markdown utility written in C (so it's really fast, it's what
Reddit uses ) that has a nice feature set. Here's a writeup  of
its complete syntax (not just what discount extends over the canonical
markdown). Ok, let's get started...
Install the hyde egg:
Initialize a site in the current directory:
Create an index page, in this case using with the markdown (md) syntax:
hyde new md index
Compile the current site:
Serve the current site with spiffy (the chicken scheme web server).
Issue this command, then point your browser to localhost:8080 and
requested pages will be compiled as needed with each request:
So basically, a sequence of commands like so:
% mkdir mysite
% cd mysite
% hyde init
% hyde new md index
% vim src/index.md # open with a text editor & add content
The Chicken Scheme Gazette  is created with Chicken Hyde. You can
find all the Hyde source files used to create it here . And here's
a Hyde-powered blog , including a write-up of how Hyde was used to
More information about the Schemers