https://github.com/livetribe/vanity
Golang vanity server
https://github.com/livetribe/vanity
go golang vanity vanity-url
Last synced: 3 months ago
JSON representation
Golang vanity server
- Host: GitHub
- URL: https://github.com/livetribe/vanity
- Owner: livetribe
- License: apache-2.0
- Created: 2019-12-28T04:11:00.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-12-27T18:48:43.000Z (over 5 years ago)
- Last Synced: 2026-02-25T04:03:47.220Z (4 months ago)
- Topics: go, golang, vanity, vanity-url
- Language: Go
- Size: 221 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vanity
Go vanity server
[](https://travis-ci.org/livetribe/vanity)
[](https://goreportcard.com/report/github.com/livetribe/vanity)
[](http://godoc.org/github.com/livetribe/vanity)
[](https://coveralls.io/github/livetribe/vanity)
[](https://opensource.org/licenses/Apache-2.0)
[](https://github.com/livetribe/vanity/tags)
## Concepts[1](#inspiration)
- 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` or `l7e.io`). Domain is deduced from HTTP request.
- Path is the path component of the Go package (such as `/cmd/tcpproxy` in
`kkn.fi/cmd/tcpproxy`)
## Features
- Redirects browsers to `pkg.go.dev`, configurable to `godoc.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
- [Go 1.4 Custom Import Path Checking](https://docs.google.com/document/d/1jVFkZTcYbNLaTxXD9OcGfn7vYv5hWtPx9--lTx1gPMs/edit)
___
1: Inspired by [kkn.fi/vanity](https://github.com/kare/vanity).