Questions tagged [shields.io]

Shields.io is a service for concise, consistent, and legible badges in SVG and raster format, which can easily be included in GitHub readmes or any other web page. Use this tag to ask questions about how to use the service or customise the badges in a specific way.

Shields.io is a service for concise, consistent, and legible badges in SVG and raster format, which can easily be included in GitHub readmes or any other web page. The service supports dozens of continuous integration services, package registries, distributions, app stores, social networks, code coverage services, and code analysis services. Every month it serves over 470 million images.

By default the provided badges look look similar to the following:

The project is open-source and is hosted on GitHub.

34 questions
27
votes
8 answers

How do I add my Stack Overflow reputation as a live badge on GitHub?

I am trying to add my Stack Overflow reputation as a live badge on my GitHub profile README. First, I would need to somehow get my account information from Stack Overflow using some API. Next, I would need to extract the reputation and then pass it…
Rajdeep
  • 2,246
  • 6
  • 24
  • 51
23
votes
6 answers

Add SonarQube coverage via shields.io badge

I have com.github.xxxxxx:xxxxxx Maven repository and I want add shields badge but I have a invalid badge: https://img.shields.io/sonar/https/sonarqube.com/com.github.noraui:noraui/tech_debt.svg Sonarqube xxxxxx project page:…
Stéphane GRILLON
  • 11,140
  • 10
  • 85
  • 154
22
votes
1 answer

How can I add badges/shields to github repos?

I see sites like shields.io or similar and they have these clips of markdown to show badges...but if I cut 'n paste these it's just the demo value. How can I make it "real". For example Bintray has their own "Latest Version Badge" markdown that…
Greg
  • 10,696
  • 22
  • 68
  • 98
22
votes
4 answers

How do I use the 'logo' option in shields.io badges?

How do I use the logo option in shields.io badges? For example, something like this [![Raspberry…
orome
  • 45,163
  • 57
  • 202
  • 418
21
votes
2 answers

Adding GitHub Download Count Badge to Readme Mark Down

I would like to add a badge that counts the total number of downloads that happen for one of my projects that I have on GitHub. I came across this page that has all the image shields https://shields.io/ ![Github …
joesan
  • 13,963
  • 27
  • 95
  • 232
9
votes
2 answers

Show github build status in readme.md

I'm using Jenkins to run my builds, and update the github status of my projects. This works fine. I'd like to show the status of the build using http://shields.io/ on my README.md, like Travis does it. Any thought of how can I do that ? I don't want…
Rémy Virin
  • 3,379
  • 23
  • 42
6
votes
3 answers

Shield.IO license badges and Github. License badge not working

I have created an MIT license in Github for my project. It added a license file and now shows up as an MIT license. I went to Shields.IO and it suggested links to my repo. One of which is the license badge. I have added this to my read me using…
lizard
  • 61
  • 1
  • 2
4
votes
2 answers

Centre-align shield.io in GitHub readme file

I have a GitHub repo with a README.md file. I have some shields beneath my header, but they are left-aligned, not centred. ![example1](https://img.shields.io/badge/example-one-red)
Alice
  • 588
  • 1
  • 8
  • 25
4
votes
1 answer

How are build / code coverage badges generated by 3rd-party sites?

My work setup includes a company-hosted Github Enterprise Server and Azure Devops pipelines. With sites like shields.io, I can generate badges for build success or code coverage, seemingly without ever authenticating myself with DevOps. The badge is…
Thomas
  • 4,696
  • 5
  • 36
  • 71
4
votes
1 answer

Is there a possibility to get the download count from nuget.org in a shields.io badge?

Is there a possibility to get the download count from a custom package on nuget.org in a shields.io badge? Something like would be nice... Is there a possibility to do so?
FranzHuber23
  • 3,311
  • 5
  • 24
  • 63
4
votes
0 answers

Error when knitting github_document: pandoc document conversion failed with error 67

I'm generating a README.md GitHub page from a Rmd file. It was generated correctly a week ago but now it's throwing the following error: "C:/Program Files/RStudio/bin/pandoc/pandoc" +RTS -K512m -RTS README.md --to html --from markdown_github…
epo3
  • 2,991
  • 2
  • 33
  • 60
3
votes
1 answer

Custom GitHub badges with dynamic color

I struggle with creating a shields.io badge which changes color dynamically. I am able to use the JSON response to parse a text into a badge and set the color to…
Nikolas Charalambidis
  • 40,893
  • 16
  • 117
  • 183
3
votes
1 answer

how to set the pyversions icon on my github readme?

I'm trying to set my pyversion icon to my github README, similar to this: I've been trying to reverse engineer the setup from the coveralls-python project. My .travis.yaml file looks like this: language: python python: - "2.7" - "3.3" -…
Chris Snow
  • 23,813
  • 35
  • 144
  • 309
2
votes
1 answer

GitHub repo badges: Badge that show how many GitHub repo uses the GitHub Action

Introduction Currently, I'm programming a GitHub Action to facilitate the publishing of JavaDoc to a static web page. The GitHub repo link of the GitHub Action: https://github.com/MathieuSoysal/Javadoc-publisher.yml In this project I have this badge…
ThrowsError
  • 1,169
  • 1
  • 11
  • 43
2
votes
1 answer

How to run a secure shieldsio server locally

I don't know if it is even possible to do this easily and I haven't found any documentation about how one can run shieldsio in a secure (HTTPS) way locally. I've followed this description and I've successfully deployed a working server, but it…
SilverTux
  • 41
  • 2
1
2 3