SiriMingle - Siri assistance for Mingle

Sudhindra Rao Sudhindra Rao Follow Oct 14, 2012 · 2 mins read
SiriMingle - Siri assistance for Mingle
Share this

Mingle with Siri on iPhone

Announcing SiriMingle

A tool to interact with Mingle using SiriProxy. Bringing the power of Siri voice control to modify cards, get status and ask questions about the project

It can be downloaded from sirimingle and used with SiriProxy.

SiriProxy is a proxy written in ruby 1.9 to allow people to use the power of Siri to perform useful tasks. Setting up SiriProxy was not trivial before. Over time and on 12.04 it can be more easily done.

Here is how:

  • Install Ubuntu 12.04 on your virtualbox(virtual box link), or natively on your desktop/macpro.(For dualbooting on macpro follow the instructions : ) On virtualbox the following setting needs to be configured to ensure that the VM running Ubuntu gets a native IP address on the host network.

  • Install git, ruby et al.. (Assuming that you already know this)

  • Download the install_deps.sh script to get you started. It is recommended that you download the whole project. Run the script. This script should install all dependencies required for dnsmasq. dnsmasq is a tool that allows you to perform dns masquerading on any network. After running this script you should have the following : dnsmasq, rvm and ruby 1.9.3 installed.

Guide: Setup Working SiriProxy is a great guide to setting SiriProxy correctly. You can choose to ignore setting up the Three Little Pigs server. Follow the instructions closely to setup Ubuntu 12.04 with dnsmasq and Siriproxy.

If everything has gone well so far you should see

1
"Starting server on port 443"

This verifies that the dnsmasq is setup correctly and that Siriproxy can be run on your machine.

Now generate a certificate

1
siriproxy gencerts # generates certificates in .siriproxy folder

Email this certificate and install it on your phone by opening the email and opening the attachment.

Once the cert is installed change the dns settings for the network and add the IP address of your Ubuntu machine before the other DNS server entry.

Now your phone is ready to talk to your Siriproxy server.

Restart your SiriProxy server by

1
rvmsudo siriproxy server

Invoke Siri on your phone: You should see the interaction logs in your terminal indicating that infact Siri is connecting to your SiriProxy via your dnsmasq.

Once you have SiriProxy setup change the ~/.siriproxy/config.yml to add your mingle hostname and credentials. This will allow SiriProxy to interact with the Mingle API.

Restart SiriProxy by doing the following:

1
2
3
4
5
rake install

siriproxy bundle #this should install the dependencies including the siriproxy-sirimingle plugin.

rvmsudo siriproxy server

Once the server is started you should be able to talk to SiriMingle.

Let the Siri be with you.

Sudhindra Rao
Written by Sudhindra Rao Follow
Hi, I am Sudhindra, I like to talk about technology and help people build software at a sustainable pace. If you like what you read here follow me on twitter.