This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Wed Nov 12 14:20:44 -0800 2008 | |
| |
README.markdown | ||
| |
Rakefile | Sun Nov 23 11:09:12 -0800 2008 | |
| |
bin/ | Sun Nov 16 20:29:54 -0800 2008 | |
| |
examples/ | Wed Nov 12 17:55:47 -0800 2008 | |
| |
lib/ | ||
| |
switchboard.gemspec |
README.markdown
Switchboard
Switchboard is both a toolkit for assembling XMPP clients as well as a set of command-line tools for interacting with XMPP servers.
Getting Started
Install it:
$ sudo gem install mojodna-switchboard -s http://gems.github.com
Install optional dependencies for additional functionality:
$ sudo gem install oauth # (for OAuth PubSub support)
$ sudo gem install fire-hydrant # (for User Location support)
$ sudo gem install rb-appscript # (for User Tune support)
Configure it:
$ switchboard config jid jid@example.com
$ 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 subscriber@example.com --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 UserTune (XEP-0118):
$ switchboard --resource switchtunes pep tune
You can do this using a JID that is already online.








