The bamboo package

[Tags:gpl, library]

A simple blog middleware on hack


[Skip to Readme]

Properties

Versions 2009.4.22, 2009.4.23, 2009.4.25, 2009.4.26, 2009.4.27, 2009.4.30, 2009.4.50, 2009.4.52, 2009.5.13, 2009.5.18, 2009.5.18.1, 2009.5.18.2, 2009.5.19, 2009.5.22, 2009.5.23, 2009.5.27, 2009.6.6, 2009.6.8, 2009.6.9, 2009.6.25, 2009.8.16, 2009.11.1, 2010.1.1, 2010.1.26, 2010.2.25
Change log changelog.md
Dependencies base (==4.*), base64-string, bytestring, cgi, containers, data-default (>=0.2), directory, filepath, gravatar (>=0.3), hack (>=2009.5.19), hack-contrib (>=2009.6.9), haskell98, hcheat (>=2009.5.13), mps (>=2009.5.13), mtl, network, old-locale, old-time, pandoc, parsec (>=2), parsedate (>=3000.0.0), process, time, unix, utf8-string (>=0.3.3), xhtml, zlib [details]
License GPL
Author Wang, Jinjing
Maintainer Wang, Jinjing <nfjinjing@gmail.com>
Stability Unknown
Category Web
Home page http://github.com/nfjinjing/bamboo/tree/master
Uploaded Tue Jun 9 15:06:50 UTC 2009 by JinjingWang
Distributions NixOS:2010.2.25
Downloads 4833 total (96 in the last 30 days)
Votes
0 []
Status Docs not available [build log]
All reported builds failed as of 2015-12-10 [all 6 reports]

Modules

  • Bamboo
    • Controller
      • Bamboo.Controller.Application
      • Bamboo.Controller.Comment
      • Bamboo.Controller.Env
      • Bamboo.Controller.Helper
      • Bamboo.Controller.Index
      • Bamboo.Controller.Post
      • Bamboo.Controller.Search
      • Bamboo.Controller.Static
      • Bamboo.Controller.Tag
      • Bamboo.Controller.Type
    • Bamboo.Env
    • Bamboo.Helper
      • Bamboo.Helper.ByteString
      • Bamboo.Helper.PreludeEnv
      • Bamboo.Helper.StateHelper
      • Bamboo.Helper.Translation
    • Model
      • Bamboo.Model.Comment
      • Bamboo.Model.Counter
      • Bamboo.Model.Env
      • Bamboo.Model.Helper
      • Bamboo.Model.Post
      • Bamboo.Model.Static
      • Bamboo.Model.Tag
    • Bamboo.Type
      • Bamboo.Type.Class
      • Bamboo.Type.Common
      • Bamboo.Type.Config
      • Bamboo.Type.Extension
      • Bamboo.Type.Pager
      • Bamboo.Type.Reader
      • Bamboo.Type.State
      • Bamboo.Type.StaticWidget
      • Bamboo.Type.Theme
      • Bamboo.Type.ThemeInterface

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for bamboo

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

  • 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 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

Links