close

DEV Community

Rex Naing
Rex Naing

Posted on

Why I Open-Sourced RexOne: The Sovereign Antidote to $200–$800 Boilerplates & AI Vibe-Coding

Every software founder and engineering lead tells themselves the exact same comfortable lie:

"We just need a lightweight MVP. We’ll build our core feature in 4 weeks, and worry about infrastructure later."

Here is the brutal truth of what actually happens over the subsequent 9 months:

  • Month 1–2 (Auth & Identity Hell): JWT tokens, refresh cycles, email confirmation, password resets, and RBAC. The "4-week MVP" is already 100% consumed by login screens.
  • Month 3–4 (Stripe & Billing Agony): Webhook reconciliation, subscription cancellations, proration races, coupon discounts, failed invoices, and idempotent state transitions.
  • Month 5 (Storage & Media Pipelines): S3 bucket credentials, presigned upload tickets, image variants, Redis brokers, and bloated hosting bills.
  • Month 6–7 (Operations Admin & Real-Time Sync): Building CRUD tables, metrics charts, and WebSocket channels from scratch.
  • Month 8 (Mobile Client Frustration): Connecting Flutter or React Native exposes 50 mismatched JSON keys, missing endpoints, and fragile auth persistence between Web and Mobile.
  • Month 9 (The Tech Debt Wall): Zero automated tests. Spaghetti code. Terrified to touch a single line because changing one model breaks 4 disparate screens.

The Financial Reality: A small team burns $150,000 – $300,000 in payroll. 85% of that code had NOTHING to do with the proprietary product idea. It was just the generic, universal plumbing required to run any commercial software.


The Commercial Boilerplate Scam: Paying $200–$800 for Web-Only Scaffolding

To bypass this 9-month trap, developers buy commercial boilerplates. But look at what the market actually sells you:

  1. ShipFast ($169 – $299): Next.js web only. Zero mobile apps. No background queues (serverless functions timeout after 10s). Zero enterprise RBAC. No AI coding rules (unguided vibe coding).
  2. Makerkit & Supastarter ($199 – $699): Web only. Expensive proprietary single-seat licenses. Heavy lock-in to proprietary BaaS cloud bills. Zero native mobile offline sync.
  3. Jumpstart Pro ($249/yr or $749): Server-rendered HTML monolith with "Turbo Native" wrappers. But Turbo Native is just sluggish webviews inside a frame, not compiled native 60fps reactive mobile UI.
  4. SaaS Pegasus & Larafast ($99 – $795): Web-only runtimes requiring external Redis brokers and Celery daemons that spike VPS RAM bills.

The Architectural Matrix: RexOne vs The Market

Dimension / Capability 🛡️ RexOne Sovereign Trinity ⚡ ShipFast ($169–$299) 🏢 Makerkit & Supastarter ($199–$699) 🚂 Jumpstart Pro ($249–$749)
Supported Platforms ✅ Sovereign Tri-Platform: Rails 8 API + React 19 SPA + Flutter 3 Mobile ❌ Next.js Web Only (No Mobile) ❌ Next.js / Remix Web Only ⚠️ Rails Web + Turbo Webview wrapper
Pricing & License ✅ 100% Free & Open-Source (Apache 2.0) ❌ $169–$299 Paid (Proprietary) ❌ $199–$699 Paid (Proprietary) ❌ $249/yr or $749 Paid License
Native Mobile App ✅ Native 60fps Flutter 3 with Drift SQLite offline sync & Biometrics ❌ None ⚠️ Fragmented third-party SDKs ⚠️ Turbo Native (sluggish webview)
Offline Durability ✅ Drift SQLite (rexone_offline): Schema mirroring & AES-256 local storage ❌ None (App crashes on disconnect) ❌ Unreliable offline sync ❌ None (Webview requires network)
Background Jobs ✅ Solid Queue (Fibers + Threads): In-database, zero Redis costs ❌ Serverless Timeouts (Forced into Inngest/QStash) ⚠️ 10s Edge Function CPU limits ⚠️ Requires external Redis broker
Real-Time Delivery ✅ Solid Cable: Native persistent WebSockets in PostgreSQL ❌ Broken on Serverless (Forced into Pusher/Ably) ⚠️ Supabase Realtime pricing tiers ⚠️ Requires Redis broker
Object Storage ✅ Self-Hosted Garage S3: High-performance, $0 egress bills ❌ AWS S3 / Cloudflare R2 egress fees ⚠️ Vendor-locked cloud storage ladders ⚠️ Tied to AWS S3 bucket bills
AI Governance ✅ Constitutional Laws (LAW.md & AGENTS.md): Deterministic guardrails ❌ Unguided Vibe-Coding Debt ⚠️ Generic prompt markdown ⚠️ Standard conventions only
Automated Tests ✅ 1,785+ Passing Automated Tests across Core, Web & Mobile ❌ Near zero test coverage ⚠️ Basic smoke tests ⚠️ Moderate test suite

The Antidote: Discipline-Driven Development (DDD) & LAW.md

In the AI era, typing code is free. An LLM will happily generate 10,000 lines of synthetically plausible spaghetti in 60 seconds.

Speed without disciplined architecture is just accelerating toward a brick wall. That is why RexOne pioneers Discipline-Driven Development (DDD):

  1. Constitutional Law (LAW.md): An immutable architectural constitution. AI coding agents operate inside strict deterministic guardrails rather than playing architect.
  2. Law U14 (Pure Parameter Contracts): Zero loose optional arguments, zero synonym keys (e.g. no user_name: nil, name: nil). Pass domain entities directly.
  3. Zero Deprecation Cowardice: When code is replaced, old code is completely wiped out. Zero zombie branches. Zero legacy bloat shims.
  4. Law U15 (Human-Readable Plain English): Zero alien syntax, nested ternaries, or esoteric metaprogramming. If a junior engineer or auditor cannot understand it in 5 seconds, the code is rewritten.

You bring the idea. AI writes the code. RexOne keeps both of you from destroying the foundation.


Monolithic Elegance Under 2 GB RAM

RexOne runs the entire ecosystem—Rails 8.1 API, PostgreSQL 18, Solid Queue, Solid Cable, and European Garage S3—on a single $5–$10/month VPS with under 2 GB of RAM.

No Redis. No Pusher subscriptions. No AWS S3 egress taxes. No closed BaaS lock-in.

Start from One. Not from Zero.

Instead of burning 9 months on plumbing, you spin up Docker on Day 1, run 1,785+ passing automated tests, and focus 100% of your energy on the proprietary domain logic that actually makes your product valuable.

100% Free. Apache 2.0. Sovereign forever. 🛡️✨

Top comments (0)