A link consists of a short alias and a destination URL. Click the Create button on the home page, fill in both fields, and save.
For example, creating a link with alias google and URL https://google.com means navigating to https://go.d1m.dev/google will redirect you there.
Each link in the table has action buttons on the right side. Click the pencil icon to edit the alias or URL. Use the delete option in the same menu to remove a link.
Links support $1, $2, etc. placeholders in the URL. Extra path segments after the alias are substituted into these positions.
For example, a link with alias gh and URL https://github.com/$1/$2 means:
https://go.d1m.dev/gh/owner/repo → https://github.com/owner/repoAliases can also contain slashes for namespacing, e.g. alias docs/api with URL https://docs.example.com/api/$1.
Create a link pointing to a GitHub gist raw URL with parameters, then use it as an executable script:
# Create a link with alias "gist" and URL:
# https://gist.githubusercontent.com/$1/raw/$2
# Then run it locally:
curl -sL https://go.d1m.dev/gist/{user}/{hash} | bash
# Or:
bash <(curl -sL https://go.d1m.dev/gist/{user}/{hash})This works because the app performs an HTTP 302 redirect, so any tool that follows redirects can use go links programmatically.
You can configure your browser to treat the address bar as a go links launcher by adding a custom search engine.
chrome://settings/searchEnginesgo (or any short keyword you prefer)https://go.d1m.dev/%sAfter setup, type go in the address bar, press Tab, then type your alias to navigate directly.
go)https://go.d1m.dev/%sType your keyword in the address bar followed by the alias to navigate directly.
Prerequisites:
# Start PostgreSQL
docker-compose up -d db
# Run database migrations
export DATABASE_URL=postgres://dev:dev@127.0.0.1:5432/golinks?sslmode=disable
dbmate up
# Install dependencies
yarn
# Start development server
yarn devCreate a .env.local file based on .env.example. To disable authentication, set AUTH0_ENABLED=false.
docker build . -t golinks
docker run -p 3000:3000 --env-file .env golinksA pre-built image is available at armand1m/golinks.
fly deploy
fly secrets set DATABASE_CONNECTION_STRING=...
fly secrets set AUTH0_DOMAIN=...See fly.toml for the deployment configuration.
Kubernetes manifests are available in the ./kubernetes directory of the repository, including Cloud SQL proxy setup and secrets configuration.
The source code is available at github.com/armand1m/golinks. The project is licensed under MIT. Contributions, bug reports, and feature requests are welcome via issues and pull requests.