Gopkg which can be used as a middleware or standalone app allows you to create vanity Go import urls.
From relese:
- Download lasted from Relese page with fitting your platform.
- Unzip the archive.
From source code:
go get go.zoe.im/gopkg
First, start server with command ./gopkg [-http=localhost:PORT -index=YOUR_SITE HOST/USER]
.
For example:
./gopkg -index=https://zoe.im -http=:8080 github.com/jiusanzhou
Then, use caddy
or Nginx
proxy YOUR_DOMAIN
to localhost:PORT
.
go get go.zoe.im/gopkg
- Caddy pluginable
- More test
- Pipe with CI
- Badges in README
- Support special version