Skip to content
ShaitrishPublic

About

The open-source whiteboard for teachers, with your own AI built in. Live Smart Objects, GPU ink, replay. Mind over matter.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Rupok — Mind Over Matter

The open-source whiteboard for teachers, with your own AI built in.
Write on slides with a pen. Drop in live, interactive lessons your AI made. Replay any class, stroke by stroke.

rupok.app · works in Chrome, Edge and Safari, installable as an app · desktop app for Windows, macOS and Linux

Status: early alpha (v0.2.9). The board works in the browser today at rupok.app: pen and highlighter, slides and PDFs, Smart Ink and maths, Smart Objects with presets, the Library, Teach mode, replay, PDF export and .rpk lesson files, plus AI chat with your own Claude, Codex or OpenCode. Desktop apps for Windows, macOS and Linux are out (unsigned for now): download them from Releases or rupok.app/download. What changed is in CHANGELOG.md. Much more is in active development. See ROADMAP.md for what is done, what is in progress, and what you can help build.


For teachers

Rupok is a free replacement for paid board apps like Note3, made for online and classroom teaching.

  • Write naturally. A GPU ink engine keeps the pen fast and smooth, on an 86-inch panel, a laptop or a pen tablet. Palm rejection, pressure, highlighter, shapes and an infinite board. Rub with your thumb or palm to erase, like a board duster.
  • Made for the smartboard. Teach mode fills the whole screen (the Windows taskbar too), with an option for just one small controller in the corner. Slide thumbnails slide out from the left or right edge, like Note3. Bold icons you can see from the back of the room.
  • Live lessons from your AI. Ask your own AI agent (Claude Code, Codex, OpenCode…) for "a binary counter for Grade 7" or "a quiz on networking". It builds a Smart Object: a live, interactive diagram, simulation, timeline, quiz or game that sits on your slide. You write on top of it, and your clicker steps through it like slide animations.
  • Every class is recorded. Every stroke is timestamped, so you can replay a lesson step by step for students who missed it.
  • Works offline. Lessons are single .rpk files (RPK: Rich Presentation Kit). Smart Objects run without internet, and common libraries ship inside the app.
  • Your files stay yours. Lessons are plain .rpk files in a folder you choose. Back them up with any cloud drive app (Google Drive, OneDrive, Dropbox), export them any time, no lock-in.
  • Readable by people and AI. Every .rpk carries a plain Markdown and JSON outline of the lesson, so ChatGPT, Claude or any script can read it. See the RPK format and the read-rpk skill.
  • Rupok Cloud. Sign in with Google: 500 MB free for every teacher, and share links your students open with no account (live lessons, replay, make a copy). Sync between your laptop and the classroom board is coming.
  • Live classes with your school system. A school's class panel (Course37 first) docks beside the board: quizzes from the slide, pass the pen to a student's phone, students follow your slides.
  • Safe by design. Smart Objects run in a locked-down sandbox: no network, no access to your files.

What works today, and what's next

Feature
✅ Fast pen ink with pressure, smoothing and palm rejection (engine)
✅ Pages, slides and infinite boards; undo/redo; lasso; text and images (engine)
✅ .rpk lesson files that keep the full class history
✅ AI agents create lessons and Smart Objects through the Rupok MCP server
✅ Smart Object SDK, examples and an AI skill pack
🚧 Board in the browser: toolbar, PDF import, Smart Objects, save/open, replay
✅ Desktop app for Windows, macOS (universal .dmg) and Linux (download); draw over any app (overlay, beta)
✅ Library, Smart Dock, Settings, gestures and palm eraser, PDF export with handouts (v0.2.0)
✅ AI chat inside the app with your own Claude, Codex or OpenCode, and live AI editing of the open lesson (v0.2.0)
✅ Thumb and palm duster, Teach mode over the Windows taskbar, Note3-style thumbnails on either side, Rupok icons, one-click "Connect your AI" (v0.2.7)
✅ Smart Ink (shapes, graphs, flowcharts, logic gates), offline handwritten maths to LaTeX, "Solve this", voice input in English and Bangla (v0.2.0)
✅ Rupok Cloud free plan (500 MB, student share links) and live classes through a school's class panel, Course37 first (v0.2.8)
📋 Rupok Cloud sync between devices, paid plans
📋 Live broadcast to students, live quizzes, subject tools (ruler, protractor, compass), Bangla interface, Android app

