๐ Embeddable Widgets
Stats Card
Query Parameters
| Param | Values | Default |
theme | light dark dracula nord warm solarized | light |
lang | en zh | en |
hide_border | true / false | false |
hide_books | true / false | false |
title | Custom title text | โ |
width | Card width in px | 420 |
Badges
Available Metrics & Parameters
| Metric | Endpoint |
| Total Reading Time | /api/badge/reading-time |
| Pages Read | /api/badge/pages |
| Books Reading | /api/badge/books |
| Books Finished | /api/badge/finished |
| Notes Count | /api/badge/notes |
| Reading Days | /api/badge/reading-days |
| Param | Values | Default |
style | flat flat-square plastic for-the-badge social | flat |
color | Hex or named color | Per metric |
labelColor | Hex or named color | grey |
label | Custom label text | Per metric |
๐ API
| Endpoint | Response | Description |
GET /api |
JSON |
Reading stats as structured JSON |
GET /api/stats-card |
SVG |
GitHub-style stats card image |
GET /api/badge/:metric |
SVG |
Shields-style badge for a specific metric |