Skip to content

Commit 49dc707

Browse files
author
Hjalti Jakobsson
committed
Merged with main repo
2 parents 00fbb50 + bac7343 commit 49dc707

File tree

7 files changed

+17
-14
lines changed

7 files changed

+17
-14
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ Siri Proxy is a proxy server for Apple's Siri "assistant." The idea is to allow
77

88
The main example I provide is a plugin to control [my thermostat](http://www.radiothermostat.com/latestnews.html#advanced) with Siri. It responds to commands such as, "What's the status of the thermostat?", or "Set the thermostat to 68 degrees", or even "What's the inside temperature?"
99

10+
Find us on IRC
11+
--------------
12+
13+
We now have an IRC channel. Check out the #SiriProxy channel on irc.freenode.net.
14+
1015
Demo Videos
1116
-----------
1217

@@ -17,6 +22,8 @@ See it running with the ELIZA plugin here: [http://www.youtube.com/watch?v=uTiLv
1722
Other Plugins
1823
-------------
1924

25+
While we encourage people to create SiriProxy plguins, please note that the project is still in very early stages and the **plugin API is still in flux** and may undergo radical changes.
26+
2027
**Sam Lu's Hockey Scores plugin**
2128
Source: [https://github.com/senmu/SiriProxy/tree/hockeyscores](https://github.com/senmu/SiriProxy/tree/hockeyscores)
2229
Video: [http://vimeo.com/32431965](http://vimeo.com/32431965)
@@ -45,7 +52,7 @@ Currently, setup requires a pretty solid knowledge of certificates and openssl (
4552
)
4653
4. Install the requisite Ruby gems:
4754
* httparty
48-
* open-uri
55+
* open-uri (you may not need this on newer versions of Ruby)
4956
* json
5057
* CFPropertyList
5158
* uuidtools

interpretSiri.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env ruby
2-
31
######
42
# The idea behind this class is that you can call the different
53
# methods to get different interpretations of a Siri object.

plugins/thermostat/siriThermostat.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env ruby
21
require 'tweakSiri'
32
require 'siriObjectGenerator'
43
require 'json'

plugins/twitter/siriTweet.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
require 'rubygems'
2-
require 'tweaksiri'
3-
require 'siriobjectgenerator'
2+
require 'tweakSiri'
3+
require 'siriObjectGenerator'
44
require 'twitter'
55

66
#######

siriObjectGenerator.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env ruby
21
require 'rubygems'
32
require 'uuidtools'
43

siriProxy.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
#!/usr/bin/env ruby
21
require 'rubygems'
32
require 'eventmachine'
43
require 'zlib'
5-
require 'cfpropertylist'
4+
require 'CFPropertyList'
65
require 'pp'
76
require 'tweakSiri'
87
require 'interpretSiri'

start.rb

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
#!/usr/bin/env ruby
2+
$LOAD_PATH << File.dirname(__FILE__)
23
$KCODE='u' #setting KCODE to unicode for Ruby 1.8
34

4-
require 'plugins/thermostat/siriThermostat'
55
require 'plugins/testproxy/testproxy'
6-
require 'plugins/eliza/eliza'
7-
require 'plugins/twitter/siriTweet'
6+
# require 'plugins/thermostat/siriThermostat'
7+
# require 'plugins/eliza/eliza'
8+
# require 'plugins/twitter/siriTweet'
89
require 'plugins/plex/siriPlex'
9-
require './tweakSiri'
10-
require './siriProxy'
10+
require 'tweakSiri'
11+
require 'siriProxy'
1112

1213
#Also try Eliza -- though it should really not be run "before" anything else.
1314
#Also try Twitter -- must first configure keys in siriTweet.rb

0 commit comments

Comments
 (0)