Skip to content

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.

License

Notifications You must be signed in to change notification settings

kingsofcoms/waverly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project WAVERLY

project WAVERLY

Overview

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.

WAVERLY app ios

WAVERLY is live 🙌

Go to https://waverly1.herokuapp.com/ and see how it works.

Standalone Web Application

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.

Deploy WAVERLY to Heroku

💡 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:

  1. AWS Access Key
  2. AWS Secret Access Key
  3. S3 bucket for storing article image files
  4. S3 bucket for storing audio files

Follow these steps:

  1. Clone WAVERLY's repository

  2. Create heroku app

$ heroku create <APP_NAME>
  1. Install CloudAMQP on Heroku to serve as a queue DB for worker jobs
$ heroku addons:add cloudamqp
  1. Add worker to Heroku
$ heroku ps:scale worker=1
  1. Set Django's secret key as environment variable on Heroku's virtual environment
$ heroku config:set SECRET_KEY=<DJANGO_SECRET_KEY>
  1. 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>
  1. 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>
  1. Upload repository to Heroku
$ git push heroku master
  1. Run Django migrations on Heroku
$ heroku run python3 manage.py migrate

Attributions

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.

About

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published