Static Site Generators

Haunt – simple static site generator

Haunt is a simple, functional, hackable and extensible static site generator that gives authors the ability to treat websites as Scheme programs.

Haunt provides a simple, functional fully-programmable build system that can be easily extended for this purpose. It’s composed of several Guile Scheme modules.

This is free and open source software.

Key Features

  • Supports:
    • Posts – represent the articles that are kept in a site’s post directory and written in a markup format that Haunt can understand.
    • Readers – the purpose of a reader is to translate the markup within a post file into an SXML tree representing the HTML structure and associate some metadata with it. There are readers for posts written in texinfo, Skribe (markup language), and CommonMark, a fully specified variant of Markdown.
    • Pages – page objects represent files that have yet to be written to disk. Their contents may be any arbitrary object that their writer procedure knows how to serialize. In practice, pages are almost always written to disk as HTML or XML
    • Assets – represent files on disk that should be copied verbatim to a site’s output directory. Common types of assets include CSS, JavaScript, images, and fonts.
    • Builders – procedures that return one or more page objects (see Pages) when applied. Haunt provides builders for static assets, blog, and Atom feed.
  • Supports any markup language that can be parsed to SXML.
  • Simple development server.
  • Purely functional build process.
  • User extensible.

Website: dthompson.us/projects/haunt.html
Support: Manual
Developer: David Thompson
License: GNU General Public License Version 3

Haunt is written in Scheme. Learn Scheme with our recommended free books and free tutorials.


Related Software

Scheme Static Site Generators
HauntTreat websites as Scheme programs
HydeStatic site generator written in Chicken, a dialect of Scheme
sph-web-publishStatic site generator written for Guile
alley-catChicken Scheme library for generating static websites

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
4 Comments
Oldest
Newest Most Voted
Diane Raquin
Diane Raquin
2 years ago

Hi, thank you so much for this website, speaking as a blogger myself I love it; it really seems to fit to my values and use case! I always strive to apply high standards to the contents I consume and produce, and I have a lot of respect for what’s on my screen right now.

I’ve heard of a pandoc-like Scheme library that was user to e.g. build the static packages.guix.gnu.org website, would you please consider linking to it? And there’s no such thing as a public collection of haunt themes yet, is it?

Thank you so much for your work, I can’t believe I didn’t know about your website for so long! If you don’t mind, I’m going to look for a donations page, if you have one?