Analytics ingest — first service, shipping now

Stateful primitives for Cloudflare Workers, without Durable Object pricing.

Sideterra is a cheap, typed, multi-tenant services plane: analytics that don't bankrupt you, Redis and SQL that just work, realtime on your terms. One npm package, one env var, done.

// your worker
import { analytics } from "@sideterra/analytics";

await analytics.log("page_view", { url: request.url });

The services plane

Every service is multi-tenant from day zero and reachable from any Worker with a scoped API token.

first to ship

Analytics logging

Fire-and-forget event ingest into ClickHouse. Batched, compressed, and priced so you can log everything.

in design

Redis service

Keyspace-scoped Redis for hot state, counters, rate limits and queues — no Durable Object tax.

in design

SQL service

Multi-tenant Postgres with Row-Level Security enforced server-side; an embedded-SQLite core is the named follow-up.

in design

Realtime

A self-hosted, modified Mercure hub (SSE) for push, pub-sub and orchestration between your Workers and ours.

Ship state in three steps

  1. 1

    Sign in

    Google OAuth, one click. Your org, your members, your tokens.

  2. 2

    Provision a service

    Pick a region, get scoped per-service credentials.

  3. 3

    npm i @sideterra/*

    Typed client auto-loads credentials from your Worker env.