Shields badge specification, website and default API server
Go to file
John Fitzpatrick 38e68dc3e1 Added static example badges for Coverity Code Advisor On Demand
integration.
Added example of a job badge url to try.html.
2015-06-09 13:52:36 -06:00
ass-stubs test: server PNG. 2014-01-19 13:32:43 +01:00
logo Gratipay logo 2015-05-31 13:44:36 +02:00
spec Fix Markdown formatting error 2015-04-16 22:43:15 +02:00
templates Working social template 2015-05-11 08:49:53 +02:00
.buildpacks Node engine version information. Deployment files. 2014-01-03 19:25:49 +01:00
.gitignore Hide the secret.json file. 2014-06-03 17:33:18 +02:00
.travis.yml make CI build faster 2014-08-18 02:22:18 +08:00
404.html Website: 404 page 2014-11-08 11:55:38 +01:00
badge.js Initial social button implementation 2015-05-08 23:58:42 +02:00
CNAME CNAME for shields.io 2014-02-24 11:53:27 +01:00
colorscheme.json move colorscheme back to original location, add @ syntax to cli for specifying style, cache templates on server start 2014-04-19 10:27:20 -07:00
CONTRIBUTING.md Add a link to C# port of Shield style badge lib. 2015-05-11 21:13:29 +02:00
coverage.svg Default to flat badges 2015-02-01 17:56:18 +01:00
Dockerfile Dockerized the shields.io service 2014-09-28 13:43:29 +02:00
favicon.png Move website to the repo's root. 2014-02-14 16:54:09 +01:00
gh-badge.js bin: support json format 2014-10-25 19:16:35 +02:00
index.html website: update donate button 2015-06-03 23:36:16 +02:00
INSTALL.md Coerce text to string. 2014-11-19 09:15:37 +01:00
LICENSE.md Files related to the switch to the shields repo. 2014-02-23 22:53:34 +01:00
load-logos.js GitHub logos for social badges 2015-05-31 13:24:04 +02:00
logo.svg Move website to the repo's root. 2014-02-14 16:54:09 +01:00
lru-cache.js Default LRU cache size type is a unit 2014-11-20 23:52:44 +01:00
Makefile Uppercase the "generated" warning in index.html 2015-03-24 09:02:03 +01:00
package.json Merge remote-tracking branch 'peterdavehello/upgrade-dependencies' 2015-04-26 19:43:33 +02:00
phantomjs-svg2png.js Local font loading into SVG in Phantom.js 2014-01-05 22:02:02 +01:00
README.md Readme: Mention gratipay instead of gittip 2015-05-06 22:42:03 +02:00
server.js Added static example badges for Coverity Code Advisor On Demand 2015-06-09 13:52:36 -06:00
suggest.js Allow partial suggestions 2015-02-10 23:23:44 +01:00
svg-to-img.js Separated the LRU cache implementation. 2014-04-27 23:47:12 +00:00
test.js Fix test. 2014-07-28 19:14:33 +02:00
try.html Added static example badges for Coverity Code Advisor On Demand 2015-06-09 13:52:36 -06:00

Shields Gratipay npm version build status Dependency Status

An image server for legible & concise information.

http://shields.io

Installation Instructions: INSTALL.md.

Contributions: CONTRIBUTING.md.

Specification: SPECIFICATION.md.

License: LICENSE.md.

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

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 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 gratipay donations per week: tips | $2/week

Services using the Shields standard