fork of https://gitorious.org/shapado/shapado