Refract

Refract

Every SaaS pivots. Most codebases don't survive it.

yjaspar
@yjaspar
Published on May 8, 2026
Visit site
1PeerPush
PeerPush badge for Refract

About Refract

Refract is a production-grade TypeScript SaaS boilerplate built around one truth: your business will pivot, your pricing will change, and most codebases won't survive it. What you get out of the box: Plug-and-play billing with idempotent Stripe webhooks and dynamic plan management Dynamic RBAC and multi-tenancy — B2B-ready from day one Pluggable infrastructure — swap queue, mailer, cache, or analytics providers without touching your product logic 80%+ test coverage on the billing and auth core Runs locally via Docker Compose with a single command — deploys to Railway in minutes Comprehensive Cursor rules for AI-assisted development The pivot is a config change, not a rewrite. That's the promise.

Product Insights

Refract is a B2B-ready TypeScript boilerplate designed for web platforms, featuring pluggable infrastructure and comprehensive diagnostic testing. It integrates core SaaS functions like dynamic RBAC, multi-tenancy, and automated billing through a local Docker environment.

  • Production-grade 80% plus test coverage on billing and authentication modules.
  • Pluggable infrastructure for swapping mailers, caches, and analytics without logic rewrites.
  • B2B-ready architecture including multi-tenancy and dynamic role-based access control.
  • Optimized for AI-assisted workflows with specific Cursor development rules.

Ideal for: Developers, Founders, and Indie Hackers who require a flexible codebase to support business pivots and complex B2B billing requirements.

Refract is positioned as a TypeScript-focused alternative to ShipFast.

Product Video

Screenshots

Screenshot 1 of RefractScreenshot 2 of RefractScreenshot 3 of RefractScreenshot 4 of Refract

Product Updates (0)

No updates yet. Check back later for updates from the team.

Reviews (0)

No reviews yet. Be the first to rate this product!

Comments (1)

yjaspar
@yjasparApr 28, 2026

Tired of infra lock-in eating your product time? Refract: hard layer boundaries, swappable adapters, 80%+ tests, CI/CD out of the box. Built for founders shipping with AI agents (do these even exist anymore...). Questions welcome!

You may also like

Spawned

Spawned

Build, launch, and discover products in a single platform

932PeerPush
🥈#2 of the Week
5
$0MRR
SIPHON

SIPHON

Build production AI calling agents in minutes. Open Source.

377PeerPush
🔥Trending
17
3