Serves screen updates as animated gif over http. Based on node-gif by Peteris Krumins and node-rfb2
- running vnc server
- node 0.8 (see issue #2)
- netscape 2.0+
npm install -g vnc-over-gif
start server:
$> PORT=4455 vnc-over-gif
open url in the browser - http://localhost:4455/screen.gif?host=localhost&port=5900&password=secret
Preliminary support has been added for keyboard and mouse interactivity. To use, load the js.html file instead, like so:
http://localhost:4455/js.html?host=localhost&port=5900&password=secret
- requires Javascript, US layout keyboards
- events (including keystrokes) are sent to the remote server only when the mouse cursor is over the GIF image (otherwise they're sent to the browser).
- browser-recognised keystrokes (like Ctrl-N, Ctrl-T, etc) will only be passed through by Firefox -- other browsers don't allow these to be overridden and will fire their usual browser actions.
Inspired by this tweet
Animated gif as data transport