- Show a dynamic hits counter by inserting a <img>.
- Resolve referer automatically.
- Show last n days trends with
charts=date&last_n_days={n}
. - Customise prefix text with
prefix={text}
. - Align with system dark mode with 0 config.
- 2 color themes out of the box. (more are comming...)
- Secure your hits with
ALLOW_REFERER
env. - Deploy your own version with Deno deploy and Deno KV.
After deployment, copy-paste this into you Github markdown, and replace the {referer}
.
![hits](https://{your-domain}.deno.dev/api?referer={referer})
You don't need to pass the {referer}
when embeding into web pages.
<img src="https://{your-domain}.deno.dev/api" referrerpolicy="no-referrer-when-downgrade" />