eleith 5989145d3a
ci/woodpecker/pr/cli Pipeline was successful
ci/woodpecker/pr/config Pipeline was successful
ci/woodpecker/pr/db Pipeline was successful
ci/woodpecker/pr/web Pipeline was successful
ci/woodpecker/pr/worker Pipeline was successful
ci/woodpecker/push/cli Pipeline was successful
ci/woodpecker/push/config Pipeline was successful
ci/woodpecker/push/db Pipeline was successful
ci/woodpecker/push/web Pipeline was successful
ci/woodpecker/push/worker Pipeline was successful
ci/woodpecker/tag/cli Pipeline was successful
ci/woodpecker/tag/worker Pipeline was successful
ci/woodpecker/tag/web Pipeline was successful
chore: release GoTo 0.0.2
2026-11-25 19:43:12 -08:00
2026-11-25 19:43:12 -08:00
2026-11-25 19:43:12 -08:00

GoTo

A small, self-hosted URL shortener. Give a long address a short name and get on with it.

GoTo admin overview showing domain and link counts, visit totals, and the domain list

One YAML file can run links for several domains. The admin shows what’s configured and how often links are used. To change a link, edit the file.

Get started

You’ll need Docker Compose and an HTTPS reverse proxy that can reach the Docker host’s loopback address, such as a proxy running directly on that host. Download the Compose file. No checkout or build needed.

mkdir -p goto/config goto/data
cd goto
curl -fsSLo compose.yaml https://git.eleith.com/eleith/goto/raw/branch/main/compose.yaml

Save this as config/goto.yaml. Replace go.example.org with your host in both places.

url:
  app: https://go.example.org

auth:
  secret: '${GOTO_AUTH_SECRET}'
  credentials:
    username: admin
    password: '${GOTO_ADMIN_PASSWORD}'

domains:
  go.example.org:
    links:
      /hello:
        url: https://example.org

Put GOTO_ADMIN_PASSWORD and GOTO_AUTH_SECRET in .env beside compose.yaml. Pick a password and generate a secret with openssl rand -hex 32. Keep the same secret across restarts. Make data/ writable by the containers (UID 1000 on Linux) and back it up.

Point your HTTPS proxy at http://127.0.0.1:3000. Preserve Host and have the proxy set X-Real-IP. The worker isn’t exposed.

docker compose up --wait

Open /hello on your host. It should send you on your way. Sign in at /admin to see the link. The worker prepares Analytics in the background, so don’t stare at the chart waiting for that first click.

Documentation

S
Description
No description provided
Readme
3.6 MiB
1 Stars 1 Watchers 0 Forks
Languages
TypeScript 83%
Svelte 9.3%
JavaScript 5.5%
CSS 1.2%
Dockerfile 0.7%
Other 0.3%