Want to take your software engineering career to the next level? Join the mailing list for career tips & advice Click here


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 almost 5 years ago
Repo Created almost 9 years ago
Repo Last Updated over 2 years ago
Size 314 KB
Homepage https://ghbtns.com
Organization / Authormdo
Latest Releasev3.0.0
Page Updated
Do you use github-buttons? Leave a review!
View open issues (15)
View github-buttons activity
View on github
Book a Mock Interview With Me (Silicon Valley Engineering Leader, 100s of interviews conducted)
Software engineers: It's time to get promoted. Starting NOW! Subscribe to my mailing list and I will equip you with tools, tips and actionable advice to grow in your career.
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.


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.


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)
  • almost 4 years Issues button?
  • over 4 years h
  • over 4 years Double slash issue
  • over 4 years Watcher and Star result same value
  • over 4 years GitHub returns 404 for &type=fork if you're not logged in
  • over 4 years Watch button destination link to /subscription?
  • over 4 years Dynamic Follow button
  • over 4 years X-Frame-Options set to DENY
  • almost 5 years HTML validation errors
  • about 5 years Another javascript version
  • over 5 years Show a warning for IE < 9 for the website
  • almost 7 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
Powered by Autocode - Instant Webhooks, Scripts and APIs
Autocode logo wordmark