Skip to content
Saasflare.dev
Subscribe
Notify v0.1.4 for macOS is here

Build, sell, and operate your SaaS on Cloudflare.

An open-source foundation and a portfolio of products and services for independent developers, solo founders, and small product teams building on Cloudflare.

  • Workers
  • D1
  • KV
  • R2
  • Queues
  • Durable Objects
Built on Cloudflare

One stack, all of Cloudflare underneath.

Saasflare wires up every Cloudflare developer product you'd reach for — with sensible defaults, typed bindings, and local-first dev that mirrors production exactly.

Workers
Edge compute

Run your TanStack Start and Hono Workers on Cloudflare without managing regions or replicas.

100Krequests / day · free
D1
Serverless SQL

SQLite on the edge with read replicas. Drizzle ORM wired up out of the box.

5 GBstorage · free
KV
Global cache

Low-latency key/value reads from any edge. Perfect for sessions and feature flags.

100Kreads / day · free
R2
Object storage

S3-compatible storage with zero egress fees. User uploads, exports, backups.

10 GBfree / mo · $0 egress
Queues
Message bus

Producer/consumer with automatic retries and DLQ. Backbone of the task system.

10Koperations / day · free
Durable Objects
Stateful primitives

Strongly consistent state at the edge. Powers realtime, rate limiting, and locks.

100Krequests / day · free
Architecture

How a request flows through your stack.

User
Web WorkerTanStack Start
React NativeiOS · Android
DesktopTauri 2.0
API WorkerHono · typed RPC
Saasflare/analytics1KB privacy-first analytics
Saasflare/tasksLong tasks · visualized
Saasflare/affiliateReferrals · growth engine
Cloudflare primitives
D1KVR2QueuesDO

A decoupled front/back architecture — each side deploys independently and scales further, unlike other toy SaaS templates.

THE SAASFLARE PORTFOLIO

An open-source foundation,
+ everything your SaaS needs.

Start with the MIT-licensed TanStack + Hono Starter, then explore Saasflare products and services for shipping, growth, operations, and company setup.

OPEN SOURCE · AGENT-READY · MIT · Available

saasflare-dev/starter

A Cloudflare SaaS starter, ready for AI agents.

Clone the repo and one command runs the full stack. It is the base every Saasflare product is built on — free, MIT-licensed, yours.

  • AGENTS.md and rule packs includedThey explain the whole project to Claude, Codex, or Cursor.
  • Two Workers, typed end to endWeb and API deploy independently, connected by oRPC + Zod types.
  • A real preview environment per PRAlchemy IaC deploys an isolated Cloudflare stack; closing the PR destroys it.
~/starterMIT
$git clone https://github.com/saasflare-dev/starter.git
$cd starter && pnpm install && pnpm dev
webTanStack Starthttp://localhost:3000
serverHono APIhttp://localhost:4000
rpcoRPC + Zod · typed end to end
d1Drizzle migrations applied
authBetter Auth sessions ready
bindingsKV · R2 · Queues connected
$
AGENTS.mdWritten for coding agents — clone it and hand it straight to Claude, Codex.
PRODUCT · DESKTOP · FREE · Available01 / 06

Saasflare/notify

A free desktop notification center.

Webhook in, toast on your desktop. When something happens on your server, your screen knows in seconds — no dashboard left open, no inbox to dig through.

  • One curl to integrateNo SDK. Anything that can send an HTTP request can reach your desktop.
  • Offline is handledThe latest 1,000 messages queue and replay in order on reconnect.
  • History stays on your machineStored in local SQLite, readable offline. Free on macOS today.
Notify4 unread
deploynow
Build finished
branch main · status ok
offline? queued (last 1,000) · replayed on reconnect · history in local SQLite
PRODUCT · EMAIL · Available02 / 06

Saasflare/newsletter

A self-hosted newsletter tool for all your sites.

A self-hosted email list manager deployed to your own Cloudflare account. Collect and manage subscribers, edit content visually, and send email in bulk. Add signup forms to any number of sites, with double opt-in support — every subscriber lives in your own D1 database, with no per-subscriber SaaS bill.

  • Lists with real statusesEvery subscriber is pending, active, or unsubscribed — searchable by email, name, and signup source.
  • Embed in three flavorsCopy a zero-dependency HTML form, a generated React component, or POST to the JSON endpoint. Allowed origins per list.
  • Broadcasts with sent countsDraft an HTML email, queue one delivery per active subscriber, and watch sent/total tick up on each broadcast.
newsletter.saasflare.dev
Product updates New list
Product updatesNewsletter

Build notes, launches, and early access.

247
Active subscribers
SubscribersBroadcastsEmbed
Broadcasts
Draft, queue, and track emails sent to this list.
New broadcast
SubjectStatusDeliveryAction
What we shipped in Junesent247/247 sent Send
Beta invites · wave 3sending24/247 sent Send
Welcome email refreshdraft0/247 estimated recipients Send
Join the list

