A working Python robot, running in the reader's browser: they write code, press Run, and watch it drive.
Free to embed on a blog, a school website, Google Sites, Moodle, Teams or anywhere else that allows an iframe.
No sign-up, no key, nothing to install.
1. Choose what it starts with
2. Copy this into your page
3. This is what your readers get
Worth knowing
It is free, and it stays free. Embed it on as many pages as you like. A small link back to BugBotLab sits in the corner.
Work is not saved. Browsers keep storage for an embedded frame separate, and often block it, so treat an embed as a place to try things, not somewhere to keep coursework. For saved progress, marking and a class, send students to the lessons.
The first run takes a few seconds. Python itself is downloaded into the browser the first time, then cached.
It needs a modern browser and about 30 MB of download on that first run. It works on a phone, but a laptop is better for writing code.
Set your own task. Teachers with a BugBotLab class can write a task, preview it, and embed that instead. Ask us if you want a task embedded that is not in the list.
Doing it by hand
The address is https://www.bugbotlab.com/bugbot-lessons/#/embed/<task>, and
?code=<base64> sets the starting program. Everything else is an ordinary iframe.