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

0 stars

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). 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.
  • 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 (coming soon). One-click sync between your laptop and the classroom board, and share links your students open with no account (live lessons, replay, make a copy). 500 MB free for every teacher.
  • 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)
✅ 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 sync and student share links (coming soon)
📋 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.

Try the AI workflow now

You need Rust and an AI agent that supports MCP.

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/. Then ask your agent: "Make me a 6-slide Rupok lesson on binary numbers for Grade 7, with an interactive counter."

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

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

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages