golink is a private shortlink service for your tailnet. It lets you create short, memorable links for the websites you and your team use most. If you're new to golink, learn more in our announcement blog post. If you were looking for a SaaS go link service that doesn't use Tailscale, you might be thinking of golinks.io or trot.to
To build from source and run in dev mode:
go run ./cmd/golink -dev-listen :8080
golink will be available at http://localhost:8080/, storing links in a temporary database, and will not attempt to join a tailnet.
The equivalent using the pre-built docker image:
docker run -it --rm -p 8080:8080 ghcr.io/tailscale/golink:main -dev-listen :8080
If you receive the docker error unable to open database file: out of memory (14)
,
use a persistent volume as documented in Running in production.
After updating dependencies and making changes to go.mod
and go.sum
, flake.nix
needs
to be updated to reflect the new SHA256 of the go dependencies. This can be done by running: