plamoni / SiriProxy

A (tampering) proxy server for Apple's Siri
GNU General Public License v3.0
2.12k stars 346 forks source link

SiriProxyGUI/Auto Install #428

Closed laxman01 closed 11 years ago

laxman01 commented 11 years ago

SiriProxyAutoInstall http://199.91.152.154/odaf5382g8kg/io2fj05f25pcpd2/SiriProxy+Auto+Install.zip Automates the whole setup of siriproxy, all you have to do is download this app and run all the buttons in order and download macports and install ca.pem on your device Screen Shot 2013-02-03 at 7 06 07 PM

SiriProxyGUI-http://205.196.123.24/kcvhvbq28ryg/4x79lez1gzrynp6/SiriProxyGUI.zip Tutorial-http://siriproxygui.blogspot.co.uk Update: Updates the server Start: Starts SiriProxy Restart: Restarts and bundles the server Stop: Stops the Server Config: Replaces the config file in .siriproxy directory Screen Shot 2013-01-31 at 3 47 29 PM

Xaywar commented 11 years ago

Thank you for this great app, I was having trouble installing SiriProxy but this worked perfectly.

laxman01 commented 11 years ago

Thanks for the feedback

laxman01 commented 11 years ago

Try this thank run the ruby installation again [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"

sturma commented 11 years ago

It didn't work, but thanks. I moved this issue from here to #436; i think it's independent of the automated GUI installation.

Edit: it's now solved. Removed Xcode and installed mac ports

laxman01 commented 11 years ago

I would Appreciate anyone trying out these add ons

Deanmv commented 11 years ago

Currently working on an installer one (running off one button and with a password pop up so not editing an xcode project) that I should have up in a couple of days. I planned to do this anyway as it's part of my uni project but the GUI to control it is very nice.

laxman01 commented 11 years ago

That would be very cool and that's a good idea to do a password popup, And did you try out the GUI to control it

Deanmv commented 11 years ago

Looked at it but not actually used it. Not sure why you do a killall ruby in there as that isn't needed I wouldn't have thought.

Also it's a lot easier to do:

tell application "Terminal"

do script "do something here" in window 0
do script "do something else here" in window 0
do script "something more" in window 0

end tell

As then you don't have to keep fake keypressing the return key to type in the command. Also then if the user brings another screen to the front by clicking off terminal that won't make a difference.

plamoni commented 11 years ago

Fancy. Going to close because it's not an issue, but this seems pretty handy. Thanks!

laxman01 commented 11 years ago

That is initially what I tried but I ran into problems with that using tell application "Terminal" method and the reason I have it kill all ruby is invade the user has another instance of it running, admittley it probably isn't necessary but it doesn't hurt it either, it's just to be safe

Paulyboy69 commented 11 years ago

Hello, I currently have a jailbroken iPhone 4S running 6.1 and have one of those Nest Thermostats on the way and would like to use the plug-in that allows you to control this thermostat with your voice via Siri. I found plenty of tutorials on how to set up a Siri proxy server on your Mac but they are rather complicated. Am I to understand this little app you've created basically automates just about the entire process? If so that's awesome and thanks so much!

I'm severely disabled so being able to control my thermostat by voice would be huge for me. I was willing to get my hands dirty and do what I needed to to get things working but this would make things quite a bit easier if it does what I think it does. Thanks again.

Update: I also meant to ask whether I would still need to install Xcode or not? Xcode caused a lot of problems with my system a while back so I am hesitant about installing it again but if that's what it takes I will.

laxman01 commented 11 years ago

yes, this application should automate the whole process but still does require some setup(but very little) i would be able to help you through the entire process if you would like

laxman01 commented 11 years ago

xcode is only not needed for the installation and currently is needed for the GUI but soon xcode will not be needed for either option.

Paulyboy69 commented 11 years ago

I would like that very much thank you! I suppose I should probably wait until I have the nest thermostat up and running? So you're saying I do need Xcode installed? Much appreciated. :-)

laxman01 commented 11 years ago

Sorry for being unclear, for just installing siriproxy you do not need Xcode. and it might be a good idea to have siriproxy up and running so all you have to is just configure the thromostat to the plugin once you get it

Paulyboy69 commented 11 years ago

No problem. Okay I downloaded the installer then. I guess I don't need the GUI yet?

laxman01 commented 11 years ago

yes you dont need it yet... what version of OS X are you running. example: mountain lion

Paulyboy69 commented 11 years ago

ML 10.8.2

laxman01 commented 11 years ago

download and install this. it will alow you to install DNSMASQ https://distfiles.macports.org/MacPorts/MacPorts-2.1.3-10.8-MountainLion.pkg

laxman01 commented 11 years ago

tell me when you have that installed

Paulyboy69 commented 11 years ago

I had already downloaded it earlier. Its installed now though.

laxman01 commented 11 years ago

alright so now open up terminal then open up SirProxy Auto Install and click "Install RVM" then tell me the reponse you get from that

Paulyboy69 commented 11 years ago

bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer) [Pauls-iMac:~] paulnatsch% bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer) Missing name for redirect. [Pauls-iMac:~] paulnatsch%

