Add support for github endpoints. Fix #46