Go Vanity URLs
 
 
 
Go to file
jolheiser 6d7150e0a2
Add GitLab support
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2020-09-10 13:43:38 -05:00
flags Add GitLab support 2020-09-10 13:43:38 -05:00
router Add GitLab support 2020-09-10 13:43:38 -05:00
service Add GitLab support 2020-09-10 13:43:38 -05:00
version Initial Overhaul 2020-09-10 12:27:46 -05:00
.gitignore Initial Overhaul 2020-09-10 12:27:46 -05:00
Makefile Initial Overhaul 2020-09-10 12:27:46 -05:00
README.md Initial Overhaul 2020-09-10 12:27:46 -05:00
config.sample.toml Initial commit 2020-02-20 22:39:03 -06:00
go.mod Add GitLab support 2020-09-10 13:43:38 -05:00
go.sum Add GitLab support 2020-09-10 13:43:38 -05:00
main.go Initial Overhaul 2020-09-10 12:27:46 -05:00
vanity.service Initial Overhaul 2020-09-10 12:27:46 -05:00

README.md

Vanity

A simple web service to serve vanity Go imports. Feel free to check it out using my instance.

Configuration

NAME:
   vanity - Vanity Go Imports

USAGE:
   vanity [global options] command [command options] [arguments...]

VERSION:
   0.1.0+2-g49cd123

COMMANDS:
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --config value     Path to a config file (default: ".vanity.toml") [$VANITY_CONFIG]
   --port value       Port to run the vanity server on (default: 7777) [$VANITY_PORT]
   --domain value     Domain, e.g. go.domain.tld [$VANITY_DOMAIN]
   --service value    Service type (Gitea, GitHub, GitLab) (default: "gitea") [$VANITY_SERVICE]
   --base-url value   Base URL to service [$VANITY_BASE_URL]
   --namespace value  Owner namespace [$VANITY_NAMESPACE]
   --token value      Access token [$VANITY_TOKEN]
   --include value    Repository names to include (regex) [$VANITY_INCLUDE]
   --exclude value    Repository names to exclude (regex) [$VANITY_EXCLUDE]
   --private          Include private repositories (default: false) [$VANITY_PRIVATE]
   --fork             Include forked repositories (default: false) [$VANITY_FORK]
   --mirror           Include mirrored repositories (default: false) [$VANITY_MIRROR]
   --archive          Include archived repositories (default: false) [$VANITY_ARCHIVE]
   --interval value   Interval between updating repositories (default: 15m0s) [$VANITY_INTERVAL]
   --debug            Debug logging (default: false) [$VANITY_DEBUG]
   --help, -h         show help (default: false)
   --version, -v      print the version (default: false)

Vanity also supports git-import.