github.com is too long to type. Run this simple web server on your computer so you can type gh/vilhelmprytz into your web browser instead of github.com/vilhelmprytz.
Add this line to the /etc/hosts file. Replace the keyword gh with something else if you want something else.
127.0.0.1 gh
The easiest way is if you got Docker installed locally. You can simply get it running on port 80 with one command.
docker run --restart unless-stopped --name github-local-redirect -d -p 80:5000 prytz/github-local-redirect:latest
Make sure you have the required dependencies installed before continuing.
pipenv extension (install with pip install pipenv)Once you got the dependencies, run this as non-root.
bash <(curl -s https://raw.githubusercontent.com/vilhelmprytz/github-local-redirect/master/setup.sh)
It will install the app for you.
Created by Vilhelm Prytz.
Content type
Image
Digest
Size
78.3 MB
Last updated
over 5 years ago
docker pull prytz/github-local-redirect