`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.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b217936c85dd0302201db1bcb077568ae6482d00ab1a5efd9b4914d144cf0668 |
|
MD5 | bd8034a8fa65d47e60e1ec890ce207d8 |
|
BLAKE2b-256 | 5801582f36d191fefd591400c9bedfc5931e9210673534ccd4a97b7ebb445ac5 |