Stats Cards
在 README 中展示网站数据(B站、知乎、GitHub、CSDN、LeetCode等),也可用于网站状态监控。
参数
网站监控
点击显示/关闭参数
名称 | 类型 | 必填 | 默认值 | 参数描述 | 更多描述 |
---|---|---|---|---|---|
url | string | true | 监控目标网站地址 | ||
logo | string | 徽章 Logo | 参考 shield.io。 | ||
style | string | flat | 徽章样式 | 可选值:flat flat-square for-the-badge plastic social 。 |
txt
https://stats.justsong.cn/api/website/{?url,logo,style}
网站数据
点击显示/关闭参数
名称 | 类型 | 必填 | 默认值 | 参数描述 | 更多描述 |
---|---|---|---|---|---|
platform | string | true | 数据来源平台 | 可选值:github zhihu bilibili leetcode juejin csdn nowcoder steam 。 | |
theme | string | light | 主题 | 可选值:light dark dark2 radical 更多主题参考 theme.js。 | |
username | string | true | 用户名 | 适用平台: github zhihu leetcode 。 | |
id | string | true | ID | 适用平台: bilibili juejin csdn nowcoder 。 | |
lang | string | en-US | 语言 | 可选值:en-US zh-CN 。 | |
cn | boolean | false | LeetCode 中文站 | 适用平台: leetcode 。 | |
cn_username | string | LeetCode 中文站用户名 | 适用平台: leetcode ,同时显示中英双站数据:同时配置username 和 cn_username 即可。 |
txt
https://stats.justsong.cn/api/{platform}{?username,id,lang,cn,cn_username,theme}
示例
markdown

markdown
<!-- 掘金酱 -->

markdown
<!-- quanpeng -->

markdown
<!-- 红警魔鬼蓝天 -->
