What if there are badges on Github profile that show our Codeforces ratings with the rating colour as well?
So I decided to make my own!
This repo helps you to create your custom profile badges with Max rating in Codechef, Codeforces and many more.
Maybe you can flaunt more with your coding badges now.
Use the package manager pip3 to install requirements file first.
pip3 install requirements.text
https://cp-logo.vercel.app/codeforces/<user_name>
https://cp-logo.vercel.app/codechef/<user_name>
https://cp-logo.vercel.app/atcoder/<user_name>
https://cp-logo.vercel.app/topcoder/<user_name>
https://cp-logo.vercel.app/yukicoder/<user_name>
https://cp-logo.vercel.app/uri/<user_name>
https://cp-logo.vercel.app/leetcode/<user_name>
https://cp-logo.vercel.app/leetcode-cn/<user_name>
[![Badge](https://cp-logo.vercel.app/codechef/gennady.korotkevich)]
This corresponds to
You can also show the logo along with the website name and rating by including the query parameter with the URL ?logo=true
For example
[![Badge](https://cp-logo.vercel.app/codechef/gennady.korotkevich?logo=true)]
This corresponds to
You can add custom links also to the badge for reference :
[![Badge](https://cp-logo.vercel.app/codechef/gennady.korotkevich)]
(https://www.codechef.com/users/gennady.korotkevich)
This will add a link to the badge
The colour of the badge changes as your maximum rating changes according to the website policy.
Some examples are -
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.