CodeLab: Runnable Program Examples in the VS Code Editor

Insert program examples in 27 languages (including C, C++, Python, Java, C#, JavaScript, TypeScript, Go, Rust, SQL and HTML/CSS/JS) into any Moodle text, edit them in Monaco and run them on Jobe, on the CodeLab runner or in the browser.

Moodle Plugin CI Moodle 4.5 to 5.3 License GPL v3

Live demo: try CodeLab on demo.codelabedu.com as a guest: every language, the debugger and SQL run on CodeLab Cloud. Sign in with teacher or student (password Demo-2026) to edit pages and take the quizzes. The same demo has the Algorithm and AISim plugins. Reset nightly.


What's New in v1.31.0


Core features


The CodeLab plugins


Requirements


Video: https://youtu.be/BUF-3pVR1Rk (live coding, the visual debugger, safe mode and auto-grading in 2 minutes).


Privacy

Programs and input are sent to the configured Jobe or CodeLab runner server to compile and run; interactive sessions use a short-lived signed token with only the numeric user id and keep nothing after exit. Browser Python loads Pyodide from the configured URL without sending code. Optional AI explanations use Moodle's AI subsystem. Implements the Moodle Privacy API.


Developed by Boban Blagojević. 29 languages: en, sr_lt, sr_cr, de, fr, es, it, pt, pt_br, pl, hr, bs, sl, mk, sk, cs, tr, nl, ru, uk, ro, hu, bg, el, sq, ja, zh_cn, ko, ar. Bundles Monaco Editor (MIT).
Source and issues: github.com/blagojevicboban/moodle-tiny_codelab
Licensed under the GNU GPL v3 or later.