I just finished building the new version of an old project, Codr.cc.
It allows you to store, share, or broadcast notes or code. You can drag-and-drop files onto it. I took a lot from notepad.cc in the way it saves automatically to the server. Append '/extension' to your links to activate real-time syntax highlighting, currently supporting:
js, html, css, php, c, cpp, java, py, haskell, smalltalk, and stex (I should list that somewhere...)
Each file has a public link you can share from where the file cannot be edited.
Changes to the file can bee seen in really real time from either end of the (non-public) url.
I can't provide a concrete answer since I have to write new parsers myself, and I'm not familiar with scala. However, if I see the project take off in any significan way, I will dedicate some time to adding support for more languages :)
That reminds me that I should put some contact info up on the site somewhere...
Could you have an extension of /preview or /render that would render the page live on the broadcast side. This would be great for teaching/demos. Even better if they can switch between code/render view.
HTML is the easy part, but maybe consider extending it like http://ideone.com/ an online compile service. Or maybe combine it though i am not sure if ideone.com offers an API.
It allows you to store, share, or broadcast notes or code. You can drag-and-drop files onto it. I took a lot from notepad.cc in the way it saves automatically to the server. Append '/extension' to your links to activate real-time syntax highlighting, currently supporting:
js, html, css, php, c, cpp, java, py, haskell, smalltalk, and stex (I should list that somewhere...)
Each file has a public link you can share from where the file cannot be edited.
Changes to the file can bee seen in really real time from either end of the (non-public) url.
And all with a really nice interface to boot!
Let me know what you think :)