Multiplayer code editor inspired by Khan Academy's Embedded Editor, built using Svelte and TypeScript.
Code Together was intended to be used by teachers and peer tutors. Originally created for fully-online classes, I've found Code Together can be used in the classroom, too.
There are two versions of Code Together:
https://code.xacer.dev/
https://code.xacer.dev/room?id=<your-id-here>
The main priority of Code Together is safety. All operations happen in a sandboxed iframe
element.
To avoid infinite loops crashing the page, Code Together runs user code in a separate thread via Web Workers. This means it avoids the code injection techniques that Khan Academy uses to prevent infinite loops.
The editor supports most of the same Processing.js library that Khan Academy uses. Specifically, I use a modified version of ski.js that can be found under /static/_worker.js
.
number-scrubber
branch.Thanks to DesignEvo for the free logo creator.