The full list, with a plan for every item, is in ROADMAP.md.

Connect your AI

Use Claude Desktop, Claude Code, Codex or another AI app with MCP? You don't need to install anything else: the Rupok desktop app (v0.2.7 or newer) includes the AI bridge.

  1. In Rupok, open Connect AI and pick your AI app.
  2. Press Copy setup prompt for your AI and paste it into your AI. It checks the bridge, adds Rupok to its settings (showing you each change first), and tells you when to restart it.
  3. Type the 6-digit code shown on your board when your AI asks for it.

Using Rupok in the browser at rupok.app? Install the desktop app once for the bridge; Chrome and Edge ask you to allow the connection the first time. The step-by-step guide, with fixes for common problems, is docs/connect-your-ai.md.

Then ask your AI: "Make me a 6-slide Rupok lesson on binary numbers for Grade 7, with an interactive counter."

For developers (needs Rust): the same bridge as a standalone rupok command, for making lesson files without the app.

git clone https://github.com/shaitrish/rupok && cd rupok
cargo install --path crates/rupok-cli          # installs the `rupok` command
claude mcp add rupok -- rupok mcp --workspace ~/Lessons   # Claude Code

For Codex, OpenCode and others, see skills/AGENTS.md. For Claude Code, copy skills/rupok-smart-objects into ~/.claude/skills/.

Check any Smart Object by hand:

rupok validate examples/objects/binary-counter.html --steps 10

Support Rupok

Rupok is free and open source, with no ads or tracking, and it stays free whether or not you donate. Donations pay for signing certificates (so Windows and macOS stop warning on install), servers, test devices and development time. Donate at rupok.app/donate by bKash or US bank transfer. Starring the repo, sharing Rupok with a teacher, reporting bugs and translating help just as much.

For contributors

Rupok is a Rust core compiled natively and to WebAssembly, a SolidJS UI, and a Tauri 2 desktop shell. Read AGENTS.md for conventions (it is written for AI coding agents, but it is the shortest tour for humans too) and CONTRIBUTING.md for the workflow.

Architecture

 Teacher's AI agent (Claude Code, Codex, OpenCode…)
        │ MCP over stdio
        ▼
 ┌───────────────────────┐          ┌───────────────────────────────────────┐
 │ rupok CLI + MCP      │          │ Board UI: SolidJS (apps/board)        │
 │ crates/rupok-cli        │          │   Smart Object host: sandboxed        │
 └──────────┬────────────┘          │   iframes + SDK (packages/object-sdk) │
            │                       │ Desktop shell: Tauri 2                │
            │                       └───────────────────┬───────────────────┘
            │                                           │ wasm-bindgen
            │                       ┌───────────────────▼───────────────────┐
            │                       │ rupok-wasm: board engine                │
            │                       │ tools, gestures, selection, replay    │
            │                       └──────┬───────────────────────┬────────┘
            ▼                              ▼                       ▼
 ┌───────────────────────┐   ┌───────────────────────┐ ┌───────────────────────┐
 │ rupok-format            │──▶│ rupok-core              │ │ rupok-render            │
 │ .rpk zip, Smart Object│   │ Loro CRDT lesson doc, │ │ wgpu ink: WebGPU,     │
 │ bundles, validation   │   │ undo, merge, timeline │ │ WebGL2, Vulkan, Metal,│
 └───────────────────────┘   └──────────┬────────────┘ │ DX12                  │
                                        ▼              └───────────────────────┘
                             ┌───────────────────────┐
                             │ rupok-ink               │
                             │ filter, pressure,     │
                             │ simplify, point codec │
                             └───────────────────────┘

