WAVERLY is a web application, that uses text-to-speech technology, provided by Amazon Polly, to allow users to save textual articles and to convert them into audio snippets (similar to a short podcast episode), which sound human-like.
WAVERLY supports only English articles.
Go to https://waverly1.herokuapp.com/ and see how it works.
WAVERLY works beautifully as a standalone web application. Just go the WAVERLY URL on your mobile device, go to your account page, and save the URL to your home screen.
This was tested only on iPhone's Safari.
⚠️ Because of an iOS's limited support for HTML5, when triggering WAVERLY from the home screen, playing an audio file won't work while the app is in the background won't work. For this reason, the recommendation to the user to save the app to the home screen has been commented in the JS code.
💡 WAVERLY was built on AWS's S3 and Polly. Before starting the > deployment process, please make sure you have the following details for your AWS account:
- AWS Access Key
- AWS Secret Access Key
- S3 bucket for storing article image files
- S3 bucket for storing audio files
Follow these steps:
-
Clone WAVERLY's repository
-
Create heroku app
$ heroku create <APP_NAME>
- Install CloudAMQP on Heroku to serve as a queue DB for worker jobs
$ heroku addons:add cloudamqp
- Add worker to Heroku
$ heroku ps:scale worker=1
- Set Django's secret key as environment variable on Heroku's virtual environment
$ heroku config:set SECRET_KEY=<DJANGO_SECRET_KEY>
- Set AWS's access keys as environment variable on Heroku's virtual environment
$ heroku config:set AWS_ACCESS_KEY_ID=<AWS_ACCESS_KEY_ID>
$ heroku config:set AWS_SECRET_ACCESS_KEY=<AWS_SECRET_ACCESS_KEY>
- Set S3's access keys as environment variable on Heroku's virtual environment
$ heroku config:set BUCKET_IMAGES=<S3_IMAGE_FILES_BUCKET>
$ heroku config:set BUCKET_AUDIO=<S3_AUDIO_FILES_BUCKET>
- Upload repository to Heroku
$ git push heroku master
- Run Django migrations on Heroku
$ heroku run python3 manage.py migrate
Built by Dror Ayalon, Summer 2017.
Help and support by the World Wide Web.
Graphical resource 🖼 for the WAVERLY logo by mikicon from the noun project.