P

Marketing

Partai Site

Web-first · Local-first · TypeScript

Build local-first products faster

Auth, sync, AI, billing, and analytics wired together.

Local-first data

Electric + TanStack DB stream Postgres to the client; writes reconcile by transaction id.

AI runtime

OpenRouter gateway, dictionary-driven model policy, structured outputs, and Durable Streams.

Auth & API

Better Auth sessions and a typed tRPC API over Hono — one boundary for all product data.

Workflows & email

BullMQ on Postgres for product-critical jobs and Resend with localized React Email templates.

Billing

Stripe checkout, portal, and signature-verified webhooks behind a single package.

Analytics & logs

PostHog-first events and feature flags, with request/workspace correlation on every log.

Everything you need, on day one.

Twelve provider-boundaried packages, six apps, and a no-skip test suite. Clone it and start shipping product, not plumbing.

Open the product app