Repository layout

Path What License
crates/rupok-ink Ink pipeline and the stroke point codec AGPL-3.0-or-later
crates/rupok-core Lesson document on Loro, spatial scene index AGPL-3.0-or-later
crates/rupok-format .rpk package, Smart Object bundles and validator Apache-2.0
crates/rupok-render GPU ink renderer (wgpu) AGPL-3.0-or-later
crates/rupok-wasm Board engine and wasm-bindgen API AGPL-3.0-or-later
crates/rupok-cli The rupok CLI and MCP server AGPL-3.0-or-later
bench/ Performance harness and budgets AGPL-3.0-or-later
apps/board Board UI (Vite + SolidJS) AGPL-3.0-or-later
packages/object-sdk Smart Object SDK (@rupok/object-sdk) Apache-2.0
spec/ .rpk (Rich Presentation Kit) format and Smart Object specs Apache-2.0
skills/ Skill pack and instructions for AI agents Apache-2.0
examples/objects/ Example Smart Objects (validated in CI) AGPL-3.0-or-later
docs/roadmap/ A plan for every planned feature AGPL-3.0-or-later
DESIGN.md, brand/ Design system and logo AGPL-3.0-or-later

Build and test

The Rust toolchain (1.100, with rustfmt, clippy and the wasm32-unknown-unknown target) is pinned in rust-toolchain.toml; rustup installs it on first use.

cargo test --workspace                       # all Rust tests
cargo run -p rupok-bench --release             # performance budgets (add -- --check to fail on a miss)
cargo fmt --all --check && cargo clippy --workspace -- -D warnings
cargo build -p rupok-wasm --target wasm32-unknown-unknown --release
node --test "packages/object-sdk/test/*.test.mjs"   # SDK tests (Node 22+)

Run the board UI (needs Bun or npm, and cargo install wasm-bindgen-cli --version 0.2.130):

cd apps/board
bun install
bun run wasm      # builds rupok-wasm and generates src/wasm/
bun run dev

Performance

Pen latency is the feature we care about most, so it has its own budgets in CI (bench/latency, cargo run -p rupok-bench --release -- --check). The method, the full numbers and the per-frame design are in docs/performance.md.

Measured for v0.2.5 on a development laptop, not a classroom board (Ryzen 5 5625U with integrated Radeon graphics, Chrome, a 3840×2160 screen, a simulated 240 Hz pen, 8 s of handwriting), against v0.2.4:

While writing v0.2.4 v0.2.5
Frames per second, median / slowest 5 % 56.8 / 20.0 59.9 / 41.8
Pen to frame submitted, p50 / p95 14.1 / 57.6 ms 10.1 / 20.9 ms
Frames that redrew the whole 4K canvas 100 % 3.2 %
Screen area the compositor redrew per frame 86.5 % 14.1 %
Ink pixels that change when the pen lifts 0.00 % 0.00 %

Not measured yet: Windows, WebView2 and Intel graphics on a real classroom panel. If you have a board, Settings → About → Troubleshooting → Run board speed test writes a report you can attach to an issue; see docs/board-test.md.

Good first issues

  • Issues labelled good-first-issue.
  • Known issues in ROADMAP.md: small, well-specified fixes found while writing the specs.
  • Tasks tagged good-first-issue inside the plans in docs/roadmap/.
  • New example Smart Objects for your subject in examples/objects/.

Specs

Changes to either go through an RFC (CONTRIBUTING.md).

License

The app is AGPL-3.0-or-later (LICENSE). The specs, the rupok-format crate, the Smart Object SDK and the skill pack are Apache-2.0, so anyone can build compatible tools, objects and agents. COPYING.md explains the split. Your lessons and the Smart Objects you make are yours.

Rupok is made by Shaitrish and contributors. Please read our Code of Conduct and Security policy.

About

The open-source whiteboard for teachers, with your own AI built in. Live Smart Objects, GPU ink, replay. Mind over matter.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages