A static website and blog generator

Latest on Hackage:0.0.2

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow to host generated Haddocks.

MIT licensed by Johannes Gerer
Maintained by Johannes Gerer

Lykah Build Status Hackage

100% native Haskell, static (for now) website and blog generator library.

Build websites in a HTML monad with access to the site’s and other context information (powered by BlazeT).

Among other things, this enables smart links. The software will automatically include files that were actually referenced in the HTML; making broken (internal) links impossible.

Comparison with other projects

In contrast to yst, there is no (yaml) configuration, instead the website is build in actual Haskell, as a value of type Website.

hakyll treats the content — be it HTML or any other format — as a blackbox, which leaves a lot of Haskell’s potential untapped. Lykah could, however, profit from hakyll’s comfortable routing and file copying.

Current state

It is an experimental state and only powers my own website I would be delighted to hear back from other users.

Currently, it tries to find a good balance between generality and conciseness. Other things, like processing of external (static) files, were of no priority to me, but can be easily accomplished since the website can to anything you can to with Haskell …

At this stage, code says more than a thousand READMEs, so simply check it out.

Usage and Example

stack build  #only once to install dependencies

stack runghc -- -isrc src/Main

This will build the website in the output folder.


See source and docs on Hackage.

comments powered byDisqus