Skip to content

LeetCode Stats Card

Show your dynamically generated LeetCode stats on your GitHub profile or your website!

ref-reporef-online-toolref-official-doc

Parameters

Click to show/close parameters

NameTypeRequiredDefaultDescriptionMore Description
ref-params
usernamestringtrueLeetCode username
ref-querys
sitestringusLeetCode siteSupported: us cn.
themestringdarkThemeSupported: dark light nord forest wtf unicorn transparent.
fontstringbaloo_2FontSupports almost all Google Fonts fonts.
widthnumber500Width
heightnumber200Height
bordernumber1Border width
radiusnumber4Radius
animationbooleantrueEnable or disable the animation.
hidestringHide elements on the cardSupported: ranking total-solved-text easy-solved-count medium-solved-count hard-solved-count separated by ,.
extstringExtra dataSupported: activity contest heatmap separated by ,.
cachenumber60缓存时间Unit: seconds.
sheetsstringExternal stylesheetsSeparated by , e.g. sheets=url1,url2, You can upload your custom CSS to gist and use the url.
txt
https://leetcard.jacoblin.cool/{username}{?site,theme,font,width,height,border,radius,animation,hide,ext,cache,sheets}

Examples

markdown
<!-- JacobLinCool -->
![Leetcode Stats](https://leetcard.jacoblin.cool/JacobLinCool?theme=wtf&ext=heatmap&font=Play)
Leetcode Stats

Readme Widget Hub (v4.1.4) MIT Licensed