https://github.com/nickbp/kapiti/