/golink

A server for creating customized HTTP redirects.

Primary LanguagePythonMIT LicenseMIT

Golink

go/link

A server for creating custom HTTP redirects.

Golinks allow assigning a short name for a URL prefix:

Once created, anything placed after the name will be appended to the resulting URL used for the redirect:

If you configure your local DNS server to include the Golink server as go, then you can use http://go/example directly in your browser without needing to provide the fully qualified domain name (FQDN) of the server.

Usage

python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt
python3 -m golink.webapp --auth anonymous --database golinks.sqlite

Demo

An instance of the server is running at go.dcoles.net.

Here are some links you can try:

History

Golinks are something I encountered while working as a Google SRE and found terribly useful. Clearly many ex-Googlers have also agreed, with the same basic idea having been re-implemented for use in many large tech companies.

Here's a list of some known public implementations:

License

MIT License