Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/khlieng/ghrp

GitHub release proxy, provides stable links to assets in the latest releases of GitHub repos.
https://github.com/khlieng/ghrp

Last synced: 7 days ago
JSON representation

GitHub release proxy, provides stable links to assets in the latest releases of GitHub repos.

Awesome Lists containing this project

README

        

# ghrp

URL format: /`owner`/`repo`/`query`

The first asset whose name contains `query` is returned.

Example URL: [https://release.khlieng.com/khlieng/dispatch/linux_x64](https://release.khlieng.com/khlieng/dispatch/linux_x64)

## Usage

```bash
go get github.com/khlieng/ghrp
GITHUB_TOKEN= ghrp
```

#### Environment variables

- `GITHUB_TOKEN` A GitHub token, no scopes needed, this is required
- `PORT` Port to listen on, defaults to 3001