`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
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.18-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1dcce28bf87fa47ea1120a0184cda043c16a2af32e07b1ab0b20c6ea29311bd8 |
|
MD5 | adf2474f65698b7ef2f26d4ad84c127d |
|
BLAKE2b-256 | a540613d3aa02a7aa2cfdfdec86eeacad5524fbfc6ff656882f4446816dd6405 |