First Post


author: Daniel Hjort date: 2011/08/05 location: Phnom Penh, Cambodia tags: bliki, git

I'm a fan of the concept of Plain Text Wikis like Mark Reid's Text mate plugin link and the PotWiki plugin for VimEditor. I've been keeping one on my laptop for my personal reference for about a year using both plugins on the same set of files. It's great to have something that simple working that great. Just recently I pushed the Wiki to a private GitHub repo. So now my Wiki is Gitified and I'm a little happier then before.

Now it would be mighty nice to put my blog in GitVersionControl to. So how about a Plain Text Blog stored in a git that I can push to my webserver? Sounds neat. Of course you're never first with an idea. Toto does this but seem a bit too heavyweight for me. Ruby? Gems? Heroku? Too much. I'm thinking the dependencies should be limited to Git and basic UnixTools. It will be a static page (no comments or online editing) but that's fine for me.

I will however steal the Toto format of having a YAML header for blog posts. This post have the header:

title: First Post
author: Daniel Hjort
date: 2011/08/05
location: Phnom Penh, Cambodia

I'll save it as FirstPost.txt (making it a linkable wikipage) and it will be the first commit to my blog git. I use MarkDown to format the posts and wikipages. I'll add a "tags:" section with comma separated tags.

Keeping the notion on Plain Text Wikis and this will really be a Plain Text BLIKI! CamelCase words will link to files like CamelCase.txt if I use a editor plugin like mentioned above (or to CamelCase.html after being pushed to a server and converted from MarkDown to HTML). I imagine the serverside script also will generate an indexpage with links to latest blog entries, to an archive and to all wikipages. The webserver representation of the Bliki will be an static artifact but the Bliki will live in the text editor and in Git. If collaboration is needed you can let different people push/pull from the same repo.


[ IndexPage | Edit on Github | Powered by PotBliki | © 2010-2014 Daniel Hjort - CC BY-SA 3.0 | http://danielhjort.net ]

blog comments powered by Disqus