Cloudflare D1 Visit CounterOpen-source · Self-hosted
✦ OPEN SOURCE · SELF-HOSTED

Visitor badges.
Your infrastructure.

An elegant visitor counter for GitHub READMEs and websites. Customize SVG badges, explore traffic trends, and own the data with Cloudflare Workers and D1.

WHY SELF-HOST

All the essentials, owned by you.

◈

Owned infrastructure

Run your own Worker and D1 database, with no shared counter storage.

▦

Customizable badges

Control badge style, labels, colors, and embed URLs.

⌁

Readable analytics

View trends, manage counter keys, and preserve your history.

GET STARTED

Deploy in three steps.

01 / SOURCE

Get the code

Clone the GitHub repository or copy worker.js。

02 / DATABASE

Create your D1 database

Initialize the counters table and configure binding HITS。

03 / DEPLOY

Configure your Worker

Set ALLOWED_DOMAIN and AUTH_CODE,then deploy to your own hostname.

Make it yours.

Open source, self-hosted, and built for long-term use.

Explore on GitHub ↗