Skip to content
A simple server for custom Go import URLs
Go
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
go.mod
main.go
vanityd.conf

README.md

Vanityd

This is a simple server that allows the go get command to retrieve packages via custom "vanity" URLs. For example, this package can be retrieved from https://github.com/blinskey/vanityd by running go get go.linskey.org/vanityd, and navigating to https://go.linskey.org/vanityd in a browser will bring you to the repository on GitHub via a 302 redirect.

Installation

  • Create an /etc/vanityd.conf file defining your settings. A sample file is included in this repository.
  • Start the vanityd server.
  • Configure your web server to forward Go import URL requests to vanityd.
You can’t perform that action at this time.