Vanity package URL in an instant
Automatically provisioned SSL, redirects and more coming: download statistics, documentation publishing
Get started by requesting an authentication code
You will receive an authentication code & instructions to configure your DNS records
If you lost your code, you can re-request it as well
Frequently asked questions
Yes, it is free. The core service will always remain free. Extended functionality and premium service levels might be added in the future.
If you can't put your website behind Cloudflare, it will be then best to use a subdomain. For inspiration, here are some ideas:
go.domain.tld, code.domain.tld, pkg.domain.tld, oss.domain.tld
Another option would be to go for an entirely new domain. Let's say you have
mycompany.orgor something like
mycompany.codeswill be a good fit.
In the future, we might offer better support for existing website augmentation, but this is not a case we support yet.
Domain Type Value Notes domain.tld TXT Powered by Gopkg.co Required domain.tld TXT gopkg auth code Required. You will receive this code by email domain.tld A 22.214.171.124 Required domain.tld TXT gopkg import <package prefix> <git> <URL> As described in Remote import path,
domain.tld TXT gopkg source <package prefix> <home> <directory> <file> Optional. As described in Source Code Links,
domain.tld TXT gopkg redirect <package prefix> <URL> Optional. Will redirect matching prefixes to given URLs.
Gopkg is backed by DNS records of publisher's own domain. We have no control or authority over these, and one can easily verify authenticity of what Gopkg serves by comparing it to the output of
host -t TXT <domain.name>or a similar command.
If it will come to this, not to worry! Since domains are controlled by you, you can simply fall back to self-hosting. To make it even easier, in the event we do have to stop operations, the source code for our backend will be released as open source to enable smooth transition to self-hosting.