Skip to main content

`go_to_github` is a tool to test whether `github.com` is reachable right now. If not, it will work it out automatically.

Project description

go_to_github is a tool to test whether github.com is reachable right now. If not, it will work it out automatically.

Notice

It might be in need for people who come from countries blocking github. This project only applies to macOS and Linux.

Usage

sudo gotogithub

Don't forget sudo. Github ip will be updated if the program detects that you cannot connect to github.com. The update happens in your /private/etc/hosts file, which requires root user.

Meanwhile, before any modification, your original hosts file will be copied to ~/.local/share/gotogithub/hosts. If the program fails to connect to github in the end, it will restore the backup hosts file automatically to /private/etc/hosts.

Installation

pip install go_to_github

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

go_to_github-0.0.18.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

go_to_github-0.0.18-py3-none-any.whl (5.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page