gh-badges / 1.0.0 last updated 5 months ago created on Jan 7th 2014

Install

npm install --save gh-badges

Clone

git clone git@github.com:espadrine/gh-badges.git

dependencies show all 106

main dot 1.0.2 MIT
svgo 0.4.5 MIT
phantomjs 1.9.7-15 Apache 2.0
es6-promise 0.1.2 MIT
request 2.34.0 Apache 2.0

maintainers

espadrine espadrine

versions 6 total

1.0.0 5 months ago espadrine
0.2.3 9 months ago espadrine
0.2.2 9 months ago espadrine
0.2.1 9 months ago espadrine
0.2.0 9 months ago espadrine
0.1.0 10 months ago espadrine
1 Downloads yesterday.

readme

Shields Gittip npm version build status

A legible & concise status badge solution for third-party codebase services.

Make your own badges here!

Services using the Shields standard

Problem

Many GitHub repos sport badges for things like:

travis badge

gemnasium badge

code climate badge

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.

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

We have an effort to produce similar-looking SVGs through a web service at http://img.shields.io. That ensures that we are retina-ready.

Examples

What kind of meta data 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 gittip donations per week: tips | $2/week

Font

The font chosen in the specification is the Apache licensed Open Sans Regular available from Google Web Fonts.

Specification

See SPECIFICATION.md.

Installation Instructions

See INSTALL.md.

Contributions

See CONTRIBUTING.md.

License

See LICENSE.md.

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