bamboo-2009.5.22: readme.md
# Bamboo: a simple blog middleware on hack
Bamboo is a port of [Panda](http://github.com/nfjinjing/panda/tree), but runs on top of Hack. It's an experimental project but quite portable.
## Features
### plain text as data source
db
|---- blog
| |---- 08-09-01 first post
| |---- 09-09-02 learn javascript.html
|
|---- tag
| |---- programming
| |---- funny
|
|---- static
|---- About
### simple config
blog_title = C大调
blog_subtitle = 野猫不吃薯片
host_name = jinjing.easymic.com
author_email = nfjinjing@gmail.com
navigation = About
per_page = 7
sidebar = Blogroll.md
favicon = bamboo_icon.png
### hacker friendly
* posts are in plain text
* SCM for publishing / data managing ( not really a feature, but a design goal from the beginning )
* blindly follows the KISS principle from code to UI: be a simple blog, no more no less
## Demo
### blog
[Jinjing's blog](http://jinjing.easymic.com) source is available as a git repo:
git clone git://github.com/nfjinjing/jinjing-blog.git
Or [browser](http://github.com/nfjinjing/jinjing-blog/tree/master) online
Note: This blog is using the Kibro handler. It's running under lighttpd and in fcgi. Definitely more robust, but require some set up work.
### config
[jinjing's blog config file](http://github.com/nfjinjing/jinjing-blog/blob/401a541443d88bbf8d844874c1473d4b3bc81784/config/site.txt)
## Easy install in 3 steps
### 1. tokyo-cabinet (used for caching)
#### Mac
port install tokyocabinet
#### Arch
yaourt -S tokyocabinet
#### other distro
Just find this tokyo-cabinet package and install it :)
### 2. Bamboo Launcher
#### update cabal
cabal update
#### install bamboo
cabal install happy
cabal install bamboo-launcher
### 3. Run
mkdir myblog
bamboo-launcher
It should be running on [http://127.0.0.1:3000](http://127.0.0.1:3000) now.
## Links
* [Hack](http://github.com/nfjinjing/hack)
* [Hack Contrib](http://github.com/nfjinjing/hack-contrib)