jo_on's blog

By jo_on, history, 4 years ago, In English

Hi Codeforces!

What if there are badges on Github profile that show our Codeforces ratings?

Recently, GitHub introduced a new feature in GitHub profile. In short, if you create a special repository with a name same with your GitHub username, its README.md file will appear on your main page, just like this.

While I was thinking about what to write in my profile, I thought it would be great if there is a way to put badges that show my ratings of competitive programming platforms such as Codeforces, TopCoder, and AtCoder. I first googled to find out if there is already someone who created such badges, but I couldn't. (Perhaps because I am a bad googler...)

So I decided to make my own! Fortunately, Shields.io offers great features to customize your badges. I used Shields.io functionality together with CF, TC, AC APIs to build a very simple server that serves badge images. It works like this:

https://run.kaist.ac.kr/badges/codeforces/jo_on.svg

https://run.kaist.ac.kr/badges/topcoder/kuratowski.svg

https://run.kaist.ac.kr/badges/atcoder/topology.svg

CF TC AC

How do they look like? Despite being the most basic design of Shields.io, they look pretty neat, don't they?

Currently, I'm using these badges in my GitHub profile. However, the server is not reliable since it depends on the health of the physical machine it is running on; it is very old and slow, and under certain circumstances, we (server admins) even have to turn off the machine for a while. So I'm hoping that one day someone will build a reliable competitive programming badge server with better badge designs.

Or are there already this kind of badges somewhere but simply I cannot find them? If you know any, please share!

  • Vote: I like it
  • +268
  • Vote: I do not like it

»
4 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by jo_on (previous revision, new revision, compare).

»
4 years ago, # |
Rev. 3   Vote: I like it -6 Vote: I do not like it

That's pretty cool! I wish someone makes flair for all online judges like Stack Overflow and Project Euler have.

»
4 years ago, # |
  Vote: I like it +12 Vote: I do not like it

this is epic

»
4 years ago, # |
Rev. 2   Vote: I like it +11 Vote: I do not like it

I made a similar project yesterday with added support for Codeforces, Codechef, and Atcoder.
The servers are reliable and are up all the time.

Do try it out!