A calm, offline-first desktop app for studying Cambridge past papers.
Browse the entire CAIE catalogue, pull the papers you want onto your own machine, then annotate, time yourself, and track your focus — all with the network unplugged.
The Library — Day & Night
Past paper reader with annotation and live mark scheme
Notebooks — blank pages, your ink
| Layer | Stack |
|---|---|
| Shell | Tauri v2 — small native Windows binary |
| Frontend | React 19 · TypeScript · Vite · Tailwind v4 |
pdfjs-dist in the webview + a <canvas> annotation overlay |
|
| Core | Rust — catalogue sync, downloads, and local storage |
| Cache | SQLite for the catalogue snapshot; one JSON file per key for study state |
The frontend never touches the network directly. All HTTP lives in Rust, which keeps the webview as network-isolated as it was when the app had no network at all.
Prerequisites: Node.js (with npm) and the Rust toolchain, plus the Tauri v2 system dependencies for your platform.
# install frontend dependencies
npm install
# run the app in development (hot-reload frontend, Rust recompiles on change)
npm run tauri dev
# build the Windows installer
npm run tauri buildnpm run build # frontend typecheck + bundle only
npm test # unit tests (Node's own test runner)
npm run tokens # regenerate design tokens from the Figma-measured table
npm run verify:papers # end-to-end check of the catalogue API and download redirectBell caches a catalogue it does not own and downloads the files you ask for. Two public, unauthenticated endpoints do all the talking:
GET /api/desktop/v1/catalog the whole catalogue (~70 KB gzipped, ETag + 304)
GET /api/desktop/v1/file/{paperId}/{qp|ms} redirects to the real PDF, resolved server-side
Downloads land under Documents\Bell in a browsable tree:
A Level\Mathematics (9709)\Feb-Mar (m16)\9709_m16_qp_62.pdf
A catalogue resync only ever replaces the catalogue tables — the record of what you've downloaded is never touched.
Bell's interface is the Shape Kit (Bell App v2): a cream desk ruled in 2px ink, flat Bauhaus shapes in ink, blue, red and yellow, Jost and Azeret Mono type, and Hush the owl as its only mascot. There is no glass and no blur; selection inverts to ink; motion is a small pack of shape animations that switch off with reduced motion. The hero of every screen is the bright white exam PDF. See DESIGN.md.
Bell is source-available, not open-source. The code is public to read and learn from, but it is not licensed for redistribution or commercial use — in part because it vendors third-party assets (the SF Pro typeface and Cambridge marks) that are not ours to relicense. See LICENSE for the full terms.
For licensing enquiries or permissions, reach out at zohaibkhanbhs@gmail.com. Please use a clear, descriptive subject line — emails without one are unlikely to get a response.
- Hadeed Khan — for occasionally sharing his Codex account and making development a little smoother.
- Cambridge, CAIE, and the Cambridge Assessment International Education name and logo belong to Cambridge University Press & Assessment. Bell is an independent study tool and is not affiliated with or endorsed by Cambridge.



