Vanity Package Imports

Setup

Gopkg.link is currently in beta and is provided for free for all users.

For the stable release various pricing tiers will be available including a minimal free tier.
Advanced tiers will feature usage statistics, monitoring and more.

To enable even more projects and the go community to use the service for free we are looking for sponsors.
Please get in touch at gopkg@seetheprogress.net.

Features

Convenient and minimalistic DNS based package imports

Automatic TLS

Automatic Let’s Encrypt based TLS certificates for your vanity package url to make package downloads secure by default.

Globally hosted

Let us worry about the global and fault tolerant backend infrastructure while you control and manage your data within your DNS records.
Using the powerful infrastructure from Google Cloud with a global Anycast IP network.

Open Source

Gopkg.link is open source built on top of Caddy and TXTDirect. The TXT record specification and backend redirect engine are available on GitHub.

Planned Features

Statistics

Full statistics on your package downloads. Made available in real-time.

Monitoring

Monitoring for your import urls. See repository failures, misconfiguration and misuse.

Support

Get priority support right when you need it.

Single repository import

pkg.txtdirect.org

github.com/txtdirect/txtdirect

  • Point your chosen subdomain by CNAME to gopkg.link.
  • Create a TXT record with the subdomain _redirect for your subdomain
  • Use the open TXTDirect spec to set your specific repository
pkg.txtdirect.org             86000 IN CNAME   gopkg.link.
_redirect.org.txtdirect.org   86000 IN TXT     "v=txtv0;to=https://github.com/txtdirect/txtdirect;type=gometa"

pkg.txtdirect.org

github.com/txtdirect/txtdirect

Single repository import
(bare domain)

example.com

github.com/txtdirect/txtdirect

  • Point your chosen root by A-record to 35.201.81.193
  • Point your chosen root by AAAA-record to 2600:1901:0:3f61:0:0:0:0
  • Create a TXT record with the subdomain _redirect for your domain
  • Use the open TXTDirect spec to set your specific repository
example.com             86000 IN A       35.201.81.193
example.com             86000 IN AAAA    2600:1901:0:3f61:0:0:0:0
_redirect.example.com   86000 IN TXT     "v=txtv0;to=https://github.com/txtdirect/txtdirect;type=gometa"

example.com

github.com/txtdirect/txtdirect

Based on