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 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 codelab.tsp.edu.rs as a guest (Python runs in the browser), or sign in with teacher or student (password Demo-2026) for every language, the debugger and SQL. Reset nightly.


What's New in v1.23.0


Core features


The CodeLab plugins


Requirements


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ć. 15 languages: en, sr_lt, sr_cr, de, fr, es, it, pt, pl, hr, bs, sl, mk, sk, cs. Bundles Monaco Editor (MIT).
Source and issues: github.com/blagojevicboban/moodle-tiny_codelab
Licensed under the GNU GPL v3 or later.