talira

A static website compiler library in Haskell

open sourceBSD-3-Clausefree

Hakyll is a Haskell library for generating static websites, aimed mostly at small-to-medium sites and personal blogs. You write content in the format you prefer, describe how it compiles in a Haskell embedded DSL configured in the style of xmonad, and Hakyll builds the HTML to upload. Its Pandoc integration gives Markdown and TeX support with syntax highlighting. It is installed from Hackage with cabal or stack, and free under the BSD 3-Clause licence.

Problems it solves

  • build my personal blog as a static site and configure it in Haskell
  • a static site generator I can extend with real code instead of templates alone
  • publish Markdown and LaTeX notes as a fast static website

Features

  • static site generation as a Haskell library
  • compilation rules in a Haskell embedded DSL
  • pandoc integration for Markdown and TeX
  • syntax highlighting
  • content in any format pandoc reads
  • install with cabal or stack

Alternatives

The same job

These do what Hakyll does.

  1. Hugo The world's fastest framework for building websites.
  2. Publii Free open source desktop CMS that builds static websites and publishes them to your own hosting

Compare Hakyll with the top 3