Live stats from 13 coding platforms, free and open source

Live coding stats for your GitHub profile README

Free stats cards for LeetCode, Codeforces, AtCoder, CodeChef, GeeksforGeeks, HackerRank and 7 more coding platforms. Your rating, rating graph, problems solved, streak and submission heatmap update on their own. Or let the GitHub profile README generator write the whole page for you.

New Profile Studio: ASCII portrait, terminal intro, snake and 3D skyline, all in one place

Works with

Codeforces rank colors

Your cards use the color of your Codeforces rank, so people can read your level at a glance.

Build your GitHub README stats card

Codeforces cards show sample data until you enter a handle.

Theme
Show on the card
Custom colors

GitHub profile README generator

Pick what goes on your profile. The preview shows it the way GitHub will. Want an ASCII portrait of yourself, a terminal intro, a snake or a 3D skyline? Open the Profile Studio.

Start from
Sections
LookThemes and layout
Theme
Theme in dark mode
README.md

Compare two coding profiles

Pick a platform and see where you and a friend stand, side by side. Each row shows who leads.

Card URL options

Every card is a plain image link, so you can also write it by hand. Start from /api/card?platform=leetcode&username=YOUR_HANDLE and add any of these. Older /api/codeforces links keep working.

Option What it does
platform Which site: . Defaults to codeforces. Example: platform=atcoder
username Your handle on that platform. Not needed for the README extras.
type Which card: . Defaults to stats. Example: type=heatmap
theme One of . Defaults to light. Example: theme=dark
hide Comma separated parts to leave out. Each card lists what it has in the builder above. Example: hide=country,trend
bg_color and friends Your own colors as hex without the #: bg_color, title_color, text_color, muted_color, border_color. Example: bg_color=102a43&text_color=f0f4f8
hide_border Removes the outline around the card.
radius Corner roundness from 0 (square) to 24. The default is 10. Example: radius=0
cache How long GitHub may keep a live card, in seconds, from 600 (10 minutes) to 86400 (a day). The default is 1800. Example: cache=3600
animate Set to false for a still card with no animation.
lines Typing intro only. The lines to type, separated by semicolons. Also color, size, width, speed, pause, center and background. Example: type=typing&lines=Hi, I'm Alex;I love DP
items Tech stack only. Your languages and tools, separated by commas. Also title. Example: type=stack&items=C++,Python,Git
type=combined The all platforms card. Give one handle per platform by its name, plus an optional title. Example: type=combined&codeforces=you&leetcode=you&atcoder=you
sites, count and tz Upcoming contests only. Which platforms to include (codeforces, leetcode, atcoder, codechef; all four by default), how many to list, and the time zone for their start times. Example: type=upcoming&sites=atcoder,codechef&count=3&tz=Asia/Kolkata
type=banner Header banner. title, subtitle, shape (wave, slice or rounded), from and to for the gradient, text_color, height, and footer=true to flip it for the bottom of a README. Example: type=banner&title=Hi, I'm Alex&shape=slice
type=social One link badge for a "Connect with me" row. site is github, linkedin, x, email, website, youtube, instagram or discord, and label changes its text. Example: type=social&site=linkedin

Platform cards refresh every 30 minutes and upcoming contests every 10, so new results show up soon after they happen. Links made with earlier versions of this project still work.

Questions

How do I add LeetCode stats to my GitHub profile README?

Pick LeetCode above, type your LeetCode username, choose a card and copy the snippet. Paste it into the README.md of your profile repository (the repository with the same name as your GitHub username). Your LeetCode rating, problems solved, contest history and submission heatmap then update on their own.

How do I show my Codeforces rating on GitHub?

Type your Codeforces handle above and copy the profile or rating graph card. It shows your current and maximum rating in your rank color, and the rating graph draws every rated contest.

Which coding platforms are supported?

Codeforces, LeetCode, AtCoder, CodeChef, GeeksforGeeks, HackerRank, TopCoder, Codewars, DMOJ, SPOJ, Kattis, UVa Online Judge and CSES. You can show one platform per card, or all of them together in one card.

Is it free? Do I need to sign up?

It is free and open source, and there is no account or sign up. Every card is a normal image link, so it works in any GitHub README.

How often do the cards update?

Coding stats refresh about every 30 minutes, and upcoming contests about every 10 minutes. You can change this with the cache option.

Do the cards work in GitHub dark mode and on phones?

Yes. Tick "Match GitHub light and dark mode" and visitors see the card that matches their theme. The cards are SVG images, so they stay sharp on every screen, and the animations play in Chrome, Safari, Firefox and the GitHub mobile app.

How do I make an ASCII art portrait for my GitHub profile?

Open the Profile Studio, choose "My photo" and upload a picture. It is turned into text characters inside your browser and is never uploaded. Download the SVG files and add them next to your README.md.

Free and open source

If these cards made your profile better, a star on GitHub helps other programmers find them. Ideas and fixes are welcome too.