Find your next open-source project

Search by name, purpose, or keyword — or paste a GitHub repository URL

linjiejim/ohmwork

Learning Resources

Interactive electronics course where each concept comes with a draggable, live-computed circuit simulation and short narrated lessons.

270
20
TypeScript
MIT
2 days old

What it is

Ohmwork is an interactive electronics course. Each concept is paired with a small simulation that readers can drag, switch and adjust, with values recomputed live from the formulas in the page rather than shown as static images. The curriculum runs from voltage and current through sensors, RF and PCB design, so beginners can follow it in order and experienced readers can jump back into a chapter.

Circuit diagrams are hand-drawn SVG and formulas are typeset with KaTeX, so they stay sharp at any zoom. Every lesson also opens with a one-minute narrated animation plus a text transcript, and each lesson is tagged with difficulty and estimated duration (roughly ten minutes).

The full course is 4 stages, 12 chapters and 54 lessons: circuit basics, semiconductors and analog circuits, digital/MCU/sensors, and wireless plus design practice. Three quick-reference pages (toolbox calculators, symbol reference, glossary) and ⌘K search sit alongside the lessons, and learning progress is stored in the browser locally.

Run it locally

You need Node.js and npm. From the repository root:

npm install
npm run dev        # http://localhost:5273

Open the printed address in a browser and the home page simulation should respond to the voltage slider. To check the build and the course content:

npm run build      # type check + bundle to dist/
npm test           # course smoke tests + design guards

Layout checks (text overlap, overflow, horizontal scrolling) are run inside the browser: with the dev server running, execute (await import("/scripts/audit-layout.js")).audit() in the console at both desktop and mobile widths.

Use it without installing

The deployed site at ohmwork.linjiejim.com serves the same lessons, so readers who only want to study the material do not need to clone or build anything. The repository also documents how to add a lesson: register the title, summary, difficulty and duration in src/curriculum/curriculum.ts, write src/content/<chapter>/<lesson>.mdx, put interactive components in src/widgets/<chapter>/, then follow docs/AUTHORING.md and run npm test.

Constraints

  • The site is a Vite/React 19/TypeScript/MDX application; local development assumes a working Node.js and npm toolchain.
  • Progress is kept in the browser's local storage, so it does not follow the reader across devices or browsers.
  • Deployment targets GitHub Pages via a workflow on pushes to main; pull requests only run checks and do not publish.
  • Course text and illustrations are MIT-licensed alongside the code, so reuse and adaptation are allowed with attribution.

HotRepo's take

The repository appeared in HotRepo's new-project list on 2026-11-27, recording 91 stars gained over a one-hour window (197 to 197 total at the time of that snapshot, with 14 forks). That is a short observation window on a recently created project, so it shows early attention rather than a settled trend. What stands out technically is the decision to compute every displayed value from the page's own formulas and to hand-draw all schematics as SVG instead of embedding screenshots — that is what makes the “drag it and watch it react” premise hold up rather than being a scrolling textbook.

Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.

You might also like

  1. chadyi/StudyOnTVAn offline Android app for phones, tablets and TVs that unlocks screen time after children finish quizzes.Kotlin809
  2. smithjohn78390/tongjiang-labFree offline-ready 3D science lessons for Chinese high-school physics, chemistry, biology and geography.HTML423
  3. agharsallah/esp-labs-webA browser-based ESP32-S3 course that pairs wiring lessons with simulators and a guided firmware code reader.TypeScript182
  4. HKUDS/DeepTutorAn agent-native learning workspace that combines a personalized AI tutor, RAG knowledge bases, interactive books, and practice tools.Python61,595
  5. THU-MAIC/OpenMAICTurns a topic or uploaded material into an interactive AI-taught classroom with slides, quizzes and simulations.TypeScript41,988