Software apps and online services
The Quran is the Holy book of Muslims. Alexa Quran Translator is a skill to listen and understand the English translation of the Holy Quran. By the skill you can listen any surah (chapter) or ayah of the Quran using any Alexa enabled device. I used http://api.alquran.cloud cloud API for getting the English translation of the Quran by HTTP get request. You can access any ayah or surah by you voice. For example if you want to listen the meaning of 114th surah of the Quran just say "Alexa, ask Quran translator surah 114," Alexa will play English translation of the whole surah for you. You can also access only one ayah by saying ayah number like "Alexa, ask Quran translator ayah 50."
The Skill is live at Amazon UK Store. Link: https://www.amazon.co.uk/dp/B073D99D98/ref=lp_10387781031_1_1?s=digital-skills&ie=UTF8&qid=1498735236&sr=1-1
The following figure illustrates how the Quran Translator works:
When user run the Quran translator skill, Alexa voice service triggers Lambda function. Lambda function then sends an HTTP GET request to the HTTP Cloud server of the Translated Quran and server provides the information to the Lambda function according to the request. Again, Lambda function transfers the information to Alexa voice service.
- Creating custom Alexa Skill (intent.json and sample Utterances are provided in code section).
- Creating a Lambda function (index.js is attached in code section)
- Testing the Skill
- Publishing the Skill
If you never create an Alexa skill before, my project Voice Controlled Home Automation may help you. You may also take a look to Prepare an Alexa Skill and How to Publish an Alexa Skill: from beginning to end.
The following VUI diagram describes interaction with Alexa.