gh-badges / 1.1.1 last updated a year ago created on Jan 7th 2014

Install

npm install --save gh-badges

Clone

git clone git@github.com:badges/shields.git

dependencies show all 396

main dot 1.0.3 MIT
svgo 0.5.6 MIT
phantomjs 1.9.20 Apache 2.0
es6-promise 2.1.1 MIT
request 2.55.0 Apache 2.0

maintainers

espadrine espadrine

versions 8 total

1.1.1 a year ago espadrine
1.1.0 2 years ago espadrine
1.0.0 2 years ago espadrine
0.2.3 3 years ago espadrine
0.2.2 3 years ago espadrine
0.2.1 3 years ago espadrine
0.2.0 3 years ago espadrine
0.1.0 3 years ago espadrine
3 Downloads yesterday.

readme

Gratipay npm version build status dependency status

An image server for legible and concise information. Our Homepage | Twitter

Solving the problem

Many GitHub repositories sport badges for things like:

Travis CI

(build status)

Travis CI badge
Gemnasium

(dependency checks)

Gemnasium badge
Code Climate

(static analysis)

Code Climate badge
RubyGems

(released gem version)

RubyGems badge

As you can see from the zoomed 400% versions of these badges above, nobody is (really) using the same badge file and at normal size, they're hardly legible. Worst of all, they're completely inconsistent. The information provided isn't of the same kind on each badge. The context is blurry, which doesn't make for a straightforward understanding of how these badges are relevant to the project they're attached to and what information they provide.

The Shields solution

As you can see below, without increasing the footprint of these badges, I've tried to increase legibility and coherence, removing useless text to decrease the horizontal length in the (likely) scenario that more of these badge thingies crop up on READMEs all across the land.

Badge design

This badge design corresponds to an old and now deprecated version which has since been replaced by beautiful and scalable SVG versions that can be found on shields.io.

Examples

What kind of metadata can you convey using badges?

  • test build status: build | failing
  • code coverage percentage: coverage | 80%
  • stable release version: version | 1.2.3
  • package manager release: gem | 1.2.3
  • status of third-party dependencies: dependencies | out-of-date
  • static code analysis GPA: code climate | 3.8
  • SemVer version observance: semver | 2.0.0
  • amount of Gratipay donations per week: tips | $2/week

Services using the Shields standard

Legal

All assets and code are under the CC0 LICENSE and in the public domain unless specified otherwise.

The assets in logo/ are trademarks of their respective companies and are under their terms and license.

Resolving all dependencies.. This could take a while as our cache is not yet fully warmed up.