github-buttons

Showcase the success of any GitHub repo or user with these simple, static buttons with dynamic counts.

Subscribe to updates I use github-buttons


Statistics on github-buttons

Number of watchers on Github 2363
Number of open issues 15
Average time to close an issue 3 months
Main language CSS
Average time to merge a PR 29 days
Open pull requests 3+
Closed pull requests 29+
Last commit about 3 years ago
Repo Created about 7 years ago
Repo Last Updated 9 months ago
Size 314 KB
Homepage https://ghbtns.com
Organization / Authormdo
Latest Releasev3.0.0
Contributors19
Page Updated
Do you use github-buttons? Leave a review!
View open issues (15)
View github-buttons activity
View on github
Fresh, new opensource launches 🚀🚀🚀
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating github-buttons for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

GitHub Buttons

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, and follower counts.

To get started, checkout https://ghbtns.com!

Bug tracker

Have a bug? Please create an issue here on GitHub at https://github.com/mdo/github-buttons/issues.

Development

The GitHub buttons source code is split across three files in src/the HTML, CSS, and JSand compiled with gulp. The github-btn.hml file contains the button markup and includes the external CSS and JS. Those includes are inlined and the overall page minified with gulp.

To build the files, just run gulp:

$ gulp

Lastly, the https://ghbtns.com site is built with Jekyll (requires Ruby and more). Install Jekyll and run a local server to view your changes:

$ jekyll serve --watch

See also

Twitter account

Keep up to date on announcements and more by following Mark on Twitter, @mdo.

Author

Mark Otto

  • https://twitter.com/mdo
  • https://github.com/mdo

Copyright and license

Copyright 2014-2015 Mark Otto. Released under Apache 2.0.

github-buttons open issues Ask a question     (View All Issues)
  • about 2 years Issues button?
  • over 2 years h
  • over 2 years Double slash issue
  • over 2 years Watcher and Star result same value
  • over 2 years GitHub returns 404 for &type=fork if you're not logged in
  • almost 3 years Watch button destination link to /subscription?
  • almost 3 years Dynamic Follow button
  • almost 3 years X-Frame-Options set to DENY
  • about 3 years HTML validation errors
  • over 3 years Another javascript version
  • almost 4 years Show a warning for IE < 9 for the website
  • about 5 years javascript version (doesn't use iframes)
github-buttons open pull requests (View All Pulls)
  • Button Alignment: Right
  • Minor tweaks
  • Add lang="en" to <html>
github-buttons list of languages used
github-buttons latest release notes
v3.0.0 v3.0.0

Highlights from past few months:

  • #87: Add build tooling to automate compilation and minification.
  • #86: Fix undefined variable.
  • #84: aria improvements for accessibility.
  • #79: Docs improvements for linting, compression, and more.
Other projects in CSS