
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
Claim this listing to keep it accurate, add a deploy template, or feature it on relevant pages.
Embed the Counter difficulty badge in your README — it links back here.
[](https://openreplace.com/counter)Similar open-source projects
Other self-hostable tools in the same space worth comparing.
Simple, fast, privacy-focused web analytics in a single lightweight dashboard
All-in-one product analytics, session replay, feature flags, and A/B testing
Interactive visualizer for neural network and machine learning model graphs
Self-hosted social media scheduling and analytics platform for all major networks