All case studies
Jobsite Calculator & Walkthrough App · Live

FieldDojo

The jobsite in your pocket: 65 code-cited calculators across four trades, 360° room walkthroughs pinned to the floor plan, and one report for the client. Built to work offline on site, with a desktop app for the office.

iOSAndroidiPadmacOSWindowsLinux
FieldDojo — the jobsite in your pocket: a 360° kitchen walkthrough on a phone
Role
Design, mobile, desktop, backend, web
Platforms
iOS · Android · iPad · macOS · Windows · Linux
Type
Phone + desktop apps + API
Status
Live · 2026
Overview

FieldDojo started as a multi-trade field calculator for construction, HVAC, electrical, and plumbing professionals: 57 calculators at launch, 65 today, in one place instead of a handful of single-purpose apps and a code book, each one showing the formula it used and the code section it's based on. With version 1.0.4 it became a jobsite app. You walk a room in 360°, pin notes and calculations to the wall, put every room on the floor plan, and hand the client one report when you leave.

We built it offline-first because job sites rarely have reliable signal, and we made every result something you can hand to an inspector: the wire-ampacity number sits next to its NEC table reference, the duct-sizing result next to its ASHRAE basis. Results adapt to four regional code sets (US, Canada, UK, EU) and a built-in offline reference library covers the code sections behind them. Australian and New Zealand tables exist in the codebase but stay switched off until the calculator coverage is honest enough to show a flag over.

One note if you check the Play Store link: the package id reads com.notchip.calcrig. The app shipped under our earlier working name, CalcRig, and Android package ids are immutable once published — same app, same developer account, renamed before launch marketing.

Walkthrough shipped in October 2026 as part of Pro. Capture each room as a 360° panorama, drop numbered hotspots on the walls for notes, linked rooms and the calculations that belong there, and place every room as a numbered pin on the floor plan. The whole job lives in one project, and a share link opens the walkthrough in a browser, so a client or inspector can look without installing anything. The stitching runs on the phone through our own open-source expo-panoramic-stitcher module, the one in the next case study.

In November 2026 FieldDojo got a desktop app for macOS, Windows and Linux. It has the same calculators, opens the same projects and walkthroughs, and signs in to the same account, so a job walked on site in the morning can be reviewed on a big screen in the office that afternoon. Most of it is the phone's own code. The calculators, the walkthrough data layer, the report template and the 360° viewer are copied file for file from the React Native app, and a drift check flags any difference between the two copies. Nothing is sold on desktop. Pro bought on the phone carries over once you sign in.

Version 1.5 followed the same month and is the largest release since the walkthrough. Eight layout and geometry calculators took the count to 65: baluster spacing, equal spacing, right triangle, miter angle, arc and chord, kerf bending, drawing scale and a cut list. Every result now comes with a drawing, and 25 calculators build a 3D model of what was just calculated that you can turn, zoom and open full screen. A project carries a materials list, a task list and a job timer, and a saved fence, deck, drywall, tile, flooring or concrete calculation can add its materials to the list in one tap. PDF export became free in the same release. A PDF made on the free plan ends with a small Made with FieldDojo mark, and Pro has a report style and an editor in its place. Desktop 1.2.0 took all of it on 20 November.

The problem

What we set out to solve

Trade calculation tools are fragmented — one app for wire sizing, another for duct sizing, and a code book to verify either. Switching between them mid-task is slow and error-prone.

The free alternatives are shallow: they spit out a number with no formula and no code reference, so the result is impossible to defend to an inspector or a client.

And almost none of them work where the work happens. Job sites have patchy connectivity, so anything that depends on a live network is unusable exactly when it's needed.

Our approach

How we built it

We treated FieldDojo as a precision instrument first and an app second. The calculation logic had to be trustworthy, transparent, and available with zero connectivity — everything else was built around that.

01

Pure, testable calculation engine

Every calculator is a pure TypeScript function separated from the UI, returning both the value and the formula used. That keeps 65 calculators consistent and verifiable, and lets us cite the exact code standard behind each result.

02

Offline-first data layer

Calculations and projects are stored locally in SQLite (op-sqlite + Drizzle) so the app is fully usable with no signal. A sync queue reconciles changes with the backend when a connection returns.

03

Trade-organised navigation

Each trade gets its own tab and stack, so an electrician lands on electrical tools and a plumber on plumbing — no hunting through a flat list of dozens of calculators.

04

Walkthrough on the same project model

Rooms, panoramas, hotspots and floor-plan pins hang off the same local-first project as the saved calculations, so a walk and its numbers sync, export and share as one thing. Stitching happens on the phone through expo-panoramic-stitcher, and a Pannellum viewer renders the panorama both in the app and on the shared web page.

05

One report at the end of the visit

