The Lykah package

[Tags:library, mit, program]

Build websites using the full power and flexibility of Haskell.

See Readme on Github.

[Skip to Readme]


Versions 0.0.1, 0.0.2 (info)
Dependencies array (>= && <0.6), base (>= && <4.10), blaze-markup (>=0.7.1 && <0.8), blazeT (>=0.0.5 && <0.1), clay (==0.12.*), containers (>= && <0.6), directory (>= && <1.3), filepath (>= && <1.5), filesystem-trees (>= && <0.2), formatting (>=6.2.4 && <6.3), ListLike (==4.5.*), mtl (>=2.2.1 && <2.3), old-locale (>= && <1.1), pandoc (>=1.17.1 && <1.18), regex-compat (>=0.95.1 && <0.96), regex-posix (>=0.95.2 && <0.96), safe (>=0.3.10 && <0.4), split (>= && <0.3), template-haskell (>= && <2.12), text (>= && <1.3), time (>= && <1.7), transformers (>= && <0.6) [details]
License MIT
Author Johannes Gerer
Maintainer Johannes Gerer <>
Stability Experimental
Category Web
Home page
Bug tracker
Uploaded Thu Jan 26 20:18:04 UTC 2017 by johannesgerer
Distributions NixOS:0.0.2
Downloads 38 total (9 in the last 30 days)
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]




Maintainer's Corner

For package maintainers and hackage trustees

Readme for Lykah

Readme for Lykah-0.0.2

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.