Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 23 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,29 +137,29 @@ URL Parameter > Theme Default > System Fallback

### Parameter Reference

| Parameter | Type | Required | Default | Description |
| ----------------- | --------- | ---------- | ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `user` | `string` | βœ… **Yes** | β€” | GitHub username to render |
| `theme` | `string` | No | `dark` | Preset theme name (see below) |
| `bg` | `hex` | No | Theme default | Background color β€” **without** `#` |
| `accent` | `hex` | No | Theme default | Tower & glow color β€” **without** `#` |
| `text` | `hex` | No | Theme default | Label & stat text color β€” **without** `#` |
| `radius` | `number` | No | `8` | Border corner radius in pixels |
| `speed` | `string` | No | `8s` | Radar scan duration (`2s`–`20s`, default `8s`) |
| `scale` | `string` | No | `linear` | Tower height scaling: `linear` or `log` (logarithmic) |
| `size` | `string` | No | `medium` | Badge dimensions: `small` (400Γ—280), `medium` (600Γ—420), `large` (800Γ—560) |
| `font` | `string` | No | CommitPulse default typography | Any **Google Font** name (e.g. `Orbitron`, `Inter`) |
| `refresh` | `boolean` | No | `false` | Bypass cache for real-time data |
| `year` | `string` | No | β€” | Calendar year to render (e.g. `2023`, `2024`) |
| `hide_title` | `boolean` | No | `false` | Hide GitHub username/title from the SVG badge |
| `hide_background` | `boolean` | No | `false` | Remove the background rect, letting the monolith float on the page |
| `hide_stats` | `boolean` | No | `false` | Hides the bottom row displaying Current Streak, Annual Sync Total, and Peak Streak stats when set to `true` or `1`. |
| `tz` | `string` | No | Omitted = UTC | IANA timezone (e.g. `Asia/Kolkata`, `America/New_York`) β€” aligns "today" with the user local midnight. Note: `?tz=UTC` is valid but cached separately from omitting `tz`. |
| `lang` | `string` | No | `en` | Language code for labels (`en`, `es`, `hi`, `fr`, `pt`, `ko`, `ja`) |
| `view` | `string` | No | `default` | Rendering mode: `default` (3D Monolith) or `monthly` (Compact monthly stats) |
| `delta_format` | `string` | No | `percent` | Format for month-over-month delta in monthly view: `percent` (e.g. +12%), `absolute` (e.g. +15 commits), or `both` |
| `width` | `number` | No | `300` | Custom width for the SVG canvas (currently only applies to `view=monthly`) |
| `height` | `number` | No | `120` | Custom height for the SVG canvas (currently only applies to `view=monthly`) |
| Parameter | Type | Required | Default | Allowed Values | Example |
| ----------------- | --------- | ---------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ |
| `user` | `string` | βœ… **Yes** | β€” | Any valid GitHub username | `?user=jhasourav07` |
| `theme` | `string` | No | `dark` | `auto`, `dark`, `light`, `neon`, `dracula`, `github`, `gruvbox`, `ocean`, `sunset`, `forest`, `rose`, `nord`, `synthwave`, `highcontrast`, `random` | `?theme=dracula` |
| `bg` | `hex` | No | Theme default | Any hex color **without** `#` | `?bg=0d1117` |
| `accent` | `hex` | No | Theme default | Any hex color **without** `#` | `?accent=ff6b35` |
| `text` | `hex` | No | Theme default | Any hex color **without** `#` | `?text=ffffff` |
| `radius` | `number` | No | `8` | Any positive integer (pixels) | `?radius=16` |
| `speed` | `string` | No | `8s` | `2s` – `20s` | `?speed=4s` |
| `scale` | `string` | No | `linear` | `linear`, `log` | `?scale=log` |
| `size` | `string` | No | `medium` | `small` (400Γ—280), `medium` (600Γ—420), `large` (800Γ—560) | `?size=large` |
| `font` | `string` | No | CommitPulse default | Any Google Font name | `?font=Orbitron` |
| `refresh` | `boolean` | No | `false` | `true`, `false` | `?refresh=true` |
| `year` | `string` | No | Current year | Any valid calendar year e.g. `2023`, `2024` | `?year=2023` |
| `hide_title` | `boolean` | No | `false` | `true`, `false` | `?hide_title=true` |
| `hide_background` | `boolean` | No | `false` | `true`, `false` | `?hide_background=true` |
| `hide_stats` | `boolean` | No | `false` | `true`, `false` or `1` | `?hide_stats=true` |
| `tz` | `string` | No | UTC | Any IANA timezone e.g. `Asia/Kolkata`, `America/New_York` | `?tz=Asia/Kolkata` |
| `lang` | `string` | No | `en` | `en`, `es`, `hi`, `fr`, `pt`, `ko` | `?lang=hi` |
| `view` | `string` | No | `default` | `default`, `monthly` | `?view=monthly` |
| `delta_format` | `string` | No | `percent` | `percent`, `absolute`, `both` | `?delta_format=absolute` |
| `width` | `number` | No | `300` | Any positive integer (applies to `view=monthly` only) | `?width=400` |
| `height` | `number` | No | `120` | Any positive integer (applies to `view=monthly` only) | `?height=150` |

### Theme Presets

Expand Down
Loading