Skip to content

stevemao/github-buttons

 
 

Repository files navigation

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 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 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

Copyright and license

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 46.2%
  • HTML 35.2%
  • JavaScript 18.6%