Skip to content
Go to file

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

This is a robust blogging template for sharing the results of a bookworm installation.

Rather than just throw up a few links on twitter, or struggle with screenshotting them, this lets you write posts directly in markdown and structure bookworm charts as bookworm API calls for full documentability, extensibility, and interactivity. Just by including a Bookworm codeblock in your markdown like this:

    ```bookworm width=500 height=1200


It will work fine as another blog as well not focused on bookworm, but I'd really think of it primarily as a way to engage in public, exploratory data analysis in a way where your conclusions are immediately shareable and manipulable by anyone out there. Just use the project from which this is forked if you want something else.

I hope to set up at least two: one on my personal server, and another for the Hathi Trust.

I'm using Bootstrap on top of hakyll--which is a slightly odd combination--because hakyll gives the easiest access to full pandoc templates (and is much faster than jekyll to boot), while bootstrap means that it will be much easier to drop in user-oriented controls where useful (including things like changing the word searched for.).

Future plans

  1. I'd really like to also spin up a phantomjs workflow which will cache local png versions of each chart as well, solving some of the important persistence issues that face database-oriented services like this one. To keep this fully in Haskell, rather than use a Make architecture we'll probably call phantomjs directly from the haskell interpreter on encountering a code block.


Anything in pages/ or posts/ is copyright Ben Schmidt, all rights reserved. The material in js/ and css/ comes under a variety of licenses. Materials specific to the creation of this site: including the contents of templates/ site.hs, are under the MIT license.


Many of those elements are taken from Stephen Diehl's Hakyll Bootstrap template.; he should be acknowledged in the supporting apparatus of any derivative works.


A Hakyll-powered static blog template for sharing bookworm results.




No releases published
You can’t perform that action at this time.