https://github.com/marcbachmann/github-badges
https://github.com/marcbachmann/github-badges
Last synced: 13 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/marcbachmann/github-badges
- Owner: marcbachmann
- Created: 2017-05-13T14:10:36.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T17:28:22.000Z (over 2 years ago)
- Last Synced: 2025-01-07T20:07:54.329Z (over 1 year ago)
- Language: JavaScript
- Size: 40 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Github badges
### Example
The current milestone of facebook/react

The next milestone of facebook/react

### 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
```