Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added a readme

  • Loading branch information...
commit 751c9887b3a1b0313ba414de062a37250ef822a4 1 parent d0d7299
@nfelger authored
Showing with 39 additions and 0 deletions.
  1. +2 −0  .gitignore
  2. +3 −0  History.txt
  3. +3 −0  TODO
  4. +31 −0 readme.md
View
2  .gitignore
@@ -0,0 +1,2 @@
+tags
+.redcar
View
3  History.txt
@@ -1,3 +1,6 @@
+2010/08/12
+ - Added some very basic instructions.
+
2010/04/12
- Simple class structure for sending chat messages
View
3  TODO
@@ -0,0 +1,3 @@
+- Get list of chats.
+- Create chat.
+- Receive messages.
View
31 readme.md
@@ -0,0 +1,31 @@
+*Only sending chats is supported at the moment.*
+
+Requirements
+===
+
+1. Linux
+1. Skype
+1. dbus (via apt on Ubuntu)
+1. ruby-dbus:
+ - wget http://github.com/downloads/mvidner/ruby-dbus/ruby-dbus-0.3.1.tgz
+ - tar xzf ruby-dbus-0.3.1.tgz
+ - cd ruby-dbus-0.3.1
+ - follow the instructions in README
+1. xvfb (if you want to run Skype head-less)
+
+Verify it's working
+===
+
+Start skype and sign in.
+
+Open an irb session and:
+
+ require 'dbus'
+ bus = DBus::SessionBus.instance
+ skype_service = bus.service("com.Skype.API")
+ client_to_skype = skype_service.object('/com/Skype')
+ client_to_skype.introspect
+ api = client_to_skype["com.Skype.API"]
+ api.Invoke("NAME ruby-skype")
+
+Skype should now ask whether "ruby-skype" should be allowed to connect. From here, you're on your own (for now).
Please sign in to comment.
Something went wrong with that request. Please try again.