File format

RPK file format (Rich Presentation Kit)

An RPK file (.rpk, short for Rich Presentation Kit) is a lesson made with Rupok, the free, open-source whiteboard for teachers. One file holds the slides, everything written on them, live interactive activities and a replay of the class. The format is open, documented and readable by people, scripts and AI.

Free · Opens in the browser · Apache-2.0 specification

What is an RPK file?

RPK stands for Rich Presentation Kit. Teachers make .rpk lessons in Rupok and share them with students like slide decks, on WhatsApp, Gmail or Google Drive. Unlike a PDF, the lesson stays alive:

  • Pages: slides (often from a PDF) or infinite boards.
  • Ink: every pen stroke, with its timing, so the class can be replayed.
  • Smart Objects: simulations, 3D models and quizzes that still run.
  • A readable outline: the lesson as Markdown and JSON, for search and AI.
Full name
Rich Presentation Kit (Rupok lesson)
Extension
.rpk
Media type
application/vnd.rupok.lesson+zip
Container
ZIP, with a mimetype first entry (like EPUB)
Opens with
Rupok, free in Chrome, Edge or Safari (rupok.app/open)
Specification
Open, Apache-2.0 (spec on GitHub)

What's inside a .rpk file

A .rpk is a ZIP archive. Rename a copy to .zip and you can look inside:

lesson.rpk                 a ZIP archive
├── mimetype               application/vnd.rupok.lesson+zip (first entry)
├── manifest.json          title, dates, course and chapter, page count
├── README.md              "This is a Rupok lesson…" + the outline
├── content.md             the lesson as readable Markdown
├── content.json           the same outline, structured
├── doc.loro               the lesson itself: pages, ink, history (Loro CRDT)
├── assets/<hash>.png      images and media
├── objects/<id>/index.html  interactive Smart Objects (HTML)
└── thumbs/<n>.png         page previews (optional)

doc.loro is the authoritative lesson: a Loro CRDT document that keeps its whole edit history, so one file is the lesson, its undo history and its class recording. README.md, content.md and content.json are plain-text summaries Rupok rewrites on every save, so anyone can read a lesson without special software.

How to open an RPK file

  1. Go to rupok.app/openin Chrome, Edge or Safari, on a phone or a computer.
  2. Drop the .rpk file on the pageor tap “Choose a .rpk file”. It opens in Student mode, read-only.
  3. Replay the class,flip through the pages and try the live activities.

Nothing is uploaded: the file is opened by your browser on your device. Teachers edit lessons at rupok.app/board.

How to convert an RPK file to PDF

  1. Open the fileat rupok.app/open.
  2. Press Download PDF.Every page is exported with the teacher's ink on it.
  3. Print it or share it.The PDF is made in your browser; nothing leaves your device.

How AI and developers read RPK files

Every .rpk describes itself. Give one to ChatGPT, Claude or an agent and it can tell what the lesson contains.

For ChatGPT, Claude and other chatbots

  1. Upload the .rpk file(or a link to it) and ask about the lesson.
  2. The model unzips itand reads README.md and content.md: titles, text, maths, diagrams, images and activities, page by page.
  3. Interactive partsare HTML files in objects/, which the model can read too.

For agents and developers

pip install loro          # Python
npm install loro-crdt     # JavaScript

python3 read_rpk.py lesson.rpk        # the skill's script: .rpk → Markdown
rupok export --md lesson.rpk          # the Rupok CLI does the same

Example: the outline inside a lesson

This is the content.md Rupok wrote for a short ICT lesson (download the sample .rpk).

# Binary numbers

- Subject: ICT
- Chapter: Number systems
- Pages: 3

## Page 1: Place value in base 2

> Each place is worth twice the place to its right.

$$1011_2 = 8 + 2 + 1 = 11$$

- Handwriting: 3 ink strokes
  - recognised maths (machine reading, may be wrong): $x^2$
- Shapes and diagrams: coordinate axes

## Page 2: Logic gates

- Shapes and diagrams: AND gate, OR gate, 2 × arrow

## Page 3: Try it

- Image: `assets/6c91…2ee8.png` (480 × 320)
- Smart Object: **Binary counter** (8 steps, `objects/binary-counter/index.html`)
FAQ

Questions people ask

What does RPK stand for?

RPK stands for Rich Presentation Kit. A .rpk file is a lesson made with Rupok, the free, open-source whiteboard for teachers.

What is an RPK file?

An RPK file is one whole lesson: its pages, the teacher's handwriting with timing, images, live Smart Objects (simulations, 3D models, quizzes) and a readable outline. It is a ZIP package with an open, documented format.

How do I open an RPK file?

Go to rupok.app/open in Chrome, Edge or Safari and drop the file on the page. It opens free in your browser, with no account and nothing uploaded.

Is there a free RPK file viewer?

Yes. Rupok's student viewer at rupok.app/open is free, runs in the browser on phones and computers, and replays the class stroke by stroke.

How do I convert an RPK file to PDF?

Open the file at rupok.app/open, then press Download PDF. Every page is exported with the teacher's ink, on your device.

Can ChatGPT or Claude read an RPK file?

Yes. Every .rpk made by current Rupok versions carries README.md, content.md and content.json: the lesson as plain Markdown and JSON. Upload the file and ask about it; agents can also use the read-rpk skill.

Is the RPK format open?

Yes. The specification and the reference reader and writer are Apache-2.0, so anyone can build tools that read or write .rpk files. See the spec on GitHub.

Can I open a .rpk file as a ZIP?

Yes. Rename a copy to .zip, or open it with any ZIP tool. Start with content.md; the lesson itself is doc.loro, which the Loro libraries for Python and JavaScript read.

My .rpk file isn't a Rupok lesson. What is it?

Other programs also use the .rpk extension, for example Esri CityEngine rule packages, Tizen resource packages and TI-99/4A cartridge files for the MAME emulator. If rupok.app/open says it isn't a Rupok lesson, open it with the program that made it.

Make your own .rpk lessons

Rupok is the free, open-source whiteboard for teachers. Write on slides, drop in live lessons from your AI, and share the whole class as one file.