Bytepawn
Marton Trencseni on Software, Systems and other Ideas.
Introducing PrimoBlog
2009/01/08
In an effort to get rid of compromisable targets on my server, I decided to roll my own "blog engine": PrimoBlog. As the name implies, it's quite primitive. It consists of 123 lines of shell code plus the framing HTML and CSS code. It generates static HTML and RSS from text files, so no PHP or Mysql is involved.
The decision was inspired by Colin Percival:
As many people who know me will be aware, I tend towards minimalism in computer software. As a result, when I decided to start writing this, I looked around for the simplest blogging software I could find (it was NanoBlogger) and decided that it was far too complex for my taste. So I wrote my own.
I don't need most of the features of a full blown blog engine like WordPress.
- PrimoBlog generates a static index of all articles. I think grouping by year and month is mostly useless.
- For comments, I use disqus, which only involves placing some JavaScript at the end of the HTML. It's a free lunch, really.
- Using anything but Google for searching is stupid anyways.
- Nobody cares about categories and tags and nifty per-category icons. Contents over style.
- Marton Trencseni
blog comments powered by Disqus
