Readme for bamboo-2009.6.9

Bamboo: a simple blog middleware on hack

Bamboo is a port of Panda, 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

Demo

blog

Jinjing's blog source is available as a git repo:

git clone git://github.com/nfjinjing/jinjing-blog.git

Or browser 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

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
cd myblog
bamboo