laxman01 commented 11 years ago

run this

bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)

Paulyboy69 commented 11 years ago

Last login: Mon Feb 18 17:26:53 on ttys011 [Pauls-iMac:~] paulnatsch% bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer) Missing name for redirect. [Pauls-iMac:~] paulnatsch%

laxman01 commented 11 years ago

hmmm i dont know why its not accpeting that command.. one sec

Paulyboy69 commented 11 years ago

I just copied and pasted that line into terminal. I could do it again if needed?

laxman01 commented 11 years ago

try this

\curl -L https://get.rvm.io | bash

Paulyboy69 commented 11 years ago

woops sorry about that. Maybe you didn't need to see all that but it looks like it worked...

laxman01 commented 11 years ago

ok there we go now we have it installed now click on "Install Ruby" this will probably take 5 minutes to run all the way through. so just respond once it starts installing

laxman01 commented 11 years ago

tell me if it has any problems installing

Paulyboy69 commented 11 years ago

rvm inst[Pauls-iMac:~] paulnatsch% rvm install 1.9.3 rvm: Command not found. [Pauls-iMac:~] paulnatsch% rvm use 1.9.3 --default rvm: Command not found.

Paulyboy69 commented 11 years ago

that's after I click "Install Ruby"

laxman01 commented 11 years ago

oops run this then try it again

[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"

Paulyboy69 commented 11 years ago

same result it seems

rvm install 1.[Pauls-iMac:~] paulnatsch% rvm install 1.9.3 rvm: Command not found. [Pauls-iMac:~] paulnatsch% rvm use 1.9.3 --default rvm: Command not found.

laxman01 commented 11 years ago

okay are those commands running in the same terminal ?

Paulyboy69 commented 11 years ago

if you mean the same terminal window where the "Install RVM" worked no.

Paulyboy69 commented 11 years ago

I could try again using that same window

laxman01 commented 11 years ago

ok thats my fault for making the program work like that.im sorry... yeah if you could do that it should work... this program is more for installing Siriproxy and not its prerequisites

laxman01 commented 11 years ago

im updating the program as we speak

Paulyboy69 commented 11 years ago

Pauls-iMac:~] paulnatsch% [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" [[: Command not found. [Pauls-iMac:~] paulnatsch%

Paulyboy69 commented 11 years ago

that's from the same window

Paulyboy69 commented 11 years ago

I don't know if this matters but clicking "Install Ruby" opens a new terminal window

laxman01 commented 11 years ago

one sec let me update the program im sorry

Paulyboy69 commented 11 years ago

no worries :-)

laxman01 commented 11 years ago
  1. \curl -L https://get.rvm.io | bash
  2. [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"
  3. Download: http://205.196.123.200/2c5u013vb5tg/cgelw2so3tkp610/SiriProxy+Auto+Install.zip
  4. Click Install Ruby on the new program you just downloaded
laxman01 commented 11 years ago

tell me if you have any problems

Paulyboy69 commented 11 years ago

ok will do

laxman01 commented 11 years ago

or let me know if ruby starts installing

Paulyboy69 commented 11 years ago

got stopped at #2 again but then clicked "Install Runy" anyways

[Pauls-iMac:~] paulnatsch% [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" [[: Command not found. [Pauls-iMac:~] paulnatsch% [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" [[: Command not found. [Pauls-iMac:~] paulnatsch% rvm install 1.9.3 rvm: Command not found. [Pauls-iMac:~] paulnatsch% rvm use 1.9.3 --default rvm: Command not found.