2018-06-05 01:22:56 +00:00
2016-10-20 08:32:15 +00:00
2017-05-07 16:27:58 +00:00
2018-01-11 13:02:18 +00:00
2016-10-20 10:00:10 +00:00
2018-01-11 13:59:30 +00:00
2018-01-11 13:54:49 +00:00
2018-01-11 13:50:49 +00:00
2018-06-05 01:22:56 +00:00

Vanity Build Status GoDoc

Concepts

  • VCS is Version Control System (such as Git or Mercurial)
  • VCS root is the root path the source code repository (such as github.com/kare)
  • Domain is the internet address where the Go Vanity server is hosted (such as 9fans.net or kkn.fi)
  • Path is the path component of the Go package (such as /cmd/tcpproxy in kkn.fi/cmd/tcpproxy)

Features

  • Redirects browsers to godoc.org
  • Redirects Go tool to VCS
  • Redirects HTTP to HTTPS
  • Automatic configuration of packages:
    • All packages are redirected with full path to vcsroot.
    • Packages whose path is prefixed with "/cmd/" redirect automatically to vcsroot by stripping the "/cmd" prefix from the package path. Example: Redirect request "kkn.fi/cmd/tcpproxy" to "github.com/kare/tcpproxy"

Installation

go get kkn.fi/vanity

Specification

Description
Library and CLI for hosting custom Golang import paths
Readme Multiple Licenses 193 KiB
Languages
Go 87.5%
Shell 6.3%
Roff 3.2%
Makefile 3%