Skip to content
zohaiblazuliPublic

About

Your CAIE study desk, offline. Download and annotate Cambridge past papers, time your sessions, and track the year — all without a browser. Built with Tauri, Rust & React.

Topics

Resources

Stars

8 stars

Watchers

0 watching

Forks

Latest commit

 

History

363 Commits

Folders and files

Repository files navigation

Bell

Bell

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.


Platform Built with Tauri React TypeScript Rust Version GitHub Stars


⭐ Star this repo



What it is

Bell is a downloadable Windows desktop app for focused studying of Cambridge (CAIE) exam papers. It downloads the papers you ask for onto your own machine and then gets out of the way so you can work.

Everything that matters happens locally. Browsing, searching, reading, annotating, timing, and drawing all keep working with the network unplugged — off the cached catalogue and the files already on disk.

Features

  • The whole CAIE catalogue, searchable. A Level, IGCSE, and O Level — every subject, session, and variant. Filter by level, exam series, or your own done / revision flags, and jump anywhere with Ctrl K.
  • Papers you actually own. Bell fetches PDFs onto your machine into a clean, human-browsable folder tree. Once a paper is down, it opens with the network off.
  • A real reader. Papers render in-app with a page rail, zoom, focus timer, and the mark scheme one click away — side by side with the question paper.
  • Annotate like paper. A six-colour highlighter and freehand pen with adjustable size and opacity, drawn on a canvas overlay. Ink is stored as fractions of the page, so it stays put through any zoom or resize.
  • Notebooks. Blank lined pages you own — write, draw, and keep notes right inside the app.
  • Time yourself. A focus stopwatch lives in the top bar and feeds your weekly focus minutes.
  • Track the year. A contribution-style activity grid, per-subject progress, session coverage, and a "due for review" queue on the dashboard.
  • Day and Night. A product-level tone toggle tuned so the bright white exam PDF is always the clearest thing on screen.

A look around


The Library — Day & Night

Bell library in Day mode Bell library in Night mode

Past paper reader with annotation and live mark scheme

Bell past paper reader with annotation and mark scheme

Notebooks — blank pages, your ink

Bell notebooks

Built with

Layer Stack
Shell Tauri v2 — small native Windows binary
Frontend React 19 · TypeScript · Vite · Tailwind v4
PDF 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.

Getting started

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 build

Other useful scripts

npm 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 redirect

How it fits together

Bell 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.

Design

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.

License

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.

Acknowledgements

  • 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.



Built with ♥ by zohaiblazuli

About

Your CAIE study desk, offline. Download and annotate Cambridge past papers, time your sessions, and track the year — all without a browser. Built with Tauri, Rust & React.

Topics

Resources

Stars

8 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages