[verdict][curated prompt][source: plausible.io]
Can I vibecode Plausible?
// one session, and a personal version you can actually use
Basic pageview/event analytics are easy, and Plausible's own code is open source; the paid value is hosted reliability, maintenance, and support.
confidence: high
what it is: Simple privacy-friendly website analytics
Buildability index · an editorial game
- Price 9 $/month weight: plus 1
- Time weekend weight: plus 2
- Category analytics no weight
- Moat infrastructure scale · compliance and regulation weight: minus 4
- Confidence high weight: plus 1
- What you lose 4 items weight: minus 2
- Site plausible.io (si apre in una nuova scheda) no weight
The moat outweighs the price: rebuilding this is a project, not an evening.
Gioco editoriale: il verdetto dice se un agente può, l’indice se conviene.
// free tier: No free plan, just a 30-day trial; the open source version is free to self-host.
What you build
Add a small JS tracker, collect pageviews/events, aggregate by path/referrer/country/device, and show a dashboard.
what you need
- hosted server
- database
- tracker script
- domain/SSL
- bot filtering
- backups
Script + ingest + dashboard is a weekend. The data pipeline polish; bot filtering, sessionization at scale; is the real product. Both are open source: self-hosting is the honest move here.
The prompt
One session with a coding agent and your version runs.
Build me a privacy-first web analytics tool like Plausible (personal scale).
Requirements:
- A <2KB tracking snippet (vanilla JS, no cookies): sends pageview beacons with
path, referrer, screen class, and a daily-rotating visitor hash computed
server-side from IP + user-agent + a salt (never store raw IPs).
- An ingest endpoint that filters obvious bots by user-agent and writes to
SQLite. One row per event; index on (site, date).
- A /dashboard (basic-auth from .env): unique visitors, pageviews, top pages,
top referrers, and countries for today/7d/30d, with a visitors-per-day bar
chart as inline SVG. Fast and clean, dark mode.
- Sessionization: a visit ends after 30 idle minutes; compute bounce rate.
- Multi-site support via a site id in the snippet.
- Node or Python, one process. Honest note in the README: at serious traffic,
self-host the real Plausible instead · this is for personal sites. Curated prompt: written and reviewed by hand for this app. In English on purpose — it is the language coding agents work best in.
What you lose
- battle-tested bot filtering
- fast queries at millions of pageviews
- email reports, funnels, goal tracking
- GDPR homework done for you
Why people still pay
They pay because analytics must be boring, fast, and legally safer without ops.
moat: Infrastructure scale Compliance and regulation what a moat is
open-source core/hosting
Free alternatives
Not in the mood to build it? These already exist, they are free or open source, and we checked them one by one.
Who has already built it
Starting from here is still vibecoding: the prompt is for when you want it exactly your way.
- plausible/analytics (opens in a new tab) — Plausible itself is open source; self-host it
- umami (opens in a new tab) — lightweight self-hosted analytics
Do you agree?
The vote balance
Ancora nessun voto: il tuo è il primo.
Nessun voto ancora — il primo pesa.