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

https://github.com/marcbachmann/github-badges


https://github.com/marcbachmann/github-badges

Last synced: 13 days ago
JSON representation

Awesome Lists containing this project

README

          

# Github badges

### Example

The current milestone of facebook/react

![Current milestone](https://github-badges.now.sh/facebook/react/milestones/current.svg)

The next milestone of facebook/react

![Next milestone](https://github-badges.now.sh/facebook/react/milestones/next.svg)

### Use
```bash
npm install
GITHUB_TOKEN=YOUR_TOKEN node index.js

# To load some images
curl http://localhost:8080/owner/repo/milestones/current.svg
curl http://localhost:8080/owner/repo/milestones/next.svg
curl http://localhost:8080/owner/repo/milestones/2.svg # or query by index

# To redirect to the current milestone
curl http://localhost:8080/owner/repo/milestones/current
curl http://localhost:8080/owner/repo/milestones/next
```