Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mdo/github-buttons
Showcase the success of any GitHub repo or user with these simple, static buttons with dynamic counts.
https://github.com/mdo/github-buttons
github
Last synced: 25 days ago
JSON representation
Showcase the success of any GitHub repo or user with these simple, static buttons with dynamic counts.
- Host: GitHub
- URL: https://github.com/mdo/github-buttons
- Owner: mdo
- License: apache-2.0
- Created: 2011-11-05T21:49:51.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2024-09-03T14:44:35.000Z (2 months ago)
- Last Synced: 2024-10-01T17:41:40.024Z (about 1 month ago)
- Topics: github
- Language: JavaScript
- Homepage: https://ghbtns.com
- Size: 1.4 MB
- Stars: 2,856
- Watchers: 53
- Forks: 264
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - mdo/github-buttons - Showcase the success of any GitHub repo or user with these simple, static buttons with dynamic counts. (github)
- jimsghstars - mdo/github-buttons - Showcase the success of any GitHub repo or user with these simple, static buttons with dynamic counts. (JavaScript)
README
# GitHub Buttons [![Build Status](https://img.shields.io/github/actions/workflow/status/mdo/github-buttons/ci.yml?branch=master&label=CI&logo=github)](https://github.com/mdo/github-buttons/actions/workflows/ci.yml?query=branch%3Amaster)
Showcase your GitHub (repo's) success with these static buttons featuring links to your GitHub repo or profile page and up-to-date watch, fork, sponsor, and follower counts.
To get started, checkout !
## Bug tracker
Have a bug? Please create an issue here on GitHub at .
## Development
Clone the project and install dependencies before getting started. GitHub Buttons require Node.js, Ruby, and Bundler for local development.
```shell
npm i
bundle i
```The GitHub buttons source code is split across three files in `src/`—the HTML, CSS, and JS. We use inline-source-cli and html-minifer to include it all in the compiled [`docs/github-btn.html`](docs/github-btn.html) file. To build this file:
```shell
npm run build
```The `https://ghbtns.com/` site is built with Jekyll. After installing the dependencies, you can run a local server:
```shell
bundle exec jekyll serve
```Open `http://127.0.0.1:4000` to browse locally.
## See also
* [ntkme/github-buttons](https://buttons.github.io/)
## Twitter account
Keep up to date on announcements and more by following Mark on Twitter, [@mdo](https://twitter.com/mdo).
## Author
**Mark Otto**
*
*## Copyright and license
Copyright 2014-2022 Mark Otto. Released under the [Apache 2.0 License](LICENSE).