Go vanity server
Concepts1
- VCS is Version Control System (such as 'git')
- Repo root is the root path the source code repository (such as 'https://github.com/livetribe')
- Domain is the internet address where the Go Vanity server is hosted (such as
m4o.ioorl7e.io). Domain is deduced from HTTP request. - Path is the path component of the Go package (such as
/cmd/tcpproxyinkkn.fi/cmd/tcpproxy)
- Redirects browsers to
pkg.go.dev, configurable togodoc.org - Redirects Go tool to VCS
- Redirects HTTP to HTTPS
- Configurable logger which is fully compatible with standard log package. Stdout is default.
go get l7e.io/vanity
1: Inspired by kkn.fi/vanity.