Vane

Available

Cookie-free website visits, sources, campaigns and goals with portable history.

Vane is available as MIT-licensed source for self-hosting. See its public source and release documents for setup. Business can also install and run projects for invited accounts; the app shows whether it offers Vane before checkout.

Run Vane on your own computer with one line:

npx -y @runeditrun/rer dev just-every/run-vane

It clones the public source, installs it, sets up a local owner and starts the app; nothing is deployed. To set up without starting, run npx -y @runeditrun/rer setup just-every/run-vane. Without Node 22 or later, run curl -fsSL https://runeditrun.com/install.sh | sh -s -- dev just-every/run-vane.

Or have your agent set it up for a Business: Start a Business with Vane ticked

For HappyToHelp: Assisted is in early access; Managed is in early access.

Category
analytics
Licence
MIT
Version
0.1.1
Requirements
17 clauses
Release signature
Signed by just-every · key rer-ed25519-5a42fb9c9c4f8acb2b32386e9e40461c · statement
Target release
v0.1.1 · published
Publisher’s stage
first-release-candidate

Outside services

The services the project declares it sends data to, each with its reason.

cloudflare
Workers/D1 hosting and explicit owner-initiated first-party proxy route or dedicated-domain setup (INSTALL-006)
warehouse
The owner's scheduled warehouse export (API-002) to their own Amazon S3 or Cloudflare R2 bucket
webhooks
Signed webhooks an owner or administrator adds (API-003) to their own endpoints
push
Browser push services (MOBILE-001) that deliver alerts to the browsers where a signed-in person turned them on
matomo
Owner-initiated read-only Reporting API history import (IMPORT-005)
google-search-console
Owner-approved read-only Google Search Console OAuth (SEARCH-001)
bing-webmaster-tools
Owner-connected read-only Bing Webmaster Tools query/page aggregates (SEARCH-002)
slack
Owner-approved Slack bot OAuth and aggregate chat reports/alerts (REPORT-002)
teams-workflow
Owner-connected Microsoft Teams workflow webhook for aggregate reports/alerts (REPORT-002)
nook
Owner-connected Nook NOOK-079 scoped integration token for aggregate reports/alerts (REPORT-002)
plausible
Owner-initiated read-only goal and property recovery at fixed official plausible.io endpoints (IMPORT-009)
models
The owner-enabled plain-English questions (AGENT-007) go to the model provider the deployment configured through the Base ai module (AI_ENABLED)
github
AGENT-001 owner-connected fixed-host deploy-diff reads and separately approved script-only draft PRs in explicitly mapped templates
google-analytics
Owner-connected read-only property aggregate history and key events (IMPORT-002)

Scope and limits

What it will not do

  • Visitor fingerprinting
  • Session replay
  • Advertising attribution

Declared limits

Status
unmeasured

Requirements

All 17 clauses of Vane’s CONTRACT.md. They say what the project must do; the handover and verification records say what is built and tested.

