Skip to content
A simple Go web server that redirects a configured list of paths to the latest release asset on a GitHub repository.
Go
Branch: master
Clone or download
kdrag0n Handle errors when reading configuration file
Signed-off-by: Danny Lin <danny@kdrag0n.dev>
Latest commit 78b7c58 Jul 28, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Add initial version of GitHub Redirector Jul 29, 2019
LICENSE
README.md Add license and readme Jul 29, 2019
example_config.json Add initial version of GitHub Redirector Jul 29, 2019
go.mod Add initial version of GitHub Redirector Jul 29, 2019
go.sum Add initial version of GitHub Redirector Jul 29, 2019
main.go Handle errors when reading configuration file Jul 29, 2019

README.md

GitHub Release Redirector

A simple Go web server that redirects a configured list of paths to the latest release asset on a GitHub repository. Useful for maintaining one link that always points to the latest release so that downloading is easy and painless for end users who have trouble navigating GitHub, as well as automated procedures such as CI pipelines.

Setup

Create a configuration file that lists the files to serve and the GitHub repository to redirect each file to. The program will attempt to read config.json by default, but this can be configured using a command-line argument. A sample configuration is available as example_config.json.

You can’t perform that action at this time.