refined github api, and date util