{"id":13511009,"url":"https://badges.github.io/gh-badges/","last_synced_at":"2025-03-30T19:30:39.717Z","repository":{"id":12906794,"uuid":"15584048","full_name":"badges/gh-badges","owner":"badges","description":"Go to badges/shields. Especially if you don't know why. (This repo is old.)","archived":true,"fork":false,"pushed_at":"2014-02-23T21:48:42.000Z","size":1767,"stargazers_count":87,"open_issues_count":0,"forks_count":29,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-12-21T13:34:56.707Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://img.shields.io/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/badges.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-01-02T13:21:41.000Z","updated_at":"2024-11-26T17:16:50.000Z","dependencies_parsed_at":"2022-08-28T09:21:35.609Z","dependency_job_id":null,"html_url":"https://github.com/badges/gh-badges","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badges%2Fgh-badges","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badges%2Fgh-badges/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badges%2Fgh-badges/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badges%2Fgh-badges/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/badges","download_url":"https://codeload.github.com/badges/gh-badges/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246368619,"owners_count":20766053,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T03:00:29.103Z","updated_at":"2025-03-30T19:30:39.404Z","avatar_url":"https://github.com/badges.png","language":"JavaScript","funding_links":[],"categories":["Custom"],"sub_categories":[],"readme":"# Shields [![Gittip](http://img.shields.io/gittip/shields.io.png)](https://www.gittip.com/Shields.io/) [![npm version](http://img.shields.io/npm/v/gh-badges.svg)](https://npmjs.org/package/gh-badges) [![build status](http://img.shields.io/travis/badges/gh-badges.svg)](https://travis-ci.org/badges/gh-badges)\n\nA legible \u0026 concise status badge solution for third-party codebase services.\n\nMake your own badges [here][badges]!\n\n[badges]: \u003chttp://img.shields.io\u003e\n\n## Services using the Shields standard\n- [Code Climate](https://codeclimate.com/changelog/510d4fde56b102523a0004bf)\n- [Coveralls](https://coveralls.io/r/kaize/nastachku)\n- [Gemfury/RubyGems](http://badge.fury.io/)\n- [Gemnasium](http://blog.tech-angels.com/post/43141047457/gemnasium-v3-aka-gemnasium)\n- [Travis CI](http://about.travis-ci.org/docs/user/status-images/)\n- [Scrutinizer CI](https://scrutinizer-ci.com/)\n- [Semaphore](https://semaphoreapp.com)\n\n## Problem\nMany GitHub repos sport badges for things like:\n- [Travis CI](https://travis-ci.org/) build status:\n\n![travis badge](http://f.cl.ly/items/2H233M0I0T43313c3h0C/Screen%20Shot%202013-01-30%20at%202.45.30%20AM.png)\n\n- [Gemnasium](https://gemnasium.com/) dependency checks:\n\n![gemnasium badge](http://f.cl.ly/items/2j1D2R0q2C3s1x2y3k09/Screen%20Shot%202013-01-30%20at%202.46.10%20AM.png)\n\n- [Code Climate](http://codeclimate.com):\n\n![code climate badge](http://f.cl.ly/items/0H2O1A3q2b3j1D2i0M3j/Screen%20Shot%202013-01-30%20at%202.46.47%20AM.png)\n\n- [RubyGems](http://rubygems.org) released gem version:\n\n![rubygems badge](http://f.cl.ly/items/443X21151h1V301s2s3a/Screen%20Shot%202013-01-30%20at%202.47.10%20AM.png)\n\nAs 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 å straightforward understanding of how these badges are relevant to the project they're attached to and what information they provide.\n\n## Solution\nAs 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.\n\n![Badge design](https://rawgithub.com/badges/shields/master/spec/proportions.png)\n\nWe have an effort to produce similar-looking SVGs through a web service at\n\u003chttp://img.shields.io\u003e. That ensures that we are retina-ready.\n\n## Examples\n\nWhat kind of meta data can you convey using badges?\n\n- test build status: `build | failing`\n- code coverage percentage: `coverage | 80%`\n- stable release version: `version | 1.2.3`\n- package manager release: `gem | 1.2.3`\n- status of third-party dependencies: `dependencies | out-of-date`\n- static code analysis GPA: `code climate | 3.8`\n- [semver](http://semver.org/) version observance: `semver | 2.0.0`\n- amount of [gittip](http://gittip.com) donations per week: `tips | $2/week`\n\n## Retina Ready\nSince one of the major concerns is legibility, it's impossible to ignore how badges will render on retina (high DPI) displays.\n\nAs suggested by @kneath, badges displayed with an HTML image tag (instead of the easier Markdown image tag) can be given a fixed height to force an image that is actually double the resolution into a 50% smaller image, which will display properly for both retina and non-retina screens.\n\nHere's an example with the following code:\n\n```html\n\u003cimg src=\"https://raw.github.com/badges/shields/master/static/shields_white@2x.png\" height=\"143\" alt=\"Retina-ready Shields example\" /\u003e\n```\n\n\u003cimg src=\"https://raw.github.com/badges/shields/master/static/shields_white@2x.png\" height=\"143\" alt=\"Retina-ready Shields example\" /\u003e\n\nAll our badges aren't yet compatible with this but we're working on updating them soon. Look for image filenames with `@2x` suffixes, those will be the pixel doubled versions.\n\nNote: They were pixel doubled manually in Photoshop, not after the fact.\n\n## Font\nThe font chosen in the specification is the Apache licensed Open Sans Regular available from [Google Web Fonts](http://www.google.com/webfonts/specimen/Open+Sans).\n\n## Specification\nSee [SPECIFICATION.md](spec/SPECIFICATION.md).\n\n## Installation Instructions\nSee [INSTALL.md](INSTALL.md).\n\n## Contributions\nSee [CONTRIBUTING.md](CONTRIBUTING.md).\n\n## License\nSee [LICENSE.md](LICENSE.md).\n\n[gem]: https://github.com/badges/badgerbadgerbadger\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/badges.github.io%2Fgh-badges%2F","html_url":"https://awesome.ecosyste.ms/projects/badges.github.io%2Fgh-badges%2F","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/badges.github.io%2Fgh-badges%2F/lists"}