Nimisha is a consumer SaaS product whose entire computational core — an astronomical ephemeris plus 72 hand-coded scoring engines — was written in C, compiled to WebAssembly, and shipped into the user's browser. The server holds accounts and brokers a language model. It never sees the private data it would normally need to compute on, and it never runs the computation. Marginal compute cost per user: zero.
The product needed to answer a computationally expensive question — score every tracked activity, at every moment in time, for any location on Earth, personalised to an individual profile — and it needed to do that continuously and interactively as the user scrubbed across hours, days and months.
Done conventionally, that is a server-side compute bill that scales linearly with engagement. Every scrub of a timeline is a burst of requests. The more people use the product, and the more they enjoy using it, the faster it loses money. That is a structurally broken unit economic for a consumer product with a free tier.
There was a second, harder constraint. The input to every calculation is intensely personal data. Sending it to a server to be computed on — and, worse, into a third-party language model for interpretation — creates a privacy liability that no amount of policy text resolves. The honest answer is not to hold the data at all.
We inverted the standard SaaS topology. Instead of a thin client calling a fat server, Nimisha ships a fat kernel to a thin server's client.
The computational core is written in C — the Swiss Ephemeris for astronomical positions, statically linked, plus roughly 12,000 lines of rule engines and 72 separate activity-scoring engines. That whole body of code is compiled with Emscripten into a single WebAssembly module of about 374 KB gzipped, downloaded once, cached by a service worker, and executed entirely inside the user's browser tab.
The Cloudflare Worker that remains does only what a client genuinely cannot: it authenticates users via Google ID tokens, holds subscription state in D1 at the edge, and proxies calls to a language model. Crucially, the model is never asked to calculate anything — the kernel computes the numbers locally, and only the derived, non-identifying findings are sent up for the model to phrase in natural language.
That division — the kernel computes, the model interprets — is enforced as an architectural rule, not a convention. It is what makes the privacy claim true and the cost claim durable at the same time.
Nimisha runs live at nimisha.app on Cloudflare's free tier. Scrubbing the timeline triggers no network requests at all — the computation happens locally, at native-adjacent speed, with no round trip.
The economics invert with it: engagement no longer drives marginal cost. A user who spends an hour exploring costs the same as one who bounces. That is what makes a genuinely free tier possible without a burn rate behind it.
And the privacy promise is architectural rather than contractual. Private profile data is held in the browser and computed on in the browser. There is no server-side store to breach, subpoena, or leak — the property holds because of where the code runs, not because of what a policy page says.
The cheapest server to operate
is the one you never call.
If your unit economics break as usage grows,
the architecture is the problem — not the pricing.