Surely there must be a better solution?
Cloud Catcher: A web interface for ComputerCraft
Cloud Catcher is a website which allows you to remotely interface with a computer, viewing the terminal and editing files. Simply download the client script, pass in the provide token and lo! You should be able to interact with this remote terminal just like any other computer. Well, mostly (see the fine print at the bottom).
That's not all though, enter cloud edit cloud.lua, and your should be greeted with an editor. You can then edit this file to your heart's content: press Ctrl-S to save it, and mirror your changes back to the original computer.
One other rather neat feature is the ability to share sessions. On the top left, you can see your token: click it and you'll be provided with a URL which can be shared with anybody else. Finally, the multiplayer notepad that everyone wanted.
Screenshots
Spoiler
Editing a fileSharing a Cloud Catcher session across multiple browsers
The fine print
It's worth noting that Cloud Catcher is still in development - there are a couple of things you need to be aware of:
- Cloud Catcher depends on CC:Tweaked. Everything is powered by websockets, so there really isn't a way around that.
- There's currently a size limit of 15kB on files. I'm looking into adding file compression in future versions, which should alleviate this a bit, but it should still be enough for most programs. We have require now, you're allowed to split things up!
- Browsers block some keyboard shortcuts from being processed, most notably Ctrl-T. This means it's currently impossible to terminate a program remotely.
If you find a bug, have any suggestions, or just feel like helping out do check out the repository. There's a whooping big todo list on the issue tracker, which might give you an idea of what's planned for the future.
Also a big thanks to 1lann and GravityScore for their work on Mimic: Cloud Catcher's renderer is heavily based off of it.