`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
This project only applies to macOS
and Linux
.
It might be in need for people who come from countries blocking github.
Usage
On your terminal:
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for go_to_github-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9dceca1cc095ad36a75f2d7155fad564c73437f1b5eb99a29ff5f33dc66dca7e |
|
MD5 | 666012d0b68f59b8a6171f68f9200c2a |
|
BLAKE2b-256 | c435dcfcd56cde2c76887743ac0bab008c140d55b3dea2750995ed1a07482b92 |