Skip to content

mattsahn/alexa-angry-puppy

Repository files navigation

AngryPuppy Alexa Skill

AngryPuppy

Published Alexa skill here: https://www.amazon.com/dp/B079WMKZCY/

Environment setup

source .venv/bin/activate

Use ngrok for development to get https endpoint to pass to Alexa to connect to localhost

./ngrok http 5000

run app

python app.python

wget mp3 files

wget https://s3.amazonaws.com/angry-pup/cry3.mp3

encode into ALexa mp3 format and double volume

ffmpeg-3.4.2-32bit-static/ffmpeg -y -i bark_twice2.mp3 -ar 16000 -ab 48k -codec:a libmp3lame -ac 1 -filter:a "volume=2" files/bark_twice2_16000.mp3

copy files to S3 bucket after processing

aws s3 cp files s3://angry-pup --recursive

Zappa command to deploy

zappa prod update

lambda URL - created by zappa

https://uqk9dp54p4.execute-api.us-east-1.amazonaws.com/prod

generate requirements.txt

pipreqs ~/workspace/ --ignore .venv --force

About

Python Code for Angry Puppy Alexa Skill

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages