Skip to content

Stats Cards

Show website stats (Bilibili, Zhihu, GitHub, CSDN, LeetCode, etc.) in README, or use it for website status monitoring.

ref-reporef-official-doc

Parameters

Website monitoring

Click to show/close parameters

NameTypeRequiredDefaultDescriptionMore Description
ref-querys
urlstringtrueThe URL of the website to be monitored
logostringBadge logoRefer to shields.io for more information.
stylestringflatBadge styleSupported: flat flat-square for-the-badge plastic social.
txt
https://stats.justsong.cn/api/website/{?url,logo,style}

Website data

Click to show/close parameters

NameTypeRequiredDefaultDescriptionMore Description
ref-params
platformstringtrueData source platformSupported: github zhihu bilibili leetcode juejin csdn nowcoder steam.
ref-querys
themestringlightThemeSupported: light dark dark2 radical. More themes refer to theme.js.
usernamestringtrueUsernameApplicable platforms: github zhihu leetcode.
idstringtrueIDApplicable platforms: bilibili juejin csdn nowcoder.
langstringen-USLanguageSupported: en-US zh-CN.
cnbooleanfalseLeetCode Chinese SiteApplicable platforms: leetcode.
cn_usernamestringLeetCode Chinese Site UsernameApplicable platforms: leetcode, display both English and Chinese data: set username and cn_username at the same time.
txt
https://stats.justsong.cn/api/{platform}{?username,id,lang,cn,cn_username,theme}

Examples

markdown
![GitHub Status](https://stats.justsong.cn/api/website/?url=https://github.com/&style=flat&logo=github)
GitHub Status
markdown
<!-- 掘金酱 -->
![掘金酱的掘金数据](https://stats.justsong.cn/api/juejin?id=1556564194374926&lang=zh-CN&theme=dark)
掘金酱的掘金数据
markdown
<!-- quanpeng -->
![quanpeng](https://stats.justsong.cn/api/leetcode/?username=quanpeng&cn_username=quanpeng&theme=dark)
quanpeng
markdown
<!-- 红警魔鬼蓝天 -->
![蓝天的 B 站数据](https://stats.justsong.cn/api/bilibili/?id=483246073&lang=zh-CN&theme=dark)
蓝天的 B 站数据

Readme Widget Hub (v4.1.4) MIT Licensed