go/ links that live in a file in your repo (open source)
Learn how a tiny file and an extension give you version‑controlled short URLs for any repository.
The extension creates go/ shortcuts directly from a GOLINKS file in your repository, and each new line appears as a live link after you push. No admin UI is needed; the file itself drives the behavior. The result is instant, version‑controlled short URLs for any code location.
The GOLINKS file lives at the repository root, one alias per line, like "api‑docs When the extension loads a page on twigg.vc, it fetches the raw file from the current commit, parses each line, and registers a go/ route that redirects to the target URL. Because the file is part of the repo, every commit creates a new version of the link set automatically.
Adding a link is as simple as editing the text file, committing, and pushing. The extension watches for repository changes, so after the push the new go/ alias resolves without any reload of a server or database migration. All link definitions are stored in Git, giving you full history, diff, and rollback capabilities.
For developers, this means you can embed short, memorable URLs in documentation, issue comments, or CI scripts without maintaining a separate link service. Updating a link only requires a standard Git workflow, and the browser extension handles the redirect logic on the client side.
TakeawayStore short URL definitions in a GOLINKS file and let a browser extension turn them into live, versioned shortcuts.