Serving Both Plain Rork and Rork Max From One Backend — Designing an API Response Contract That Never Breaks Old Binaries
When plain Rork (React Native / Expo) and Rork Max (native Swift) both call the same Cloudflare Workers backend, the whole design centers on not breaking old binaries you cannot force-update. Wrap responses in an envelope, evolve them additively, absorb client differences with capability flags, and retire old contracts safely — shown in code.
Hardcoding Your OpenAI Key in a Rork (Expo) App Means It Gets Stolen — Slip a Thin Worker Proxy In Between
Embed an OpenAI or Gemini API key directly in the Expo app Rork generates and it can be extracted from the shipped binary. Here is why a key inside an app is never secret, plus a minimal Cloudflare Workers proxy that hides it (streaming passthrough included), simple abuse controls, and key rotation that needs no app review.
Why Your Rork App's Stripe Webhooks Drop Events Only in Production — Field Notes on Idempotency, Retries, and Out-of-Order Delivery
A field-tested four-layer design for stabilizing Stripe webhooks that pass locally but silently misfire in production: signature verification on Workers, event-ID idempotency, fast-2xx-then-process, and a reconciliation job that survives out-of-order delivery. Built around Cloudflare Workers and KV.
Running Crash-Free Rate as a Budget: An SLO Design Note for Deciding Where to Invest Across 6 Indie Apps
Notes from running 6 wallpaper apps in parallel and the shift from treating crash-free rate as a pass/fail threshold to treating it as an error budget. A working write-up on turning burn rate into investment and sunset decisions.
Making Silent Failures Visible Across 6 Rork Apps: An Early-Warning Design Note for Non-Crash Degradation
Notes from running 6 wallpaper apps in parallel and the layer I built in 3 weeks to make Crashlytics-invisible failures observable. Beacons, timeouts, and a small Cloudflare Worker for cross-app aggregation.
Aggregating App Store Connect, RevenueCat, and AdMob into One Morning Digest with Cloudflare Workers — A Six-App Indie Architecture
A practical architecture for indie developers running multiple Rork apps: aggregate App Store Connect API, RevenueCat REST, and AdMob Reporting API in a Cloudflare Workers Cron job and ship a single daily Slack digest each morning.
Enforcing AI Cost Ceilings at Runtime — A Budget-Guard Architecture for Rork Apps
How to stop runaway AI bills not by optimizing, but by physically enforcing budget at runtime. An indie developer's three-layer architecture using Cloudflare Durable Objects, with hard-won lessons from running 50M-download apps.
Building an AI Writing Coach App with Rork Max — Complete Implementation Guide for Claude API Streaming, RevenueCat Subscriptions, and History Management
A complete guide to building an AI writing coach app using Rork Max and Claude API. Covers backend architecture, SSE streaming, RevenueCat subscription tiers, MMKV history persistence, and App Store strategy — production-ready code throughout.
Designing a Subscription Entitlement State Machine in Rork — Never Misidentify Who Has Access Right Now
Design a subscription entitlement state machine in Rork that never confuses refunds, family sharing, cancel, resubscribe, or grace periods. Production-ready code and pitfalls included.
Rork × Vercel AI SDK: Implement Streaming, Tool Calling, and Structured Outputs with Full Type Safety
Learn how to integrate the Vercel AI SDK into your Rork app for streaming chat, tool calling, and structured outputs — all with complete TypeScript type safety using Cloudflare Workers and Hono.
LLM Streaming in Rork Apps: Building ChatGPT-Style Real-Time AI Responses with Expo and SSE
Field notes on shipping LLM streaming (SSE) in React Native and Expo. Anthropic, OpenAI and Gemini behind one interface, AbortController cancellation and retries, a Cloudflare Workers proxy, context compaction, and a mock SSE server for testing at zero API cost.
Rork Max × OpenAI Responses API: to Building Stateful AI Agents in Mobile Apps 2026
A complete guide to implementing stateful AI agents in Rork Max apps using the OpenAI Responses API. Learn how to integrate built-in tools like web search, file search, and code interpreter via Cloudflare Workers, with practical monetization strategies for indie developers.