Badges will make you look cool & geeky!
Github Badge is a simple embeddable badge showing your GitHub stats like the number of stars or forks, languages used in the project, CI/CD build status, the license of the project, open issues count for the project, etc. Maybe that’s what badges used to be. But now, the introduction of the special repo(github.com/username/username) allows users to showcase their projects, skills, and what-not on their profile page. Special repository in GitHub is a feature that is recently launched by GitHub in its latest update. It is a repository that shows up on the top of all the repositories when someone visits your profile page.
Why do you want badges?
Badges are cool and make your repo(or profile) looks geeky. Adding badges to the README file will help in increasing the readability of repo because they provide performance indicators or metrics about the repositories. Readers will get a clear idea of the project just by looking at the badges.
Let’s look at some of the cool badges and how to generate them for your repo. For generating a badge for your GitHub repository, all you’ve to do is fill in your username and repo details in the templates below and paste the markdown to your README file.
Popular Badges by category
Travis badge shows the last build status of the project. Some of the popular tools are
Travis CI, and
- Setup your Travis CI automated build
- Update your repo details in below markdown code
Code Coverage (
Depfu is a tool for keeping track of dependencies of a project. It scans your project dependencies and automatically creates PRs for updating these dependencies.
![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/username/repo)
You may want to connect with your visitors using various social media platforms like Medium, Pinterest, Linkedin, Twitter, etc.
[![Medium Badge](https://badgen.net/badge/icon/medium?icon=medium&label)](https://medium.com/@username)Customizable Badge
[![Twitter Badge](https://img.shields.io/twitter/follow/username.svg?style=social&label=Follow)](https://twitter.com/username)Cool UI Badge
An open-source license for the project can be selected from choosealicense.
These are some of the popular categories of badges. Apart from this, you can have badges for your web pages too.
For more cool badges visit forthebadge.
Badges make you feel confident about your projects because they show the status of CI/CD builds, version of dependencies, no. of open issues, latest activity, major language, and size of code. Apart from this geeky point of view, you can connect with your visitors via social media, ask for sponsorship, showcase your skills, and a lot more fun stuff with these badges.
No one will go through your code if they don’t understand your project summary. Say it simply using badges. Badges improve the readability of a GitHub repository by providing the users with metrics about the repository. As we know a picture is worth a thousand words. Have fun!