Skip to content
/ golink Public

A server for creating customized HTTP redirects.

License

Notifications You must be signed in to change notification settings

dcoles/golink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A server for creating customized HTTP redirects.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published