Beautiful activity heatmap for your profile!
^^^ Those are my stats!
You can either use the color scheme aware version:
<a href="https://heatmap.shymike.dev?id=YOUR_ID&standalone=true" title="Click to view detailed data for each day!">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://heatmap.shymike.dev?id=YOUR_ID&theme=dark">
<img alt="Hackatime activity heatmap." src="https://heatmap.shymike.dev?id=YOUR_ID&theme=light">
</picture>
</a>Caution
Only the top url in the a tag can have the standalone tag set to true, otherwise the graph will not appear!
Or the simple version:
<img alt="Hackatime activity heatmap." title="Click to view detailed data for each day!" src="https://heatmap.shymike.dev?id=YOUR_ID">All the parameters that can be adjusted are:
Some example are:
- https://heatmap.shymike.dev?id=1&padding=2&theme=catppuccin_dark&timezone=EST&rounding=100
- https://heatmap.shymike.dev?id=1&padding=0&theme=light&timezone=America/Los_Angeles&rounding=0
This parameter is mandatory and can be set to your Hackatime ID, Hackatime Username or Slack ID
Examples:
- https://heatmap.shymike.dev?id=1
- https://heatmap.shymike.dev?id=msw
- https://heatmap.shymike.dev?id=U0C7B14Q3
This parameter can be set to the identifier of any timezone on the tz database. Defaults to UTC.
- https://heatmap.shymike.dev?id=1&timezone=America/Los_Angeles
- https://heatmap.shymike.dev?id=1&timezone=EST
The theme can be set to either dark, light, catppuccin_dark or catppuccin_light. Defaults to dark.
- https://heatmap.shymike.dev?id=1&theme=dark
- https://heatmap.shymike.dev?id=1&theme=light
- https://heatmap.shymike.dev?id=1&theme=catppuccin_dark
- https://heatmap.shymike.dev?id=1&theme=catppuccin_light
The padding around each cell in pixels. Defaults to 2.
The rounding percentage of each cell. Defaults to 50 %.
The size of each cell in pixels. Defaults to 15 px.
The percentage ranges for each color as a 3 item string list. Defaults to 70,30,10.
Whether or not to embed HTML into the request. Defaults to false