Sha256: 4fefb201d71040fcfddd03cbd5e4be3cbff806e2270aad81ef9f3b19de9c9ac5
Contents?: true
Size: 1.74 KB
Versions: 2
Compression:
Stored size: 1.74 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. Displays keys if WITHKEY equals to true, t, yes, y, ja, j or 1 $ 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/AltonV/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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
autoremote-0.0.3 | README.md |
autoremote-0.0.2 | README.md |