Showcase the success of any GitHub repo or user with these simple, static buttons with dynamic counts.
CSS HTML JavaScript
Latest commit 79df445 Nov 30, 2015 @mdo Merge pull request #94 from watkins/master
Removed text shadow

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!

Bug tracker

Have a bug? Please create an issue here on GitHub at


The GitHub buttons source code is split across three files in src/—the HTML, CSS, and JS—and 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 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

Copyright and license

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