Counter logo

Counter

Minimalist self-hosted hit counter and page-view tracker

2k Go MIT 1 month ago

Overview

Counter is an extremely lightweight Go service that records page hits and unique visitor counts with near-zero setup — a single binary backed by SQLite. It exposes a simple HTTP API and an embeddable badge for README files or websites. Best suited for personal projects, GitHub repositories, or open-source libraries that want basic traffic insight without a full analytics stack.

Where it falls short of Google Analytics

  • No funnel, cohort, or retention analysis whatsoever
  • No custom event tracking beyond page hits
  • Data aggregation is coarse; no drill-down by browser, OS, or campaign

We list the gaps honestly so you can decide if the trade-off is worth owning your data.

Tags

minimalist
hit-counter
lightweight
sqlite
Maintain Counter?

Claim this listing to keep it accurate, add a deploy template, or feature it on relevant pages.

Show off your self-host difficulty score

Embed the Counter difficulty badge in your README — it links back here.

Self-host difficulty badge← add this to your README
[![Self-host difficulty](https://openreplace.com/api/badge/counter)](https://openreplace.com/counter)

Similar open-source projects

Other self-hostable tools in the same space worth comparing.

Sponsored

Simple, fast, privacy-focused web analytics in a single lightweight dashboard

37k TypeScript MIT 6 days ago
3/5
1-click
Counter vs Umami

All-in-one product analytics, session replay, feature flags, and A/B testing

35k Python MIT 5 days ago
5/5
Counter vs PostHog

Interactive visualizer for neural network and machine learning model graphs

33k Python MIT 8 days ago
1/5
Counter vs Netron

Self-hosted social media scheduling and analytics platform for all major networks

32k Docker AGPL-3.0 5 days ago
3/5
Counter vs Postiz