github-buttons

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

APACHE-2.0 License

Stars
2.9K
Committers
26

Bot releases are hidden (Show)

github-buttons - v4.2.2 Latest Release

Published by XhmikosR almost 2 years ago

What's Changed

Full Changelog: https://github.com/mdo/github-buttons/compare/v4.2.1...v4.2.2

github-buttons - v4.2.1

Published by XhmikosR almost 2 years ago

What's Changed

Full Changelog: https://github.com/mdo/github-buttons/compare/v4.2.0...v4.2.1

github-buttons - v4.2.0

Published by XhmikosR almost 2 years ago

github-buttons -

Published by XhmikosR almost 2 years ago

github-buttons -

Published by XhmikosR almost 2 years ago

github-buttons -

Published by XhmikosR over 2 years ago

github-buttons -

Published by XhmikosR almost 3 years ago

github-buttons -

Published by XhmikosR almost 3 years ago

github-buttons -

Published by XhmikosR about 3 years ago

github-buttons -

Published by XhmikosR over 3 years ago

github-buttons -

Published by XhmikosR over 3 years ago

github-buttons -

Published by XhmikosR over 3 years ago

github-buttons -

Published by XhmikosR over 3 years ago

github-buttons -

Published by XhmikosR almost 4 years ago

github-buttons -

Published by XhmikosR almost 4 years ago

  • update devDependencies and gems
  • minor doc tweaks

https://github.com/mdo/github-buttons/compare/v4.0.4...v4.0.5

github-buttons -

Published by XhmikosR about 4 years ago

  • docs: mention the GitHub API rate limit
  • Add jekyll-sitemap plugin
github-buttons -

Published by XhmikosR about 4 years ago

  • Fix followers link
  • Remove deprecated bundler flags
github-buttons -

Published by XhmikosR about 4 years ago

  • Add jekyll-seo-tag in docs
  • Update to Ruby 2.7/Bundler 2.x.
  • Update devDependencies and gems
github-buttons -

Published by XhmikosR over 4 years ago

  • fix snippet markup
  • update devDependencies and gems
  • move docs to he docs folder
github-buttons - v4.0.0

Published by mdo over 4 years ago

Highlights

  • New: Added sponsor button (pass type=sponsor)
  • New: Updated the font stack to a more modern one
  • Breaking: Dropped ancient CSS vendor prefixes and IE < 10 support; the button will still work on IE9, but it won't look perfect, IE < 9 no longer works.
  • Enhancement: Reduced filesize approximately -20% off the uncompressed github-btn.html's size (6849 -> 5419 bytes)
  • Enhancement: When count=true is not passed, we now don't make any GitHub API request which should significantly improve page load times

Detailed changes

  • Improved button's accessibility:
    • counter is hidden with aria-hidden if it's empty
    • a title is added in the iframe
  • Improve button's HTML
    • add doctype
    • add lang
    • add charset
    • add rel="noopener noreferrer" for external links
    • remove aria-label since we set it via JS
  • Improve button's CSS:
    • the embedded SVG is no longer base64-encoded (-45% off the uncompressed SVG)
    • the embedded SVG is optimized with SVGO (approximately -25% off the compressed SVG, -28% off the uncompressed SVG)
    • the CSS is streamlined
  • Improved button's JS:
    • we no longer make unneeded GitHub API calls, for example if you don't pass query=true
    • add a few fail-safe checks
    • switched to Node.textContent since we weren't adding HTML
    • wrap the code in an IIFE so that the minifier mangles the variables properly
    • switch to strict mode
  • Build:
    • it should be generally easier to work on the project locally; npm i && bundle i to get started
    • replace gulp with npm scripts
    • add CSS/Sass linting with Stylelint
    • and JS linting with xo
    • add a watch script
    • update Jekyll to v4.0.0
    • add CI for tests and docs deployments
  • Docs:
    • the docs are HTML5 valid
    • the docs are WCAG2AA valid
    • add link rel=canonical
    • add meta generator tag
    • switch to Sass
    • inline the docs CSS