Project

ruby-vnc

0.03
Low commit activity in last 3 years
No release in over a year
A library which implements the client VNC protocol to control VNC servers.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 12.3
~> 3.7
~> 0.16

Runtime

~> 1.4.0
~> 1.0.6
 Project Readme

Introduction¶ ↑

The ruby-vnc library provides for simple rfb-protocol based control of a VNC server. This can be used, eg, to automate applications (sometimes there is no better way), or script some sort of interaction.

Being VNC based gives it the advantage of being able to be run against servers on any platform.

The primary documentation is for the Net::VNC class.

Running the tests¶ ↑

  • Boot up the two VNC servers with ‘docker-compose up`.

  • Run the test-suite with ‘bundle exec rake spec`.

Resources¶ ↑

Thanks¶ ↑

Code borrows a lot from Tim Waugh’s excellent rfbplaymacro. So far all it really offers on top of that is access to the host clipboard, and the ease with which it can be scripted, ie taking conditional actions based on the contents thereof.

TODO¶ ↑

  • Having the ability to take and analyse screen dumps would be useful.

  • Finish the specs.

  • Fix issues with the way we use a background thread to handle the clipboard etc chatter from the server.