# benvinegar/counterscale

Scalable web analytics you run yourself on Cloudflare

Repository: https://github.com/benvinegar/counterscale
Canonical: https://ross.abutalabs.com/products/counterscale
Homepage: https://counterscale.dev
Language: TypeScript
License: MIT
License Family: permissive
Topics: analytics, cloudflare-analytics, cloudflare-workers, google-analytics, website-stats
Last push: 2026-08-11T01:56:29+00:00

## Health v2 (maintenance only)
Score: 79/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 61, longevity 70
- inputs: {"age_days": 986, "days_push": 23, "days_rel": 261, "gap_med": 7.5, "n_releases_24m": 21}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2122, forks 123 (observed 2026-08-28T04:06:16.630654+00:00)

## What it is
Counterscale is a self-hosted, privacy-friendly web analytics tracker and dashboard built on Cloudflare Workers and Workers Analytics Engine. It is designed for near-zero cost operation, easy CLI-based deployment, and cookie-free tracking of pageviews, referrers, and engagement.

## Use cases
- self-host website analytics on Cloudflare
- replace Google Analytics with a privacy-friendly alternative
- track pageviews and referrers without cookies
- run web analytics at near-zero cost on Cloudflare's free tier
- deploy a web analytics dashboard in minutes with a CLI
- keep ownership of website traffic data

## When to choose
- you already use Cloudflare and want simple, cheap, self-hosted analytics
- you need cookie-free, privacy-respecting traffic tracking
- you want a lightweight alternative to Google Analytics or Plausible without subscription costs
- you prefer serverless infrastructure with no databases or containers to manage

## When to avoid
- you need more than 90 days of queryable data (long-term storage exists but is limited)
- your site is not served through Cloudflare or you don't want a Cloudflare account
- you need advanced analytics features like funnels, session replay, or A/B testing
- you require GDPR-style data residency controls or self-hosting outside Cloudflare

## Facets
- artifact type: application
- maturity: active
- function: analytics, self-hosted, web-scraping
- domain: analytics, web-development, privacy, self-hosted
- platform: cloud, serverless, self-hosted
- tags: cloudflare-workers, web-analytics, privacy-friendly, google-analytics-alternative, serverless, web-server

## Member repositories
- benvinegar/counterscale (main) score 79

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:16.630654+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:52:51.764057+00:00, confidence not recorded.
  - readme: https://github.com/benvinegar/counterscale (fetched 2026-08-28T04:06:16.630654+00:00, sha 7c9bc9eb16f5)
  - homepage: https://counterscale.dev (fetched 2026-08-29T10:33:10.735127+00:00, sha c810881b9b1d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
