Skip to content

🐦 A tweetbot to compare responses from Siri, Alexa, and Google Assistant. Built at MinneHack 2018 in Minneapolis, MN.

Notifications You must be signed in to change notification settings

helluva/Twitter-Assistants

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitter Assistants

Twitter Assistants is a twitter bot that lets you ask questions to Siri, Alexa, and Google Assistant at the same time. You could tweet a question to @Assistants_MH, your question is sent to each of the assistants, and then they send back a reply to your tweet.

Watch a video demo

We have a Python twitter bot running that periodically checks Twitter to see if there are any new tweets to the Assistants account. If it finds a new tweet, it gets passed to a Node.js server that coordinates the three voice assistants. When the server receives a new tweet, it forwards the question to three Mac servers that interface with an assistant simultaneously. Each Mac spawns an instance of their voice assistant and speaks the question using Text to Speech (specifically, the macOS say command piped through a digital audio input). Siri is spawned by launching the built-in macOS Siri.app, Alexa is spawned using a sample app from the Alexa Voice Assistant (AVS) device SDK, and Google Assistant is spawned using a sample app from the Google Assistant SDK.

After the question is spoken to the assistant and they start speaking an answer, their response is recorded to a file on disk. Once they finish speaking, the recording is uploaded to IBM Watson's Speech to Text API. The final text answer from Watson is then sent back to the Node.js server, which in turn uses the Twitter bot to post the answer a reply to the original tweet.

[cross-post from blog.calstephens.tech]

About

🐦 A tweetbot to compare responses from Siri, Alexa, and Google Assistant. Built at MinneHack 2018 in Minneapolis, MN.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •