The AI-native Rails 8 starter

Everything but your product is built.
Ship this weekend.

The boring 90% of every SaaS — auth, billing, admin, deploys — already working, tested, and documented so your AI agent builds on it instead of reinventing it. You and your agent start at your product.

PaymentsSign-insEmailsAdminJobsDeploys

One-time payment · Updates included · Unlimited projects

your-saas — zsh
$ git clone uno my-saas && bin/setup
→ 5 databases ready · auth, billing, admin live
$ claude "build my invoicing feature"
→ follows AGENTS.md conventions · tests green
$ kamal deploy
→ https://my-saas.com — SSL, CDN, jobs. Done.
$
Rails 8.1Ruby 4.0PostgreSQLSolid Queue / Cache / CableHotwirePhlex 2Tailwind 4BunRails Event StoreStripeFlipperKamal 2

01 / The problem

Even with AI, the first weeks of every SaaS are the same.

Prompt, review, debug, harden — and none of it is your product.

AuthClaude writes it in an hour. Auditing token rotation, OAuth edge cases, session fixation — that's yours.
StripeWebhooks look right until the first double-charge in production.
Admin panelRegenerated from scratch in every project. Consistent in none.
Background jobs & emailEasy to scaffold. Hard to make idempotent, observable, and retry-safe.
Security & API hardeningEncryption, rate limiting, GDPR — the parts you can't vibe-check.
DeployDocker, SSL, CDN, object storage. A day of yak-shaving before anyone can click your idea.

AI made writing code cheap. It didn't make being wrong cheap.

RafpostPanel ships the parts you can't vibe-check — tested, documented, extracted from production apps. You start at the interesting part.

02 / What's inside

Everything already wired.

Not stubs, not TODOs — working features extracted from production apps, each with its own documentation.

Auth, every flavor

Magic links, one-time codes, Google & Apple sign-in, classic Devise. JWT with refresh-token rotation for the API. Signups gated behind a feature flag.

Stripe billing, wired

Checkout, customer portal, webhook handling, purchase models, and a daily job that resets monthly and weekly plans. Connect your keys and charge.

Full admin panel

Users with impersonation, roles with audit history, feature flags, moderation, bug reports, feature requests, changelog — plus a Cmd+K command palette.

Background jobs, no Redis

Solid Queue on its own Postgres database with the Mission Control dashboard mounted at /jobs. Recurring jobs and reminder sweeps included.

Email, push, Slack, realtime

Multi-channel notifications via Noticed: transactional email components, FCM push, ActionCable realtime sync, and Slack alerts — each behind a kill switch.

End-to-end encrypted API

RSA-OAEP + AES-256-GCM envelope encryption for mobile API payloads with key rotation. ActiveRecord encryption and rack-attack rate limiting on top.

Event sourcing built in

Rails Event Store on a dedicated database: domain events, sagas, CQRS read models, and a full audit trail. Browse every event at /res.

Architecture that scales

Domain contexts under app/core, application services on dry-rb, nine battle-tested base classes. New features follow a documented convention, not vibes.

Deploy on day one

Kamal 2 + Docker + Thruster. One command puts you in production with SSL, HTTP caching, and Cloudflare R2 object storage — optionally encrypted at rest.

Fast by default

Solid Cache, immutable asset caching, stale-while-revalidate headers, and Prosopite N+1 detection that fails the test suite before regressions ship.

AI infrastructure ready

RubyLLM multi-provider clients (OpenAI, Gemini, Grok, Qwen), usage logging, audit trail for LLM calls, and a generic tool-calling agent framework.

Mobile from the same codebase

Hotwire Native iOS shell ready to rename and sign, PWA with install prompt, and an offline-sync API reference implementation with tombstones.

03 / Architecture

Vibe-coded apps stall at the demo. This one scales.

Quick AI generation gets you a prototype — then the wall: tangled controllers, no boundaries, every feature harder than the last, until the rewrite. RafpostPanel hands you the architecture enterprise SaaS run on: domain contexts, application services, domain events, and read models — so the code still makes sense at feature #50.

  • Event sourcing with Rails Event Store — every state change is a fact you can replay and audit
  • Application services on dry-rb monads — one entry point per use case, no fat controllers
  • CQRS read models for fast, denormalized queries
  • Minitest suite with integration tests, factories, VCR — and an N+1 guard that fails the build
  • Pure-Ruby Phlex views — token-efficient for Claude Code & Cursor, refactorable like any Ruby
  • Clear boundaries keep AI agents productive at feature #50 — structure isn't just for humans
app/core/billing/application/activate_subscription.rb
class ActivateSubscription < ApplicationService
  def call(command)
    subscription = yield find(command.id)
    yield activate(subscription)

    publish(SubscriptionActivated.new(
      subscription_id: subscription.id
    ))

    Success(subscription)
  end
end

04 / Built for AI agents

The codebase your agent wishes you had.

Everyone has the same AI tools now. Pointed at a vibe-coded prototype, they compound the mess. Pointed at RafpostPanel, every prompt lands on architecture built to scale.

AGENTS.md + 30 per-feature docs

Your agent reads the manual and ships in one pass — no archaeology, no guessing.

Phlex views are pure Ruby

A fraction of the tokens ERB/HTML burn. Cheaper prompts, more accurate edits.

Documented conventions for every layer

The agent follows the paved road instead of inventing structure at 2am.

A test suite that reviews your agent

Integration tests, factories, and an N+1 guard that fails the build before slop ships.

05 / Back office

The admin panel alone would cost more to build than all of RafpostPanel.

Day one, you can support users, flip features, watch jobs, and audit everything — without writing a single admin view.

Users — impersonate, suspend, reset, sync
Roles with full audit history
Feature flags (Flipper UI at /flipper)
Jobs dashboard (Mission Control at /jobs)
Event browser (RES at /res)
Moderation queue with auto-unlock
Changelog posts & what's-new page
Bug reports & feature requests
AI usage, providers & LLM audit log
Emails with AI-assisted editing
Marketing dashboard & waitlist
Cmd+K command palette everywhere
yourapp.com/admin
Admin panel screenshot — coming with launch assets
Get the whole system

One-time payment · Ship this weekend

👋

Hey, I'm Rafał.

I ship production Rails apps for a living. RafpostPanel is that experience condensed — every convention in it earned its place in production work, the hard way. Now I'm building my own products on it, in public: my apps run on this exact code, so fixes and features land the moment a real app needs them. If RafpostPanel breaks, my products break first. That's the warranty.

06 / Pricing

Pay once. Ship forever.

Launch pricing — first 20 licenses at these prices. Next 100 at $249 / $299, then full price.

Starter

$299$199one-time
  • The complete system — every feature above
  • 30+ per-feature docs
  • Unlimited projects
  • 1 year of updates
  • Lifetime updates
  • Server setup & security guide
  • Video walkthroughs
  • Priority support
Get Starter

Pay once. Build unlimited projects.

Most popular

Complete

$349$249one-time
  • Everything in Starter
  • Lifetime updates — all future features
  • Server setup & security guide: Hetzner VPS, Kamal deploy, hardening
  • AI workflow guide — how to build on RafpostPanel with your agent
  • Short video course: from clone to production
  • Priority support
Get Complete

Pay once. Build unlimited projects.

Instant delivery · Secure checkout · Everything you get is listed above — you'll accept the Terms at checkout

07 / FAQ

Everything you'd ask before buying.

Why not just have Claude Code generate all of this?

It can — and you'll spend weeks reviewing, hardening, and re-prompting what RafpostPanel already ships tested. Auth, billing, and encryption are the parts you can't vibe-check. RafpostPanel is that verification already done, plus the conventions and docs that make your agent's output production-grade from the first prompt.

Isn't a vibe-coded MVP enough?

To demo an idea — yes. To run a real SaaS — no. Vibe-coded apps have no boundaries, no audit trail, no test suite, and every new feature makes the next one harder until the rewrite. RafpostPanel starts you on enterprise-grade architecture — domain contexts, event sourcing, CQRS, five dedicated databases — so the prototype you ship this weekend is the same app you scale for years.

Isn't this architecture overkill for an MVP?

For a throwaway demo — yes. For a product you intend to run — it's the point. You don't design any of it: the conventions and docs do the heavy lifting, your agent follows the paved road, and features you don't need switch off with a flag or delete cleanly. RafpostPanel is for people who value quality — the MVP you ship this weekend is already the app you'll scale, so the rewrite never comes.

What exactly do I get?

The complete Rails application repository, 30+ per-feature docs, and updates. Clone it, run bin/setup, and start building your product on top.

What's the tech stack?

Rails 8.1 on Ruby 4.0, PostgreSQL (five databases: primary, cache, queue, cable, events), Hotwire, Phlex 2 views, Tailwind 4, Bun for JS, Stripe, Rails Event Store, and Kamal 2 for deploys. No Redis, no Node runtime in production.

How many projects can I build with it?

Unlimited personal and commercial projects. The only thing you can't do is resell or redistribute the template itself.

Does it work with Claude Code and Cursor?

It's built for AI-assisted coding: AGENTS.md, documented conventions for every layer, and Phlex views that are pure Ruby — far more token-efficient than ERB/HTML for coding agents.

Why Phlex instead of ERB?

Views are plain Ruby objects: componentized, testable, fast, and refactorable with the same tools as the rest of your code. And AI agents read and write them with far fewer tokens.

Do I need to be a Rails expert?

No. If you're comfortable with Rails basics you can ship with this. Every feature has its own doc explaining what it does, where it lives, and how to extend it.

How do I get updates?

The template lives in a git repository — pull new features and fixes whenever you want. Lifetime updates are included with the Complete tier.

What other costs should I expect?

A VPS from ~$6/month (Kamal deploys to any box), a domain, and Stripe's standard fees. No mandatory third-party SaaS subscriptions — jobs, cache, and websockets all run on Postgres.

Can I remove features I don't need?

Yes. Features are isolated in domain contexts under app/core and gated with Flipper flags — switch them off or delete the folder cleanly.

I already started building my app. Can I still use RafpostPanel?

Yes — two ways. Port your existing features into RafpostPanel (usually faster: the plumbing is done), or copy individual features out of RafpostPanel into your app; each one is isolated in a domain context with its own doc.

How often is RafpostPanel updated?

Continuously — it's the base for every product I ship, so fixes and features land as real apps need them. Starter includes 1 year of updates; Complete includes lifetime updates.

Is there a refund policy?

No — and that's deliberate. You receive the entire codebase the moment you pay, so it can't be returned; the FAQ, docs list, and feature tour above show you exactly what you're buying. You accept our Terms (including waiving the statutory 14-day withdrawal right) before checkout. Mandatory consumer rights still apply where the law requires.

Ship before your competitors
finish reviewing their AI's auth code.

Everyone prompts. Few start from a production-proven foundation that scales. Every week you spend rebuilding auth is a week your competitors spend on their product. One weekend to launch — your idea deserves the head start.

One-time payment · Updates included · Terms apply before checkout