This service stores and serves URL redirects. I stole the idea from when I worked at LinkedIn who apparently stole it from Google.
By itself, a shared URL shortening service is stupid useful. Want to visit a thing? Type go/thing
into your browser and hit enter.
It is honestly little things like this make everyone's life far easier.
Where I work we generally follow a pattern of go/$thing
should take you to whatever $thing
is. Here are a few examples:
- Jira is at
go/jira
- Github is at
go/gh
,go/github
,go/g
, etc - Our monitoring dashboards are at
go/graphs
,go/dashboards
, etc
It is perfectly fine to have duplication, the goal is that all the different ways folks think will all be taken to the right place.
You can also do fancier things like:
go/pr/1234
orgo/#1234
will take you directly to PR #1234go/jira/ABC-1234
,go/ABC-1234
to go directly to a specific jira issuego/calendar/$name
will take you to a person's calendar
Roughly, to make this work:
- Build and host go-shorten somewhere
- Setup a DNS entry to point to it (e.g.
go.corp.example.com
) - Configure any clients you have to include
corp.example.com
in their DNS search suffix list - Troubleshoot :P
I forked this project from https://github.com/didip/shawty because I liked how they laid out their project but I wanted to add a bunch more features and productionize it a bit more than was within scope for the original project.