The PDF report is rendered from the project itself: rooms in capture order, pins, notes and every saved calculation with its drawing and code basis, plus the project's materials list. Exporting it is free. Pro sets the company logo, brand colour and signature block once, and can leave out, rename, reorder and annotate calculations before a report goes out. The share link carries the same walkthrough to a browser, so the client gets one link and one file, not an app install.

06

Desktop built from the phone's own files

The desktop app is Tauri 2 with a React 19 front end, and it imports the phone's calculator screens, sync rules and walkthrough code directly. Small stand-ins take the place of React Native, Expo Router, MMKV and the Expo file modules, so the copied code runs in a desktop webview without edits. The Rust layer is under 100 lines and only wires up official Tauri plugins.

07

One brand across app, web, and store

A locked design system (signal-red accent, four trade colours, one type scale) keeps the marketing site, app, and store assets feeling like one product.

Capabilities

What it does

360° walkthroughs

Capture each room as a panorama, drop numbered hotspots for notes, linked rooms and calculations, and pin every room to the floor plan. Share it as a link the client opens in a browser. Part of Pro.

Code-referenced results

Every calculation shows the formula used and the standard behind it — NEC, ASHRAE, UPC, or IRC. Results you can cite to an inspector.

Pure calculation engine

All calculation logic lives in pure TypeScript functions, separate from the UI — testable, reliable, and consistent across all 65 calculators.

Four regional code sets

Breaker sizing, stairs, drainage, and more adapt to the local code — NEC, CEC, BS 7671, or HD 60364 — seeded from the device locale on first run. EU results refine further for Germany and Poland.

Offline-first

Local SQLite storage means the app works with zero connectivity. A sync queue pushes changes to the cloud once you're back online.

Calculation history

Full parameter persistence — restore any past calculation, tweak the inputs, and recalculate. Organised by project, not just a log of numbers.

PDF & CSV export

Share any result as text, CSV or PDF for free; a PDF from the free plan ends with a small Made with FieldDojo mark. Pro makes the report the company's own document, with a logo, a brand colour and a signature block, and adds an editor for choosing what goes in it.

A drawing for every result

Each result card draws what was calculated, from the numbers entered and returned. 25 calculators go further and build a 3D model you can turn, zoom and open full screen: the stair with its real riser count, the stud wall with its studs.

Materials, tasks and time

Every project has a materials list, a task list and a job timer. A saved calculation can add its shopping lines to the list in one tap, and the lists print in the project report.

Widgets and foldables

A Last result widget on the iPhone home and lock screen and the Android home screen, and a Quick calc widget on iPhone that opens a pinned calculator. On a foldable held half open, the result sits above the fold and the inputs below.

Offline reference library

A bundled library of code sections, formulas, and material references — readable on the job site with zero connectivity, right next to the calculators that cite it.

Built for the field

High-contrast dark UI, large tap targets, imperial/metric toggle on every calculator — designed for sunlight, gloves, and real conditions.

Under the hood

Architecture

FieldDojo runs on phones and computers against one API. Both apps use the same design language, the same sync protocol and the same database migrations, and the phone's API client is generated from the server's OpenAPI spec.

Mobile app

Expo Router app with per-trade tab navigation. Local-first state in SQLite via Drizzle, fast preferences in MMKV, server state through React Query. Auth and sync are layered as providers at the root. Panorama capture and stitching run on-device through expo-panoramic-stitcher, with Pannellum as the viewer. The 3D calculator models are three.js on react-native-webgpu, loaded on first use, with an SVG drawing as the placeholder and the fallback.

React Native 0.88Expo 58Uniwind + Tailwind v4op-sqlite + Drizzleexpo-panoramic-stitcherthree.js + react-native-webgpuJotaiReact Query
Desktop app

A Tauri 2 shell around React 19 and Vite. Local SQLite through Tauri's SQL plugin runs the phone's own migration files, and a forked sync engine talks to the same endpoints. The phone's 360° viewer runs in an isolated frame, and the 3D models draw on the webview's WebGPU, or WebGL 2 where there is none. Installers for macOS (signed and notarised), Windows and Linux ship from a public releases repository on GitHub.

Tauri 2React 19ViteDrizzle (sqlite-proxy)Pannellumthree.jsBun
Backend API

A Hono + PostgreSQL service publishing an OpenAPI spec. Sync endpoints reconcile the device's offline queue with server state using version numbers and server-wins conflict resolution. The same walkthrough bundle feeds the share-link viewer at fielddojo.com.

HonoDrizzle ORMPostgreSQLBetter-AuthOpenAPI / Scalar
Type-safe client

The app's API client and React Query hooks are generated from the backend's OpenAPI spec with Orval, so a schema change on the server surfaces as a type error in the app — no hand-written, drift-prone models.

OrvalAxiosZod
Tech stack

Built with

