Inspiration
In 1985 a product called the Cauzin Softstrip let you load software by sweeping a reader across strips of dots printed in magazines. Paper was the network. We wanted to see what that idea looks like with the camera already in your pocket, so we rebuilt it as a browser app: any file becomes printable pages of codes, or an animated on-screen stream, and a phone camera reads it back.
What it does
- Pick a file (up to 256 KB). Strip encodes it with a fountain code, so the pieces can arrive in any order and a few can be missing.
- Paper: the file is laid out as printed A4 or Letter pages, with repair pages built in so no single page is critical.
- Screen: the file plays as an animated stream of codes that a phone camera reads live.
- The receiver verifies the result with a SHA-256 hash before offering the download.
- No server, no account, no upload. It works offline once loaded (PWA), and the privacy tests assert that nothing leaves the device.
How we built it
Everything in the repo was written in Kiro, spec-first, in three packages: a pure-TypeScript codec (systematic LT fountain code with dense repair rows, CRC-checked packets), a symbols layer (QR encoding and a WebAssembly decoder, self-hosted under a strict CSP), and the app (React, 34 screens converted from the design with a screenshot-diff fidelity gate). Each has requirements, design and tasks, with numbered correctness properties, property-based tests, and measured claims instead of guessed ones. Steering files and hooks keep the rules (purity, dependency log, lint on save) enforced.
Challenges
- A recovery target I had written (decode from about 1.1x the packets) turned out to be mathematically unreachable. Kiro's spec process forced us to measure instead: the codec now publishes three measured claims with sample sizes, and dense repair rows came out of a parameter sweep.
- The first decoder library we picked failed our own decision rule on rotated and skewed photos, so we measured two decoders on the same degraded images and switched.
- Fitting a WebAssembly decoder and a service worker under a strict Content Security Policy, with no inline styles at all.
Accomplishments
- The codec's measured recovery claims hold at 0.99 or better over 1,000 trials per size.
- 316 codec, 148 symbols, 132 app and 94 tooling unit tests, plus 233 browser tests that include full round trips: file to printed pages to page images to byte-identical file, and screen to camera.
- A Samsung Galaxy S23 received a 90 KB image from a laptop screen in a few seconds. [UPDATE after the paper test: add the printed-page result here.]
What we learned
Writing the requirement is the cheap part. Measuring whether it is reachable, and letting the spec change when it isn't, is where the time goes. Properties and counterexamples caught real bugs a happy-path test would have missed.
What's next
Compression before encoding, optional encryption, a faster path for large files (the Gaussian-elimination cap makes late-join slower above about 1,000 blocks), and more real-device testing across phones and printers.
Prior art
Animated-QR file transfer already exists. Decimen is the closest relative, and TXQR, libcimbar and several paper-backup tools such as PaperBack and qr-backup came before us. Strip's angle is the print path and the Softstrip story, with a measured codec behind both. Dependencies and tools are listed in docs/dependencies.md in the repository.
Built With
- fast-check
- html5
- kiro
- playwright
- pnpm
- pwa
- qr
- react
- service-worker
- typescript
- vercel
- vite
- vitest
- web-workers
- webassembly
- zxing-wasm
