Generating static blog using Mono's LameBlog

This blog is generated using Mono LameBlog a tool created by Miguel de Icaza to run his own blog. I stumpled upon it in the mono source tree a couple of years back when i was doing some work with Mono. Without offending anyone I think you can say that LameBlog is not a polished piece of software, but it is actually very convinient for a couple of reasons:

  • Blogentries in your favorite VCS
  • Easy offline editing with your favorite editor
  • Simple hosting setup, only needs to support basic HTML
  • Scalable as it is only HTML

It works by generating the whole site structure from a predefined format of entries stored on your local disk, to do this it uses a template and a configuration file which you can use to tweak apperance (I didn't do this much as you can see). Furthermore the deployment process is hidden in the makefile of the projects and utilizes rsync to push changes to the server.

So to sum up the workflow this it how it looks like when i write a blog post:

vim ~/Activity/2012/jan-16.html
#Write the blog post using HTML and small #-prefixed lines for imagehandling etc
cd Projects/lb
make push

Note that i have my posts stored in VCS but commands not included above.

To make the interactive features of a common blog like commenting and search work third party providers is used, namely a Disqus and a Custom Google Search, its a little bit of an experiment and primarily aimed at making blogging so convenient as possible for me so i might do it more often, but we have to see.

Currently this site is hosted on a free-usuage-tier EC2 micro instance at Amazon with an nginx webserver

Posted on 16 Jan 2012 by Jakob T. Andersen
blog comments powered by Disqus