Skip to content

NewImport Fly.io and Supabase invoices; estimates line up on their own

One P&L for every site.

Siteops assigns Stripe and Creem revenue and Cloudflare, Alibaba Cloud, Fly.io and Supabase bills to each site you run. Which sites earn money and where it goes is on the first screen.

Read-only credentials are enough · You can host it yourself

app.siteops.example · 10bai studioSample data · last 30 days
Net revenue
$13,785.01
Cost
$4,532.56
Profit
$9,252.45
Margin
67.1%
Visitors
90,452
Net revenueCost
SiteNet revenueCostProfitMargin
Lingoflow lingoflow.app$7,412.30$1,912.44$5,499.8674.2%
Notecraft notecraft.io$3,208.75$842.10$2,366.6573.8%
Pixelbrew pixelbrew.dev$2,145.96$706.55$1,439.4167.1%
Docmint docmint.co$1,018.00$365.12$652.8864.1%
Formpilot formpilot.dev—$627.84−$627.84—
Unallocated —$78.51−$78.51—

Connect the platforms you already use

  • Cloudflare
  • Alibaba Cloud
  • Fly.io
  • Supabase
  • Stripe
  • Creem
  • Google Analytics 4
  • Search Console
  • Plausible
  • Umami
  • Rybbit

Why this exists

Revenue, cost and traffic, read together

How much did this site make?

Net revenue already has fees, refunds and chargebacks taken out, and subscriptions get their own MRR. Other currencies are converted at the day's rate and the original amount is kept.

Where did the money go?

Cost is assigned to a site by Worker, database, bucket and instance. A resource several sites share is split by share; what cannot be split is listed on its own.

Is it worth keeping?

Profit, margin and cost per thousand visitors sit on one row, so sites compare directly. A site that loses money or runs over budget is marked.

Cost

One cloud account, every site still accounted for

Siteops reads the resources in the account and you point each one at a site, once. Every day's bill follows from then on.

  • A resource can be split between sites by share
  • A whole account can go to one site
  • Unassigned cost lands in Unallocated and is divided by the rule you pick
ResourceAssigned toLast 30 days
Worker lingoflow-webLingoflow$38.20
D1 lingoflow-dbLingoflow$11.40
R2 media-bucketLingoflow 60% · Pixelbrew 40%$9.70
KV rate-limitsUnassigned$2.10

Trust

Billed, estimated or entered by hand: every number says which

Until a platform issues its bill, Siteops estimates from usage and public prices; when the bill arrives the estimate gives way. Fly.io and Supabase have no billing API, so importing their invoice settles it.

BilledEstimatedManual
  • Nov 19 14:00 · EstimateWorkers · lingoflow-web, the day's usage × unit price$1.20
  • Nov 20 06:00 · Bill arrivedReplaces the estimate, −12.5% off$1.05
  • Nov 1 – Nov 20 · EstimateSupabase · lingoflow-prod, without overage$40.30
  • Dec 1 · Import November's invoiceOnce confirmed the invoice wins, spread by dayTo import

Revenue

The statement changes the moment a payment lands

Stripe and Creem post through signed webhooks as payments happen, and a scheduled reconciliation fills any gap. Fees, refunds and chargebacks are separate entries, so net revenue needs no arithmetic.

  • A read-only key is enough; it cannot charge anyone
  • One payment account can be divided between sites by product
  • Stripe · Payment14:05 · Lingoflow+$99.00
  • Cloudflare · Bill arrived, replaces 14 estimates13:41 · Pixelbrew−$4.12
  • Stripe · Refund06:00 · Notecraft−$29.00
  • Creem · PaymentYesterday 22:17 · Docmint+$19.00
  • Fly.io · Estimate updatedYesterday 21:52 · Formpilot−$0.31

Traffic

Use the analytics you already have, or add one script

GA4, Search Console, Plausible, Umami, Cloudflare and Rybbit can all be connected. Or use the built-in collector: no cookies, a visitor id that rotates daily, and visits sent by ChatGPT, Perplexity and Claude listed separately.

Collector snippet

<script defer
  src="https://siteops.example.com/t.js"
  data-site="lingoflow"></script>
AI referralsVisitors
ChatGPT
8,412
Perplexity
3,046
Claude
1,741
Gemini
1,305

How fast each platform can be

An estimate is never called a bill

“Real time” depends on what the platform provides. This is what Siteops can actually get, and every number on a page carries the time it was current.

PlatformAmount comes fromRefreshFinest grain
StripeBilled Balance transactionsSeconds · webhookSingle payment
CreemBilled Transactions; net by daySeconds · webhookSingle payment
CloudflareBilled Daily billed usageDaily; the day's estimate firstProduct, split to resources by usage
Alibaba CloudBilled Instance billDaily, about 24 hours lateInstance
Fly.ioEstimated Plus invoiceHourlyApp
SupabaseEstimated Plus invoiceHourlyProject

Questions

Before you connect anything

Does it need write access?

No. Each platform needs read-only credentials, and the connection page lists the least permission required. The one thing you do by hand is add a webhook address in Stripe or Creem.

Is cost real time?

Revenue is seconds to minutes. Cost depends on the platform: Cloudflare and Alibaba Cloud bill once a day and the current day shows an estimate; Fly.io and Supabase have no billing API, so they are estimated until their invoice is imported.

How are credentials kept?

Encrypted in the database; after saving, pages show only the last characters. Read-only members see no part of a credential.

Can I host it myself?

Yes. Siteops is code you can deploy to Cloudflare, Fly.io or Docker.

What about cost several sites share?

A resource can be split between sites by share. Cost that cannot be assigned goes to Unallocated, which you can divide evenly, by revenue, by traffic, or leave undivided.

Getting started

About ten minutes to the first statement

  1. 01

    Add a site and connect a payment account with a read-only key.

  2. 02

    Connect a cloud account and point its resources at the site.

  3. 03

    Open the overview: revenue, cost and profit for the site are there.

Put every site's books in one place.

Connecting the first payment account and the first cloud account takes about ten minutes.