Get product updates delivered to your inbox.

Email address
you@example.com
Join the list
<form data-sf-subscribe="product-updates">
PRODUCT · CLOUD · Coming soon03 / 06

Saasflare/tasks

Background tasks that survive the page reload.

Run video transcodes, AI generations, weekly reports — any task longer than 30 seconds — on top of Workflows and Queues. Durable retries, scheduled runs, exactly-once delivery, and a dashboard your team can actually use.

  • Built on WorkflowsType-safe steps with automatic checkpointing. Resume from any failure without re-running expensive work.
  • Scheduled & event-drivenCron triggers, webhook triggers, manual triggers. All from the same SDK.
  • Observable by defaultPer-step traces, replay, and a task inspector. Debug long tasks like you debug requests.
Tasks
184,293 runs · last 30 days
AllRunningFailed
running
transcode-video
job_8f2a · encoding-h264
64%
running
generate-report
job_3e1b · aggregating-rows
22%
queued
send-newsletter
job_a7c5 ·
0%
done
sync-stripe
job_4d9f · finished
100%
done
embed-docs
job_2b8e · finished
100%
failed
cleanup-r2
job_6c1d · retry-3/5
84%
PRODUCT · GROWTH · Coming soon04 / 06

Saasflare/affiliate

First-touch referral tracking in two POSTs.

Run first-touch attribution and fixed-CPA commissions in your own Cloudflare account. Clicks and conversions stay in D1; payouts remain under your control and are settled manually.

  • First touch, then lockedThe redirect records the click and sets a first-party referral cookie. Sign-up locks the partner to the customer, with a typed referral code taking priority.
  • Two authenticated POSTsReport the sign-up, then the first order. Idempotent requests ensure attribution and commission are recorded once.
  • Settlement you can auditClicks, conversions, GMV, and fixed-CPA commission live in D1. Export the ledger and pay partners manually.
CLICKS · 30D
24,817
↑ 18.2%
CONVERSIONS
1,247
↑ 24.0%
COMMISSION · USD
$0
↑ 11.4%
JulAugSepOctNovDec
PartnerCodeClicksConv.Commission
JJames Carter/JAMES204,821312$2,840
LLin Wei/LINW3,902247$2,204
AAisha Khan/AISHA2,841188$1,672
MMarco Bianchi/MARCO1,992142$1,268
PRODUCT · INSIGHTS · Available05 / 06

Saasflare/analytics

Cookieless analytics in your own Cloudflare account.

Stop sending visitor data to a third party. Buy once and deploy the whole system — tracker, API worker, dashboard — into your own Cloudflare account, with every hit landing in your own Analytics Engine dataset. GDPR-clean by construction.

  • No third-party JS~1 KB gzipped script. No cookies, no fingerprints, no persistent IDs — visitors are counted with a one-way hash salted daily.
  • Every site, one dashboardUnlimited sites on a single deployment: KPIs, trends, top pages, exact referrers, auto-sorted channels, country→city geography, UTM campaigns.
  • No monthly meterBuy once; traffic runs on your own Cloudflare allowance — no per-event or per-site fees from us, ever.
analytics.saasflare.dev
24h7d30d
saasflare.dev
PAGE VIEWS
48,201
VISITORS
12,540
SESSIONS
18,933
AVG. DURATION
1m 12s
Page views & visitorsViewsVisitors
Pages
/14,102
/starter6,480
/analytics5,214
/company4,890
/pricing3,660
Referrers
news.ycombinator.com4,213
www.google.com3,882
github.com2,940
x.com1,764
www.reddit.com1,208
Channels
Channels
  • Direct57%
  • Google20%
  • GitHub13%
  • Hacker News10%
Geography
Geography
  • 🇺🇸 United States32%
  • 🇨🇳 China17%
  • 🇩🇪 Germany11%
  • 🇬🇧 United Kingdom9%
Browsers
Browsers
  • Chrome65%
  • Safari15%
  • Firefox12%
  • Edge6%
Devices
Devices
  • desktop79%
  • mobile21%
Metrics are estimates (Analytics Engine sampling).
AGENT SERVICE · INCORPORATE · Available06 / 06

saasflare-dev/company

Spin up a US company without lawyers.

Everything you need to get a US company running, not just registered. Built for solo founders and small teams going global — Wyoming LLC, EIN, US business phone, banking, and payment processing in one $499 flow. Our agent files the paperwork; you stay focused on shipping.

  • LLC + EIN, end-to-endWyoming LLC, registered agent, Wyoming legal address, optional US mailing address. Same-Day EIN available (+$99) — otherwise about 3 weeks via standard filing.
  • Banking & payments, white-gloveLili US business bank account opened with our 1-on-1 support. Stripe onboarding guidance + Telnyx US phone number registration handled.
  • Annual compliance, handledForm 5472 + pro forma 1120 and the Wyoming annual report — both filings tracked and submitted for $399/year, starting year 2. Miss neither.
