remove github_api dep and replace with stdlib