Fork of https://bitbucket.org/tido/rainbow