DEV Community

ALEX OWOADE
ALEX OWOADE

Posted on Edited on

Paperbone: Paper in, app out. How I Built a Zero-Backend Paper-to-App Skeleton with Kiro

Written for **Kiroween 2026* — Paperbone is my entry in the Skeleton Crew category.*

The Problem

A printed sheet of paper is already an interface—a restaurant menu, an event flyer, a prescription. People can read it, but their phone can't do anything with it. Turning paper into an interactive app normally requires a backend, a database, an account, and an app install. That is too much friction for a small shop, a community organiser, or a family carer.

I wanted one skeleton that turns any printed sheet into a working mobile micro-app—with no backend, no account, and no install. Just a photo, and the app appears.

What Paperbone Is

Paperbone is one shared, zero-backend core powering three mobile-first micro-apps:

App Printed Input Published Micro-App Live Studio
SnapShop Shelf or price-list photo Storefront with WhatsApp ordering & cryptographic price-lock snapshop-studio.pages.dev
SnapFlyer Event flyer Event page with .ics calendar file, map link & WhatsApp RSVP snapflyer-studio.pages.dev
SnapDose Prescription photo Medication schedule with repeating calendar reminders snapdose-studio.pages.dev

Every live link works directly in a desktop browser too, via image upload or a one-tap SAMPLE button. There is no server to run, no database to host, and nothing to install—the app data lives inside the QR code and the URL itself.

How It Works

The flow is identical across all three apps:

  1. Snap or upload: Take a photo of the printed sheet, or tap SAMPLE to test with a built-in example.
  2. Vision reads it: A Cloudflare Worker sends the photo to Gemini, which extracts the items, prices, dates, or medicines as printed.
  3. Tap-to-Fix: After every scan, each app opens a Tap-to-Fix screen where every line is a tap-to-edit button. You can edit a name or price, add a missing line, or delete a wrong one. Lines read without a price appear with the price left blank; if the worker fails, the same screen opens empty next to the photo so you can enter details manually.
  4. Save and share: Saving generates a QR code and shareable link. Anyone who scans it opens the storefront, event page, or medication schedule immediately with zero install.

The Cryptographic Price-Lock

SnapShop includes a cryptographic price-lock. When a shop saves a price list, the app computes an HMAC-SHA-256 tag over the catalogue. When a buyer sends an order on WhatsApp, the shop pastes it into the order verifier, which checks every line against the locked catalogue and reports either PRICE LOCK VERIFIED or PRICE LOCK BROKEN.

If a buyer alters a price after publishing, the tamper is caught before the order goes through. The tag travels with the order, so verification stays self-contained.

Prices pass through a global currency parser—handling formats like 2.5k, â‚Ķ2,500, and 2.500,00. Saving rebuilds the price list from the corrected lines, and both the order verifier and price-lock tag update from those corrected prices.

Zero Backend, Honestly

The published micro-apps run with zero backend. The Cloudflare Worker is strictly a stateless capture-time OCR proxy, while all storefront, event, and schedule data lives inside the QR code and URL—so viewing and verification work without a database or server.

A single QR flow can carry an entire shop because long payloads are compressed and split into indexed multi-QR packets that reassemble in any order.

How I Built It with Kiro

I built Paperbone end-to-end using Kiro CLI in chat mode, moving from specs to working code across all three verticals:

  • Spec-driven development (.kiro/specs/): Four spec trees (core-engine, snapshop, snapflyer, snapdose) authored before writing implementation code—specs first, code second, not vibe coding.
  • Custom agent (.kiro/agents/app-builder.json): A project agent configured with Paperbone's architecture and the core freeze rule.
  • Agent hooks: A SessionStart hook that reports the core freeze status and a Stop hook that blocks stopping unless tests are green.
  • Steering docs (.kiro/steering/): Scoped steering files (invariants, protocols, vision-router) enforcing the core freeze and zero-backend boundaries.
  • Kiro Power & MCP server (powers/paperbone-builder): A reusable Power with a local MCP server (powers/paperbone-builder/mcp-server.mjs) exposing visual tools and scaffolding a new vertical from apps/_template with zero core edits. SnapDose was scaffolded this way.
  • Testing: Vitest suites covering the shared core, all three apps, and deterministic rule checks.

Kiro is the builder. The proof is deterministic. The verifier is not AI—it is HMAC-SHA-256 and tested rules.

What I Learned

The hardest part wasn't the vision model—it was the failure path. When Gemini misreads a menu, the product cannot break; it has to hand the user a fast, forgiving editing screen. That is why Tap-to-Fix sits at the center of every app. I also published an honest vision evaluation directly in the repository—including where dense, curled menus missed our target bar—and used those exact misses to design Tap-to-Fix.

Try It Out

Top comments (0)