CC: Tweaked

CC: Tweaked

42M Downloads

Runnable examples on tweaked.cc

SquidDev opened this issue ยท 0 comments

commented

It's now pretty easy to embed a CC terminal into a website, which gives us the obvious task of allowing people to run examples from tweaked.cc in the browser.

I'm somewhat imagining something like sympy live, where you can "run" and it'll open a computer and run that script. Obviously the aesthetics will be a bit different - I guess we'd want a computer in a little window that you can drag about.

As mentioned in #566, ideally most examples would be self-contained, so this should be pretty easy to do. I'm not 100% sure on what the workflow would be once an example has run - do we just dump them into a CraftOS shell? If so, I assume we'd want to reboot the computer if they want to run another example.