Red Center Studio
Back to Work Rebuild case study / Stock and inventory

Binwright: stock tracking rebuilt from Bubble® as code you own.

Binwright tracks stock in every van, storeroom, shelf and kit, forecasts when it will run out and builds the reorder list. It was first built on Bubble and has been rebuilt as code that runs in the owner's own Cloudflare account.

What it does
Stock, forecasts and reorders for every place you keep it
First built on
Bubble
Rebuilt on
Cloudflare Workers, D1 and R2
Price
$99 USD, paid once, plus a free Lite edition
In short

Binwright is a stock and inventory app for vans, storerooms, workshops, clinics, kitchens, event kits and field teams. Red Center Studio first built it on Bubble and rebuilt it as owned code on Cloudflare Workers, with a D1 database and R2 storage for delivery docket photos. It keeps a stock ledger that is never edited, forecasts run-out dates from recent use and groups reorders by supplier. It is $99 USD, paid once, with a free Lite edition.

The Binwright home page: what is out, low, running out soon and expiring, what needs ordering, and suggestions worked out from usage.
The Binwright home page: what is out, low, running out soon and expiring, what needs ordering, and suggestions worked out from usage.
Before

What it was on Bubble.

Binwright was first built on Bubble by the studio. It has been rebuilt as owned code on Cloudflare and is sold as source code that a business runs in its own Cloudflare account, with no monthly fee per user.

Now

What Binwright does today.

Record from a phone

Use, waste, receive, move or adjust in seconds. Scan a place's QR label, or an item's barcode on phones that support it.

Every place, nested

Vans, rooms, shelves inside rooms and kits, called whatever the business calls them.

Deliveries

Several lines at once with unit costs, batches, expiry dates and a photo of the docket, received against what was ordered.

Counts that teach the forecast

Counts with expected numbers shown or hidden. A count that comes in low is treated as unrecorded use, so forecasts stay right.

Forecasts and reorders

How long each item will last at each place, and a reorder list by supplier that rounds up to whole packs, with a daily restock email.

Suggestions and expiry

Move spare stock instead of buying, usage jumps worth checking, stock that has not moved, and batches used earliest expiry first.

Screens

More of the app.

The reorder list, grouped by supplier, with quantities rounded up to whole packs and an order sheet for each supplier.
The reorder list, grouped by supplier, with quantities rounded up to whole packs and an order sheet for each supplier.
Recording use on a phone: pick what happened, the item and the van, and the quantity.
Recording use on a phone: pick what happened, the item and the van, and the quantity.
How it is built

The stack.

Runtime
One Cloudflare Worker with server-rendered pages and one small script.
Data and files
Cloudflare D1 with Drizzle ORM, and Cloudflare R2 for delivery docket photos.
An honest ledger
Every change is saved with who, what, where and when and never edited. Stock is guarded against going below zero, even with two people recording at once.
Sign-in and roles
Better Auth with a rate limit on sign-in, and Staff, Manager and Admin roles checked on the server for every action.
Schedules
A Cron Trigger sends the daily restock email to admins and managers.
Region
Currency, metric or US units, date format, time zone and the word for a place, set per install.

Tests

Unit and route tests run in the real Workers runtime with a real D1 database. Browser tests include accessibility checks with axe at desktop and phone width, built to WCAG 2.2 AA.

For the owner

What changed for the owner.

  • The app and its stock records live in the owner's own Cloudflare account.
  • There is no monthly fee per user: Binwright is $99 USD, paid once, under a single business licence.
  • Items with opening stock come in by CSV, and stock, reorders and activity go out by CSV, so the data is never locked in.
  • A free Lite edition is open source under the MIT licence, with items, places, the stock ledger, low stock lists and CSV export.

Start free: Binwright Lite on GitHub. Stock tracking for vans, storerooms, shelves and kits: items, places, use, receive, move and counts, low stock lists and CSV export, on Cloudflare Workers. MIT licence.

Your app

Want your own app rebuilt as code you own?

The same move is a service: your app ported to your own Cloudflare account, with a fixed quote before work starts.

Service 06

No-Code App Porting

Your app is built on Bubble® or a similar no-code platform and it has outgrown it, or you want to own the code. The studio ports it to your own Cloudflare account, or moves only the heavy parts and leaves the rest where it is. Every port starts with a paid assessment and a fixed quote.

Price
From $2,999 USD
Timeline
6 to 12 weeks for a full port
See No-code app porting
Service

App Rescue and Move to Cloudflare

Built an app with Lovable, Bolt, Emergent, v0 or Replit, or on Bubble? Start with an audit (or a triage for a Bubble app), rescue it where it is, or move it to Cloudflare as code you own. A lead machine only works when sign-in works, search engines can find the pages and the data is protected, so those come first.

Price
From $299 USD, in three steps
Timeline
Audit usually 3 to 5 business days; rescue and move timelines are set in your quote
See app rescue and move to Cloudflare
Service 01

Custom Platform and SaaS Builds

Web apps, SaaS products, client portals, marketplaces, booking systems and internal tools. Senior, agency-quality work, delivered faster and at lower cost than an agency, by the person who builds it.

Price
From $2,500 USD
Timeline
4 to 12 weeks
See Custom platforms and SaaS