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
HauntHackable static site generator that lets you treat websites as Scheme programs
HydeStatic site generator written in Chicken, a dialect of Scheme
alley-catChicken Scheme library for generating static websites

Read our verdict in the software roundup.


Best Free and Open Source Software 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.
Subscribe
Notify of
guest
4 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Diane Raquin
Diane Raquin
1 year 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?