vanity
Go vanity server
1
Concepts- 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.io
orl7e.io
). Domain is deduced from HTTP request. - Path is the path component of the Go package (such as
/cmd/tcpproxy
inkkn.fi/cmd/tcpproxy
)
Features
- 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.
Installation
go get l7e.io/vanity
Specification
1: Inspired by kkn.fi/vanity.