turbo-vanityURLs - golift.io source
This is the source that runs https://golift.io.
This can be run anywhere, really. Packages and builds for lots of things are provided. The repo auto-builds packages for freebsd, linux, binaries for macOS and windows. A homebrew formula and a Docker image are also available, and easy to use.
- Linux users can use this script to download and install the latest package for their system.
Linux repository hosting provided by
This works on any system with apt or yum. If your system does not use APT or YUM, then download a package from the Releases page. Install the Go Lift package repo and Turbo Vanity URLs with this command:
curl -s https://golift.io/repo.sh | sudo bash -s - turbovanityurls
- Docker users can pull directly from the image built on Docker.
docker pull golift/turbovanityurls
The config file is located at
/config.yaml, pass that path into your container.
- macOS users can try it out using homebrew.
brew install golift/mugs/turbovanityurls
App Engine: Run
glcoud app deployafter you edit app.yaml.
FreeBSD users can find a package on the Releases page.
Differences from https://github.com/GoogleCloudPlatform/govanityurls:
- Wildcard Support Example: You can point a path (even /) to a github user/org. #25
- App Engine Go 1.12.
- Moved Templates to their own file.
- Cleaned up templates. Add some css, a little better formatting.
- Pass entire
- Exported most of the struct members to make them usable by
- Reused structs for unmarshalling and passing into templates.
PathConfigto a pointer; can be accessed as a map or a slice now.
- Embedded structs for better inheritance model.
max_ageper path instead of global-only.
-c(config) flags. #20
- Root path repos work now. #23
- Better auto-detection for repo type. #26 and #27
- See the new manual, and the example config file.
- Path redirects. Issue 302s for specific paths.
- Useful for redirecting to download links on GitHub.
- More customization for index and package pages.
- Configurable descriptions and logos.
- Better CSS/HTML templates.
Incorporated a badge package for data collection and return. In other words this app can collect data from "things" (like the public grafana api) and store that data for later requests. I use this to populate badge/shield data for things like "grafana dashboard download counter" - https://github.com/golift/badgedata. It's 3 lines of code you can pull out real easy. You can also disable badgedata in the config file.
The following fine folks are providing their services, completely free! These service integrations are used for things like storage, building, compiling, distribution and documentation support. This project succeeds because of them. Thank you!