Sha256: 0ac175b3d8f0b96623f5e89393a693497df11203d43db1180309f6de56847b43
Contents?: true
Size: 1.7 KB
Versions: 1
Compression:
Stored size: 1.7 KB
Contents
# Autoremote A library that makes it easier to interact with your other autoremote devices. This project incudes both a library and an executable that uses the library. Devices are saved with sqlite3 in ~/.autoremote/devices.db If you don't know how to get your personal key [follow this link](http://joaoapps.com/autoremote/personal/) ## Installation $ gem install autoremote ## Usage ### Executable $ autoremote add NAME KEY Save device" $ autoremote remove NAME Removes device" $ autoremote list [WITHKEY] Lists all devices" $ autoremote message NAME MESSAGE Send a message to a device" $ autoremote register NAME HOST Register this computer to the device" ### Library ```ruby require 'autoremote' # This will save a device for use later AutoRemote.addDevice( name, key ) # Removes a device AutoRemote.removeDevice( name ) # List all saved devices AutoRemote.list # Send a message to a device # The parameter device can either be a Device object or the name of the device AutoRemote.sendMessage( device, message ) # Register on the device. # This has the same effect as following the guide on http://joaoapps.com/autoremote/linux/) # device can either be a Device object or the name of the device # host can be either a hostname or ip-address, but they have to be public (i.e. reachable from the internet) AutoRemote.registerOnDevice( device, host ) ``` ## Contributing 1. Fork it ( https://github.com/[my-github-username]/autoremote/fork ) 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create a new Pull Request
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
autoremote-0.0.1 | README.md |