// STOREOS · v0.3.0 · early access
Your store is set up.
Bring the keys.
StoreOS scaffolds, tests locally and deploys a digital-download store to your own Cloudflare and Stripe accounts. You bring the accounts and keys; the boring plumbing is already wired. Early release.
v0.3.0 MVP. Paid source-available licence (draft). No sales or income claims.
// FOUR COMMANDS
Init. Dev. Doctor. Deploy.
- 01
Scaffold
$ storeos initGenerates a complete store: catalogue config, storefront Worker, database migrations, sample products.
- 02
Fake a sale
$ storeos devRuns the whole buy → webhook → download loop on your laptop with a fake checkout. No accounts needed.
- 03
Check the keys
$ storeos doctorValidates config and secrets, pings Stripe and Cloudflare, and tells you exactly which token permission is missing.
- 04
Ship it
$ storeos setup / deployCreates D1 and R2, migrates, deploys, sets secrets, registers the Stripe webhook. Preview first; live is a deliberate separate step.
// SEE IT MOVE
Three short reels.
// AI-AGENT-READY
Your agent can drive it. You hold the keys.
Every store ships an AGENTS.md, a scriptable CLI and
read-only discovery feeds (/products.json, /llms.txt),
so a supervised AI agent can do the setup. Keys, prices and go-live stay with a human.
// FREE-TIER INFRA
Runs on Cloudflare's free tier.
One Worker, plus D1 and R2. A small store sits inside the free allowances (they change, so verify them). Stripe takes a per-payment fee on every sale, and a custom domain costs extra. Not free forever, just very light on the wallet.
// SECURITY MODEL
Boring on purpose.
- No card data touches your Worker. Stripe hosted Checkout does that part.
- Prices live server-side. The browser sends a product id and nothing else.
- Webhooks are signature-verified (HMAC-SHA256, constant-time, replay window) and de-duplicated: one order per paid session.
- Downloads come from a private R2 bucket via signed, expiring, revocable, download-limited links.
- Secrets never land in config, Git, logs or HTML. Live Stripe keys are refused without an explicit --live.
// HONEST STATUS
v0.3.0. Early. We'll say so.
- What do I need?
- A Cloudflare account, a Stripe account and their keys. Node 22.13+ on your machine.
- What does it cost?
- No StoreOS platform fee is published yet. Cloudflare Workers, D1 and R2 have free tiers that fit a small store (limits change, check them). Stripe charges a fee on every successful payment, and a custom domain is extra.
- Is it open source?
- No. It is a paid, source-available licence. The licence text is still a draft pending legal review.
- Is anyone running real sales on it?
- Not that we can claim. v0.3.0 is an early MVP; Cloudflare and Stripe paths are covered by mocks and local runtimes. Run a Stripe test-mode sale on your own accounts first.
Not included yet: subscriptions, discount codes, bundles, licence keys, tax/VAT calculation, an admin web UI. Tax, privacy and consumer-law compliance are the merchant's responsibility.