Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
G

github-buttons

> 开发工具
Open source

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

2.9K stars0 likes0 views
WebsiteGitHub

About

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

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

Clone the project and install dependencies before getting started. GitHub Buttons require Node.js, Ruby, and Bundler for local development.

bash
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 file. To build this file:

bash
npm run build

The https://ghbtns.com/ site is built with Jekyll. After installing the dependencies, you can run a local server:

bash
bundle exec jekyll serve

Open http://127.0.0.1:4000 to browse locally.

See also

  • ntkme/github-buttons

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-2022 Mark Otto. Released under the Apache 2.0 License.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

JavaScriptgithub

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category开发工具
PricingOpen source

> Related tools

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具