Skip to content

Latest commit

 

History

History
63 lines (34 loc) · 3.92 KB

File metadata and controls

63 lines (34 loc) · 3.92 KB

How to add attractive Badges to your Repository

Welcome, here you will be learning how to add some special badges to your repository.

GitHub Badges are incredibly useful, they can boost the readability of a Repository by providing users with a fast way to capture the Repository metrics. Badges also make your Repository look attractive and cool all you need to do is import Markdown code from a source to your README.md file.

There are many GitHub badges available on the internet, here are the top five most informative badges to include in your README file. Markdown code is provided for every badge that I have listed below :

1. Contributors Badge

Contributors badge displays images of all the people who have contributed to your Repository. It's really a good habit to credit the contributors who have invested their time in providing an update to your repository. All you need to do is copy the code below in your README file

![GitHub Contributors Image](https://contrib.rocks/image?repo=Your_GitHub_Username/Your_GitHub_Repository_Name)

Do not forget to replace Your_GitHub_Username and Your_GitHub_Repository_Name in the given link.

2. Repository View Counter

Hits

The Repository View Counter badge displays the number of times your Repository has been viewed. To generate this badge, add the following Markdown code:

![Hits](https://hitcounter.pythonanywhere.com/count/tag.svg?url=Paste_Your_GitHub_Repository_Link_Here)

Do not forget to replace Paste_Your_GitHub_Repository_Link_Here in the given link.

3. Random Joke Generator

😂 Here is a random joke that'll make you laugh!

Jokes Card

The random joke generator will generate a technical joke in the form of questions and answers. For instance, “Why do Programmers use dark mode? Ans : Because light attract Bugs”. To add the Random Jokes to your repository, add the Markdown code below to your README file.

## 😂 Here is a random joke that'll make you laugh! ![Jokes Card](https://readme-jokes.vercel.app/api)

4. Most used Language

Your Repository's Stats

This badge displays the percentage of languages such as Java, HTML, CSS, JavaScript, etc that have been used by you throughout GitHub. To add the Most Used Languages badge to your repository, add the Markdown code below to your README file.

![Your Repository's Stats](https://github-readme-stats.vercel.app/api/top-langs/?username=Your_GitHub_Username&show_icons=true&locale=en&layout=compact)

Do not forget to replace Your_GitHub_Username in the given link.

5. GitHub Stats

Your Repository's Stats

The GitHub Stats badge displays the total Stars, Commits, Pull Requests, Issues, and Contributions made by you.To add the GitHub Stats badge to your repository, add the Markdown code below to your README file.

![Your Repository's Stats](https://github-readme-stats.vercel.app/api?username=Your_GitHub_Username&show_icons=true)

Do not forget to replace Your_GitHub_Username in the given link.

The list does not end here there are many more Badges left like the Social Media Badges that you can add to your profile or Repository. I will be soon adding them too in the list