Product

One program writes papers, slides, web pages and exams, with live code and figures.

IDoc is a document format with a single introducer, @. It covers the ground LaTeX and Markdown cover and then keeps going: the questions, the code and the grading live in the same program as the prose.

55question types
  • 59
    widgets
  • 16
    live-code languagesplus Octo, which runs MATLAB and Octave code

IDoc 1.1.3. A digital logic lab: the source on the left, the graded page on the right, both from the same program.
IDoc 1.1.3. A digital logic lab: the source on the left, the graded page on the right, both from the same program.

Questions

  • Multiple choice in four layouts, fill-ins that check exact text, numbers with tolerance, regular expressions or algebra
  • Matrices, truth tables, matching, ordering, Likert scales, essays with rubrics and freehand drawing
  • @qc(10) sets the points; @qc(30, choose=3) counts the best three answers.

Maths and print

  • Maths without backslashes: KaTeX on screen, Typst in the PDF
  • The text in the PDF stays selectable.
  • Ten paper venues, and the same program exports to EPUB

Instruments in the page

  • A breadboard with an Arduino: a real circuit solver, an ATmega328P written in TypeScript, sketches compiled by avr-gcc
  • Schematics simulated with ngspice, and a board studio for PCBs
  • CAD, a mesh editor, a spreadsheet with about 60 functions, and logic, automata, chemistry and physics sandboxes

Paper exams

  • @scanform adds registration marks and a barcode to every paper, so the scans can be sorted easily.
  • Handwriting is read by a local model only, so student work never leaves the machine.
  • idoc-autograde grades scans from the command line.

Access

  • Read-aloud with spoken maths, and @braille with an STL you can 3D print
  • A 33-layout on-screen keyboard
  • Offline voice commands, with no language model involved

A course is a folder

  • ECE231.course and an ECE231.lms folder hold the roster, the grades, the submissions and the log.
  • Embed any document in any web page with one script tag and an <idoc-doc> element
A question, as it is written
@qc(10)
Using only NAND gates, how many are needed
to build a 2-input XOR? @q(fn: 4)

Where it stands

Live at idoc.page since August 2026, running Rutgers ECE 231 Digital Logic Design for about 350 students. The desktop app runs on macOS (Apple silicon), Windows, and Linux.