Check a much more ergonomic version here!
You can test it here:
Add "?" and a link to a pad in the end of the url, like:
Changining the last word in the link you can change the pad! =D
Just serve the files in the folder src via an HTTP server.
I'm no good at UML, but I made a diagram to try to show the architecture of EtherPlant: http://andresmrm.github.io/EtherPlant/src/etherplant.html?https://pad.okfn.org/p/etherplant-architecture
The code is not big, but was made in a few hours, so it's not good to look at... Feel free to submit patches.