Vibecode Cabin

track this build4 phases, 12 steps, beginner friendly
KINDA · weekend project
price variesbuild time weekend to multi-daycategory 📊 analyticsreplaced by 0 people

The visible privacy web analytics loop is buildable, but a credible replacement needs more than the first screen. Cabin earns its keep through ingestion, storage, reliability, so expect a weekend or multi-day build and a narrower personal scope.

the project pack5 files · written for this build, step by step
README.md
# Cabin · indie build

A first-party analytics collector whose hard problems are getting the beacon to arrive at all on a phone, deriving a visit identifier that stops being linkable tomorrow, and aggregating at ingestion so the individual rows can expire without taking the reports with them.

Estimated effort: **weekend**. Work `BUILD_PLAN.md` top to bottom · every phase ends in a check that has to pass before the next one starts.

## Stack

| Part | Choice | Why |
| --- | --- | --- |
| Collector | One endpoint on your own domain, no third-party host, no identifier shared between sites | a first-party aggregate-only collector is the only shape the analytics exception has room for |
| Beacon | sendBeacon with a keepalive fetch fallback, fired on visibility change | the unload event costs the page its back and forward cache and does not fire on a phone |
| Storage | An append-only raw table with a life measured in hours, plus aggregates written on receipt | the aggregates are the product and the raw rows are a liability with a timer on them |
| Identity | A daily hash of a rotating secret, a truncated address and the user agent, secret destroyed nightly | yesterday's hashes stop being linkable to today's, which is the entire design |
| Reports | Visits, pageviews, paths and referrer hosts, with no segment describing a person | the exception covers how the service is used, not who uses it |

## Before you start

Have every one of these ready. The plan assumes them from step one.

- [ ] **Node.js 22 or newer** · free
  - Why: Runs the collector, the sweep and the reports.
  - Get it: nodejs.org or your version manager.
  - Verify: node --version prints v22 or higher
- [ ] **A hostname on the same registrable domain as the site you are measuring** · free if you own the domain
  - Why: A first-party collector is the shape the exception has room for, and a third-party host reintroduces every question you were avoiding.
  - Get it: Add a subdomain of the site's own domain pointing at wherever this runs.
  - Verify: The collector endpoint answers on that hostname and the script loads from it
- [ ] **A real phone to test the beacon on** · free
  - Why: Switching apps rather than closing a tab is the case that unload never covered, and it is not reproducible in a desktop browser.
  - Get it: Any phone that can reach the site.
  - Verify: Loading a page and switching to another app produces an event
- [ ] **Which regime you are writing the notice for** · free
  - Why: The retention figures and the opt-out wording differ, and picking after you have built the sweep means picking whatever the sweep already does.
  - Get it: Decide which visitors you are designing for, read that regulator's current published guidance, and write the retention numbers and the objection mechanism into the configuration file with the date you checked.
  - Verify: The configuration carries the numbers and the date, and the notice is generated from it

## Quick start

Follow Phase 1 in `BUILD_PLAN.md`; it creates the project.

Then copy `.env.example` to `.env` and fill in the values it documents.

## Honest limits

This build deliberately does not replace:

- Session replay.
- Cross-site or cross-device identity.
- Advertising attribution and conversion tracking.
- Hosting analytics for other people's sites.
- bot and identity resolution
- session replay privacy tooling
- enterprise governance and integrations
- high-volume ingestion and retention

If one of those is essential to you, that is the reason to keep paying for Cabin, and the README should say so rather than pretend.

$ choose a build depth, inspect the files, then open the complete pack in your agent

why people still pay

Cabin: Customers pay for trusted numbers, retention, privacy controls, and a pipeline that remains accurate while traffic and schemas change.

what you lose

xbot and identity resolution

xsession replay privacy tooling

xenterprise governance and integrations

xhigh-volume ingestion and retention

share on X ↗"I just replaced Cabin with one prompt"
the escape hatch

Don't feel like building it? These folks already made it free.

UmamiA clean cookieless dashboard, minus Cabin's hosting bill.38kaug 2026open source↗Plausible Community EditionPrivacy-friendly traffic analytics in one Compose stack; the cloud-only extras stay elsewhere.28kaug 2026open source↗GoatCounterTiny traffic analytics that tells you what happened and declines to become a growth platform.5.8kaug 2026open source↗

all 3 free alternatives to Cabin →· no votes, no pay-to-list · just what's real

the numbers

Cabin pricing

planmonthlyannual (per mo)what you get
basic$0/workspace$0/workspace1 website; unlimited pageviews subject to fair use; 30-day data retention
pro$19/workspace—Unlimited websites, pageviews and data retention, all subject to fair use

free tier1 website, unlimited pageviews subject to fair use, and 30-day data retention

billingmonthly only on the public pricing page; no annual plan published

hidden costsBoth plans' 'unlimited' pageviews are subject to an undefined fair-use policy.

verified 2026-08-12 · source ↗

questions
Vibecode Cabin

Kinda. The core of Cabin is buildable in a weekend with the prompt on this page, but there are real gaps: bot and identity resolution, session replay privacy tooling. Read the honest list above before committing.

How much does Cabin cost?

Cabin's pricing is usage-based or varies by plan · The official pricing URL is recorded, but a stable current amount was not safely recoverable in this pass. Do not publish a number until rechecked..

What do I lose by replacing Cabin?

Honestly: bot and identity resolution; session replay privacy tooling; enterprise governance and integrations; high-volume ingestion and retention. If any of those are load-bearing for you, keep paying.

Is there an open-source alternative to Cabin?

Yes: Umami (A clean cookieless dashboard, minus Cabin's hosting bill.) Plausible Community Edition (Privacy-friendly traffic analytics in one Compose stack; the cloud-only extras stay elsewhere.) GoatCounter (Tiny traffic analytics that tells you what happened and declines to become a growth platform.) All 3 curated free alternatives are at vibecodeit.com/cabin/alternatives. The prompt is for when you want it exactly your way.