Git Product home page Git Product logo

switchboard's Introduction

Switchboard

Switchboard is both a toolkit for assembling XMPP clients as well as a set of command-line tools for interacting with XMPP servers.

Docs

Mailing List

Switchboard Google Group

Getting Started

Install it:

$ sudo gem install switchboard

Install optional dependencies for additional functionality.

OAuth PubSub support:

$ sudo gem install oauth

User Location (XEP-0080) support via Fire Eagle:

$ sudo gem install mojodna-fire-hydrant -s http://gems.github.com

Note: you will need to set up a PubSub subscription to your location via Fire Eagle for this to work.

User Tune (XEP-0118) support via iTunes (on Mac OS X):

$ sudo gem install rb-appscript

Configure it:

$ switchboard config jid [email protected]
$ switchboard config password pa55word

Settings will be stored in $HOME/.switchboardrc

Run it:

$ switchboard <command> <args>
$ switchboard roster list
$ switchboard roster add fireeagle.com
$ ...

Subscribe to a node using OAuth, overriding default settings:

$ switchboard --jid [email protected] --password pa55word \
    pubsub --oauth \
    --oauth-consumer-key <consumer key> \
    --oauth-consumer-secret <consumer secret> \
    --oauth-token <token> \
    --oauth-token-secret <token secret> \
    --server fireeagle.com \
    --node "/api/0.1/user/<token>" \
    subscribe

Publish iTunes' current track using User Tune (XEP-0118):

$ switchboard --resource switchtunes pep tune

You can do this using a JID that is already online.

switchboard's People

Contributors

grempe avatar mojodna avatar mwicat avatar pkoch avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.