Incorporation wizardsession · saasflare-dev/company
Acme Cloud, LLC
WY · single-member
58%
Wyoming LLC filing
Articles of Organization
filed
EIN · Same-Day
IRS Form SS-4
filed
Registered agent + address
Wyoming legal address
filed
Lili US bank account
Prepared · awaiting decision
in progress
5
Stripe onboarding
Payment processing guidance
queued
6
Telnyx US phone number
US business line
queued
TOTAL · ONE-TIME
$499
LLC · EIN · banking · payments
COMPLIANCE
$399 / yr
Form 5472 + pro forma 1120, WY annual report
ETA
~2 weeks
banking & payments ready
Pricing

One-time payment.
Own it for life.

Get every available Saasflare product now, plus the listed coming-soon products when released. No subscriptions, no per-seat pricing, no renewals.

EARLY-BIRD PRICING · WHILE THE SITE IS STILL BEING BUILT
STARTER
MIT-licensed and free forever.
$0MIT · open source
Clone on GitHub
  • saasflare-dev/starter (AGENTS.md + rule packs)
  • Deploy to your own Cloudflare account
  • GitHub Discussions community support
  • All future starter updates — free
No checkout and no license fee. Fork it and deploy to your own Cloudflare account.
MOST POPULAR
PRO
Available products now. Coming-soon products when released.
$169$79one-time · early-bird price
  • Everything in STARTER
  • Private GitHub repo access for paid product source
  • Notify — webhook-to-desktop alerts
  • Analytics — 1KB privacy-first analytics
  • Newsletter — self-hosted lists and broadcasts
  • Tasks — included when released
  • Affiliate — included when released
  • OnePay — included when released
  • Lifetime updates to every included product
  • Priority email support · < 24h
Early-bird privilege price.
MAX
PRO + US company registration service.
$799$599one-time · white-glove
  • PRO — available products now, listed coming-soon products when released
  • SaaS-optimized LLC US company structure
  • Wyoming LLC + EIN + registered agent
  • 1-on-1 Lili US bank account opening
  • 1-on-1 Stripe onboarding guidance
  • VoIP US phone number
  • US business address (yr 1)
  • Architecture review on request
First-year US incorporation included. Annual compliance ($399/yr) starts year 2.

Paid? Message us and we will set you up — source access is fulfilled manually for now.

Email@nshen121
Cloudflare costs are yours.

You deploy to your own account. Most Saasflare apps fit inside Cloudflare's free tier until you hit real scale.

Pay once, ship forever.

No recurring license fees. Every tier is a one-time payment that includes lifetime updates to what you bought.

Unlimited team members.

Bring your whole team. Pricing is per project, not per seat. No "user-based" pricing nonsense.

FAQ

Questions you
probably have.

Still have a question? Ask in GitHub Discussions—we'll help you work out whether Saasflare fits your project.

Open GitHub Discussions
Absolutely. Cloudflare's free tier currently includes 100,000 Worker requests per day, 5 million D1 rows read and 100,000 rows written per day, 5 GB of D1 storage, and 10 GB-month of R2 storage with free egress. For many SaaS products, that is enough to launch and validate before infrastructure becomes a meaningful expense. Saasflare.dev runs within these allowances; you pay Cloudflare only after exceeding them.
Yes. The model is familiar: a frontend calls a backend API, the backend reads and writes a database, and longer work runs in the background. Workers replace the application server, D1 is the SQL database, R2 stores files, and Queues handles asynchronous work. No Cloudflare experience is required. Saasflare's project harness—AGENTS.md, task-specific rules, and working examples—explains the architecture, bindings, migrations, and deployment workflow to your coding agent. The agent can configure resources, run migrations, and deploy; you review its plan, changes, and tests as you would in a traditional project.
Starter, Analytics, Notify, Newsletter, and Company are available now. Tasks, Affiliate, and OnePay are coming soon. Every product page states its current status and limitations so you can judge the functionality that exists today—not a roadmap promise.
Yes. Starter is MIT-licensed, while paid Saasflare products include source code under a commercial source license. Self-hosted products deploy to your own Cloudflare account, and their operational data stays in the D1, R2, KV, Queues, and other resources you control.
No. Starter works on its own. The rest of the portfolio consists of separate products for shipping, growth, operations, and company setup. Start with what solves your current problem and add another product only when you need it.
SAASFLARE NEWSLETTER

Follow what we’re building.

We’ll only email you when we have a product update or industry news genuinely worth your attention. No inbox noise—only content that’s useful to you.

Product updates and selected industry news. Unsubscribe in one click.