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 | |
|---|---|
| Haunt | Treat websites as Scheme programs |
| Hyde | Static site generator written in Chicken, a dialect of Scheme |
| sph-web-publish | Static site generator written for Guile |
| alley-cat | Chicken Scheme library for generating static websites |
Read our verdict in the software roundup.
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. |


Please read our Comment Policy before commenting.
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?
Thanks for your comment.
There’s a link to our Donations page on the top right of every page. All donations help us to maintain and improve the site.
Hi, I’ve found it, but I need to go to the bank to reset the mandatory MFA scheme – it might take a few days…
Honestly, you seem to make every right web design decision based on my knowledge, understanding, and experience as a free software user.
Of course I bet your web designers are more skilled than me, but great web design like this is damn too rare on the web, as far as I’m concerned.
Besides this, you know this of course but your website gives no red flag to me – no Disqus service, no consent banner – so I feel that I can recommend it to my English-speaking friends and readers with trust.