virgo-agent-toolkit / rackspace-monitoring-agent

Rackspace Cloud Monitoring Agent
http://virgoagent.com/rackspace-monitoring-agent/
Apache License 2.0
118 stars 39 forks source link

POC Remote Terminal #846

Open creationix opened 9 years ago

creationix commented 9 years ago

Phase 0

kaustavha commented 9 years ago

Why not just have a web server running on the cloud vm running a luvit web server serving the page?

/frontdoor Which website are we trying to modify instead of just using a custom webpage?
creationix commented 9 years ago

I estimate about a day for each person to get the initial technical POC (phase 0) running, then a week to polish it and finish phase 1 to make for a sweet demo.

creationix commented 9 years ago

@kaustavha For the demo, greasemonkey would make it look like we've modified the production server and feel much more real. I split up the description to put the standalone client in phase 0.

creationix commented 9 years ago

For the pty, we probably want to just port https://github.com/chjj/pty.js/tree/master/src to luvit.

They already figured out how to create the pty on unix and windows as well as how to integrate it with libuv.

kaustavha commented 9 years ago

True, Im still wondering which website we're potentially 'integrating' this feature into. cloudcontrol? mycloud? intelligence?

creationix commented 9 years ago

@kaustavha My understanding was that it's for support people, so whatever web interface they use? I don't know exactly what that is.

kaustavha commented 9 years ago

@creationix Not scavenge either https://github.com/KateAdams/lua-pty or https://github.com/LuaDist/lpty ? Worth mentioning what i showed alex was just tty.js which uses chjj/pty.js as a backend service

creationix commented 9 years ago

Right, porting the lua bindings to luvit is actually more work than porting node bindings since translating between binding APIs is usually 1-1 mapping, but translating between event frameworks often requires complete re-architectures.

kaustavha commented 9 years ago

Makes sense. Interesting situation.