CodeLab: Runnable Program Examples in the VS Code Editor

Insert program examples in C, C++, Python, Java, C#, JavaScript, Pascal and PHP into any Moodle text, write them in the code editor of VS Code and run them on a Jobe server, on the CodeLab runner or in the browser.

Moodle Plugin CI Moodle 4.5 to 5.3 License GPL v3

Live demo: try the CodeLab plugins on codelab.tsp.edu.rs. Look around as a guest (Python runs in the browser), or use the demo accounts teacher and student (password Demo-2026) to run every language, the debugger and SQL. Everything is reset every night.


What's New in v1.22.0


Core features


The CodeLab plugins


Requirements


Privacy

Programs and their input are sent to the server set by the administrator (Jobe or the CodeLab runner, own or hosted) to be compiled and run. Interactive runs, the debugger and SQL always go to the CodeLab runner, with a short-lived signed token that holds only the numeric user id; the runner keeps nothing after the session ends. Nothing is stored in Moodle. When Python runs in the browser, the browser downloads Pyodide from the address in the settings, by default the jsDelivr CDN. It does not send the program or its input there. When the administrator turns on AI explanations, the program and the messages of the console are sent to the AI provider of the site through the AI subsystem of Moodle. The plugin implements the Moodle Privacy API.


Developed by Boban Blagojević. Languages: English, Serbian (Latin and Cyrillic) and 12 more: de, fr, es, it, pt, pl, hr, bs, sl, mk, sk, cs. It bundles Monaco Editor (MIT).
Source, documentation and issue tracker: github.com/blagojevicboban/moodle-tiny_codelab
Licensed under the GNU GPL v3 or later.