Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ddavison/github-badges?background=007ec6&color=fff&repo=awesome-badge&style=flat&user=changyuheng
Star / Fork badges for your GitHub Repository!
https://github.com/ddavison/github-badges?background=007ec6&color=fff&repo=awesome-badge&style=flat&user=changyuheng
List: github-badges?background=007ec6&color=fff&repo=awesome-badge&style=flat&user=changyuheng
badge github github-badge github-forks github-stars ruby star
Last synced: 3 months ago
JSON representation
Star / Fork badges for your GitHub Repository!
- Host: GitHub
- URL: https://github.com/ddavison/github-badges?background=007ec6&color=fff&repo=awesome-badge&style=flat&user=changyuheng
- Owner: ddavison
- License: mit
- Created: 2014-08-18T12:28:29.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2024-01-19T19:11:20.000Z (10 months ago)
- Last Synced: 2024-05-22T12:08:31.026Z (6 months ago)
- Topics: badge, github, github-badge, github-forks, github-stars, ruby, star
- Language: Haml
- Homepage: https://githubbadges.com
- Size: 38.1 KB
- Stars: 85
- Watchers: 4
- Forks: 52
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
GitHub Badges (DISCONTINUED)
===============> This project has unfortunately been discontinued once Heroku's [Free Plans had expired](https://help.heroku.com/RSBRUH58/removal-of-heroku-free-product-plans-faq).
# Using the buttons
```
GET http://githubbadges.com
/star.svg
/fork.svg
```
## Available Parameters
```
`user` : The owner of the GitHub repository
`repo` : The repository name
`[background]` : Controls the background color of the count
- Format is HEX, **without** `#`. Example: `&background=007ec6`
`[color]` : Controls the text color. (default to `fff`)
- Format is HEX, **without** `#`. Example: `&color=000`
`[style]` : Controls the style of the button
Options:
- `default` : The default 'bubble' style
- `flat` : A flat style
- `flat-square` : A flat style with no border-radius
```### Example request
[http://githubbadges.com/star.svg?user=ddavison&repo=github-badges&background=007ecg&color=bbb&style=flat](http://githubbadges.com/star.svg?user=ddavison&repo=github-badges&background=007ecg&color=bbb&style=flat)Github SVG Buttons will automatically fetch how many stars and forks there are.
### Develop
- `bundle install`
- `bundle exec ruby app.rb`
- Server should now be running at http://localhost:4567/