where mkaz talks tech

Lanyon, a markdown web server

Posted on May 6, 2014

I’ve just released a new bit of software I’ve been developing. Lanyon is a simple web server, which reads directories of markdown files and converts them to HTML and serves. An intuitive and easy way to create a website. It is open source and available on Github at

Lanyon was derived from my static site generator, Hastie which is also written in Go. I grew tired of the multiple steps involved for static sites from creating the content, generating and publishing. Also, a static site generator has a duplicate source tree and a generated tree, with some assets in each. I wanted something to simplify that.

The server is very basic and probably only useful for the most basic of sites. One that is simply pure content organized by directories of files with markdown in it. I ran my personal site using it for several months, until I switched it over to a photography focus.

I’ve enjoyed playing with Go and really like it especially for command-line and systems type applications. I think using it as a web framework is a bit of a stretch, for example the templating is still relatively limited, but for this case as a server works well. The standard library is great and very complete, made writing a web server easy and only one external library is used and that is for the markdown conversion.

Check it out and let me know what you think.