HTTP 1 clause

  1. HTTP-001
    One Worker with honest public and private doors One Cloudflare Worker serves the installed instance. The Lobby is at /, with /health, /signin and /setup. The collection script is at /vane.js, with its collection and configuration endpoints. Private /app and /api/vane/* routes are behind native sessions, and unknown paths return real 404 responses. The public run site is a separate static surface. Acceptance evidence: Request /health, /vane.js, an unknown path and every private route signed out on a built Worker. Health answers, the script is served, unknown paths return 404, and private routes return 401 or redirect to sign-in (tests/vane.test.mjs).

ACCESS 2 clauses

  1. ACCESS-001
    Owners approve, administrators prepare, members read Roles come from the native operator accounts. Members read sites and reports; TEAM-001 makes each member a Viewer, who reads and adds notes, or an Analyst, who also prepares goal, funnel and no-code event changes; no member prepares a site, other settings or erasure. Administrators also prepare site, settings and erasure proposals. Only the owner approves proposals, imports, restores and exports history. A revoked operator loses access on their next request. Acceptance evidence: Invite an administrator and a member. The member cannot prepare a site, the administrator cannot approve or import, export is owner-only, and revoking the administrator ends their session (tests/vane.test.mjs).
  2. ACCESS-002
    Private doors refuse signed-out and cross-origin requests Every private read and mutation needs a native session, and every mutation needs the configured same origin. A direct transport call gets the same refusal as a browser route. Acceptance evidence: Call every private GET and POST door signed out, signed out after sign-out, and with a foreign Origin. Each is refused with no write (tests/vane.test.mjs).

APPROVE 1 clause

  1. APPROVE-001
    Prepared changes apply only on the owner's recorded approval A site, a settings change or a history erasure can be prepared in the UI or through the agent command API. Each change waits as a proposal until the owner approves it once through the approval form. The approver, the preparer and the time are recorded. Approval refuses a proposal whose site version has changed. The command API can prepare and read proposals but can never approve them. The one exception is the owner's provisioning key (API-001): the owner's standing approval, under which each site, goal or shared link it asks for is prepared and approved at once in the owner's name and audited via key:<label>. Acceptance evidence: Prepare as an administrator, approve as the owner, then approve again; the second approval gets 409. Inspect the proposal for distinct preparer and approver (tests/vane.test.mjs).

COLLECT 1 clause

  1. COLLECT-001
    A cookie-free script that sends only declared anonymous fields vane.js sets no cookie or browser storage except the two declared exceptions below. In default mode it sends no visitor or session identifier, user agent, raw URL or query values. Only the consented-mode exception (METRIC-005) adds a transient random identifier and its issue time after explicit consent; only its site-scoped digest is stored. When Do Not Track or Global Privacy Control is set, Vane does nothing, with one exception: when the owner enables the PRIVACY-002 counter, that page load sends one field-free count and nothing else. Collection accepts events only from the site's registered origin and only with the declared field set. It refuses extra fields, such as an email address. This clause constrains the field set: no stored raw identifier, ever. The hostname field belongs to COLLECT-002/DASH-013, and the target field set and server-side derivations are widened by COLLECT-002, DASH-013, METRIC-001, DASH-005/DASH-006, PERF-001 (page timings), CONV-002 (custom events and properties), CONV-006 (revenue amounts) and CONV-007 (ecommerce product lines) and METRIC-005 (consented random identifier and issue time, raw values discarded before storage) under that constraint. The target allows exactly two declared exceptions to "no browser storage", and the methodology page (METRIC-004) and data inventory (PRIVACY-001) name both. One is the owner's own-browser exclusion (COLLECT-003): a single vane_ignore localStorage flag holding no identifier, written only when the owner opts that browser out with #vane-ignore=on and cleared with #vane-ignore=off. The other is the consented identifier (METRIC-005), written only after granted consent. A visitor in the default mode gets no cookie and no storage. COLLECT-001 is complete with the vane_ignore own-browser exclusion, both storage exceptions named on /methodology and in the report's data inventory, and its browser proof; adding the hostname is COLLECT-002/DASH-013 work. The public script-config door returns only the script’s consent/adapter, declined counter, sampling, automatic-event, kept-query, search-parameter and approved event-definition settings. Only when the owner has approved incumbent compatibility (IMPORT-008) does it add incumbentCompatibility: true and the site’s ISO currency; compatibility off is byte-for-byte the earlier response. Only when the owner enables METRIC-005 does the config additionally expose consentedVisitors: true and its approved consentLifetimeMonths; the mode being off adds neither field. Excluded IPs/countries, goals, funnels, source rules, retention, public-report settings and secrets never leave through this door. Acceptance evidence: Post an event from a foreign origin (403), with an extra personal field (400) and with a path carrying a query (400). A valid event is accepted (202) (tests/vane.test.mjs). In a browser, a default-mode pageview leaves no cookie and no storage entry; #vane-ignore=on writes only vane_ignore and excludes that browser, and #vane-ignore=off clears it. /methodology and the report's data inventory name both storage exceptions. With DNT and then GPC set, a page load sends nothing while the PRIVACY-002 counter is off, and exactly one field-free count and nothing else while it is on. The public-config journey asserts both compatibility modes: an unapproved proposal changes nothing; approval adds only the compatibility flag and ISO currency; private fields stay absent, and approved opt-out restores the exact earlier response bytes.

CONSENT 1 clause

DEDUP 1 clause

  1. DEDUP-001
    Each page load is admitted once A fresh UUID identifies each page load. A repeat with identical data is acknowledged as a duplicate without counting twice, and a repeat with different data is refused. Acceptance evidence: Send the same event twice (202, then 200 with nothing counted) and then a conflicting copy (409). The report counts one visit (tests/vane.test.mjs).

TRAFFIC 1 clause

  1. TRAFFIC-001
    Page loads, sources, campaigns and goals with a comparison and stated limits For any date range (default: the last seven days), the report shows accepted page loads, goal conversions, referring hostnames, campaigns, pages and goals. The totals and every breakdown row (referring hostnames, campaigns, pages and goals) carry their previous-period count and change, compared with the preceding period of the same length. Beside them, the report states the limits of collection coverage: sampling, consent, configured paths, imports and unknown coverage. The page-load count stays visible as pageviews when METRIC-001 and METRIC-002 add visitors and visits. Acceptance evidence: Collect events in two adjacent periods of the same length and read the summary. The compared totals and every referring-hostname, campaign, page and goal row show the correct previous-period count and change, and the counts and coverage-limit text match the seeded events.

IMPORT 1 clause

  1. IMPORT-001
    Reviewed, journaled and undoable event-based analytics import The owner previews a documented event-based analytics v2 Events page without any write. Visitor identifiers, titles and raw URLs are discarded before custody. The owner then approves the exact reviewed document by its fingerprint. The import is idempotent and resumable, every effect is journaled, and an undo removes its contributions while the journal remains. Acceptance evidence: Preview the import (no writes, no raw identifiers), apply it with a changed fingerprint (409), apply it twice (one job), read the journal and undo it (tests/vane.test.mjs).

ARCHIVE 1 clause

  1. ARCHIVE-001
    Complete history export and atomic restore The owner exports every analytics, proposal, deletion and import-custody table as an integrity-checked archive, including each site's US metro-name table with its source label and public choice (DASH-005). Restore works only into an empty installation, keeps the owner sign-in, rejects a corrupt archive and preserves import undo. Acceptance evidence: Export, corrupt the archive and restore it (400, no writes). Restore the real archive into an empty installation, check that the tables are identical, restore it again (409) and undo the restored import (tests/vane.test.mjs).

ERASURE 1 clause

  1. ERASURE-001
    Owner-approved erasure, fenced against old backups An approved history erasure removes a site's live and imported events and retires its import custody. It records a deletion journal, and a later journal refuses the restore of an older archive that still holds the erased history. Acceptance evidence: Erase a site with live and imported history. Both are gone, the deletion and erasure journals exist, and restoring the old archive with the later journal is refused (tests/vane.test.mjs).

RETENTION 1 clause

  1. RETENTION-001
    The declared retention window erases older history Each site declares 30, 90 or 365 days of retention (the PRIVACY-001 target adds 13 and 25 months and unlimited). Applying retention erases older live and imported events in resumable steps and records the deletion in the journal. Acceptance evidence: Import old history, collect a recent event and apply retention until it completes. The old history is gone, the recent event remains, and one deletion is journaled (tests/vane.test.mjs).

RUNSITE 1 clause

  1. RUNSITE-001
    The public run site reaches installation and every guide The public homepage links to /run and /docs. /run shows the real rer dev just-every/run-vane launch command, and every guide's local links resolve. The run site contains only public routes, reads no installation data and loads only local assets; Run and Docs work without JavaScript. Acceptance evidence: rer build --site, then follow every local link from the built homepage and guides (tests/site.test.mjs).

DOCS 1 clause

  1. DOCS-001
    Documentation built from repository Markdown /docs renders the repository's Markdown guides with readable code blocks, tables, section links and optional copy-to-clipboard controls. Acceptance evidence: Build the site and open each guide. Code blocks, tables and heading anchors render, and the clipboard control copies the block.

HOME 1 clause

  1. HOME-001
    The approved homepage in the shared theme The run site serves the owner-approved design-desk landing page (17 Oct 2026: the weather vane in an open sky, the swallow mark, Inter Tight and Inter type; page-s1: one launch week at Juniper Coffee, dated section by section, with the hero's wind carried down the page as one trail) in the shared theme with locally served fonts and artwork. At phone width its hero cards and every section's drawing stack under their copy. Its Juniper Coffee figures are explanatory drawings and are never seeded as analytics. Acceptance evidence: The independent visual gate compares the built homepage at 1440 and 390 px with the approved specification and picks. In the repository, a browser opens the built homepage at 390 and 1440 px: at 390 px the hero cards and every section's drawing sit under their copy with no sideways scrolling, at 1440 px each two-column section's drawing sits beside its copy and the wind trail runs down the page, and every font, image and style comes from the run site itself, with Inter Tight and Inter loaded.

LOBBY 1 clause

  1. LOBBY-001
    The installed Lobby and real sign-in stay intact An installed instance keeps its Lobby at /, real sign-in and first-run setup flows, and its existing authenticated routes, all in the shared Vane theme. Acceptance evidence: On a fresh installation, bootstrap the owner, complete /setup, sign in by email link and open /app. No landing-drawing numbers appear in analytics.

DEPLOY 1 clause

  1. DEPLOY-001
    Run-site deployment stays behind its switch Run-site deployment runs only when the owner sets RUN_SITE_DEPLOY. The run site is configured for run-vane.com. Existing edition, package, Worker and database identifiers are preserved. Acceptance evidence: With the variable unset, the run-site workflow skips deployment. The identifiers in wrangler.jsonc, package.json and edition.json are unchanged.

View as agent

Everything on this page is in these files, copied unmodified from the release. An agent evaluating Vane can read them instead of the page.

seed.json
The manifest: capabilities, outside services, extension points, limits, operating cost and deployment needs.
CONTRACT.md
The requirements on this page, in source form.
AGENTS.md
Instructions for the coding agent that maintains an installation.
LICENSE
RELEASE.json
README.md
Source setup, available commands and implementation status.
OPERATIONS.md
How the project is set up, operated and deployed.
ACCEPTANCE.md
What the publisher accepts as a finished release.

Every project, with its availability, is in /agents/catalogue.json; the agents page describes the machine-readable files.