Mobile app
React Native 0.88
Cross-platform native app
Expo SDK 58
Managed native workflow + EAS
Expo Router
Per-trade native tab navigation
Uniwind
Tailwind v4 in React Native
expo-panoramic-stitcher
On-device 360° stitching (OpenCV)
three.js + react-native-webgpu
3D calculator models, SVG fallback
expo-widgets
Home and lock screen widgets
EAS Update
JavaScript fixes ship over the air
Desktop
Tauri 2
macOS, Windows and Linux from one codebase
tauri-plugin-sql
Local SQLite running the phone's migrations
Drift check
Copied phone files must match byte for byte
GitHub Releases
Signed macOS builds plus Windows and Linux installers
Data & state
op-sqlite
Local SQLite database
Drizzle ORM
Type-safe history schema
MMKV
Fast preferences storage
React Query
Server state + sync
Backend & platform
Hono + Postgres
Type-safe REST API
Better-Auth
Email, Apple, Google & anonymous auth
Orval
Generated React Query client
Sentry
Crash reporting with Hermes source maps
Hard parts

Engineering challenges

Challenge

Stay fully usable with no signal, then sync without losing or clobbering data when connectivity returns.

Solution

An on-device sync queue records every offline change. On reconnect, the app pushes the queue and pulls deltas keyed by a server-assigned version number, with server-wins resolution and exponential backoff — so the app degrades gracefully and never blocks the user offline.

Challenge

Keep 65 calculators and a separate backend in lockstep without hand-maintaining API models.

Solution

The backend emits an OpenAPI spec; Orval generates the app's typed client and React Query hooks from it. A breaking server change becomes a compile-time error in the app instead of a runtime surprise.

Challenge

Let someone calculate on the first launch with no account at all, then keep that work when they eventually sign in.

Solution

First launch opens a Better-Auth anonymous session, and every local row is stamped with the owning user. On sign-in, a link-anonymous sync call adopts the existing history and projects into the real account instead of orphaning or duplicating them — so an account is something you add later, not a gate you pass first.

Challenge

Stitch a whole room on the phone, including the blank walls OpenCV would rather throw away.

Solution

OpenCV reports success even after discarding most of the input frames, so a bare wall could quietly turn a room into a three-frame strip. The stitcher exposes a confidence threshold and reports which frames it used, so the app can tell a complete panorama from a merely successful one before it saves the room.

Challenge

Put 65 calculators, the sync engine and the 360° viewer on a computer without maintaining a second copy of each.

Solution

The desktop app takes 152 paths from the phone repo unchanged and runs them on stand-ins for the React Native and Expo modules they import. A drift script compares every copied path with the phone's, so a phone fix reaches desktop through a reviewed sync instead of being retyped. The handful of files that really do differ are forks with their differences listed in the file header. The sync engine is one of them, because desktop enforces SQLite foreign keys and the phone does not.

Challenge

Sign people in on a computer when many of them signed up on the phone with Apple and have no password to type.

Solution

The desktop shows an 8-character code and the phone approves it under Settings, Link a computer, typed or scanned as a QR code. This is the OAuth device flow (RFC 8628) through Better-Auth's device authorization plugin. The backend refuses approval from an anonymous phone session, so only a real account can pass its Pro access to a computer.

Challenge

Show a 3D model of what was just calculated without the picture claiming more than the calculator did.

Solution

Each model is built piece by piece by a pure function, and tests hold its piece count to the calculator's own result, so a wall that needs 14 studs draws 14, and a model with too many pieces to draw ends in a break mark. Only values the user entered or the calculator returned get a dimension label. Anything the model had to assume, like mesh spacing in a slab, is named in the caption. The models render with three.js on WebGPU. The SVG drawing shows until the first frame arrives and stays if the device cannot start a GPU context.

Screens

A look inside

Outcome

What shipped

Shipped to iOS, Android, and iPad from a single React Native codebase.
Every calculation is fully usable offline and carries its formula and code citation.
65 calculators across four trades (34 construction, 14 electrical, 9 plumbing, 8 HVAC) and four regional code sets, under one navigation model and design system.
A generated, end-to-end-typed contract between app and backend that prevents API drift.
Walkthrough shipped in 1.0.4 on the same offline-first project model: 360° rooms, hotspots, floor-plan pins, and a browser share link, with stitching done on the phone.
The calculators need no account or purchase and work offline, and PDF export is free. Pro adds the 360° walkthrough, share links, sync across devices, the report style and editor, and unlimited projects.
A desktop app for macOS, Windows and Linux went from first commit on 20 September to its first public release on 4 November 2026, built mostly from the phone's own files. Pro carries over from the phone with no second purchase.
Version 1.5, in November 2026, added a drawing to every result, 3D models on 25 calculators, eight new calculators, project materials, tasks and a job timer, and home screen widgets. Desktop 1.2.0 carried the same release to the computer on 20 November.

Want us to build something like this?

Tell us about your project. Notchip scopes, designs, and ships on a milestone basis — you only pay for results.

Start a project
Next case study
Panoramic Stitcher