GitHub Issue Badge
GitHub issue/Pull Request information in embeddable images.
- Issue#
- Status (open/closed/merged)
- Author or assignee
- Labels
Usage
- Visit /auth to authorize application.
- If you don't like the
repo
scope, visit /auth?only=public to allowpublic_repo
scope only.
- If you don't like the
- Visit
/badge/:user/:repo/:number
to get the badge.- eg. http://github-issue-badge.herokuapp.com/badge/motemen/test-repository/5
Deploy your own
- Deploy to Heroku:
- or use Fig:
fig up
- or: set up Redis and run the Rack app
Environment variables
GITHUB_OAUTH_CLIENT_ID
, GITHUB_OAUTH_CLIENT_SECRET
Required for OAuth authorization. If you specify GITHUB_OAUTH_ACCESS_TOKEN
below, these are not required.
GITHUB_OAUTH_ACCESS_TOKEN
Specify your own access token to allow visitors use the app without authorizing application by OAuth.
GITHUB_API_ENDPOINT
If you want to use this app on GitHub:Enterprise, specify this environment variable.
REDIS_URL
You don't need to set this variable if you run this app on Heroku or by fig.
Chrome extension
chrome-Embed-GitHub-Issue-Badges substitutes issue links on GitHub to badges.
Author
motemen http://motemen.github.io/