Golang package registry
  • Go 71.4%
  • HTML 25.6%
  • Dockerfile 3%
Find a file
timedout 2b11ac2d18
All checks were successful
Build binaries and images / binaries (push) Successful in 59s
Log full request line
2026-08-26 15:42:57 +01:00
.forgejo/workflows Fix CI 2025-12-02 23:21:26 +00:00
.gitignore Initial commit 2025-12-02 23:19:26 +00:00
Dockerfile Initial commit 2025-12-02 23:19:26 +00:00
entries.example.json Initial commit 2025-12-02 23:19:26 +00:00
go.mod Initial commit 2025-12-02 23:19:26 +00:00
index.html Fix margin being excessive on smaller screens 2025-12-09 03:05:16 +00:00
LICENSE Initial commit 2025-12-02 23:19:26 +00:00
main.go Log full request line 2026-08-26 15:42:57 +01:00
README.md Update README 2026-08-26 15:35:16 +01:00
template.html Add links to source in html 2025-12-02 23:39:10 +00:00

Timedout Registry

Timedout Registry (https://go.timedout.uk) is a tiny (0 dependency) Go server that acts as a registry for Golang packages. Simply throw a JSON object containing {slug: {repo_url: "...", import_path: "..."}} at it, and it will serve up the appropriate meta tags for go get et al. to work.

Usage

Clone this repo (git clone https://git.nexy7574.co.uk/nex/go.timedout.uk.git), build main.go (go build .), throw something into entries.json (see entries.example.json for an example), and run the resulting binary.

Or, use Docker: docker run -it -p 8080:8080 -v ./entries.json:/entries.json:ro nexy7574/timedout-registry:latest

Configuration

You can use -help to list available flags. The following environment variables also exist (command flags take precedence):

Environment Variable Description
REGISTRY_LISTEN_ADDRESS The address to listen on (e.g. :8080).
REGISTRY_ENTRY_PATH The path to the entries.json file.
REGISTRY_TRUSTED_PROXY The IP address of the reverse proxy (the IP which will be trusted to set X-Forwarded-For.