A service that turns pdfs and text files into audio books.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
static
templates
.cfignore
.gitattributes
.gitignore
CONTRIBUTING.md
Example.pdf
LICENSE
Makefile
Procfile
README.md
example_secrets.py
manifest.yml
requirements.txt
server.py

README.md

Read Between the Lines

This is an app that allows you to upload text documents and convert them into AudioBooks. It uses Machine learning to create emphasis in the correct places so it feel like the book is actually being read to you.

You're also given the option to donate using stripe!

It's built using Python Flask, IBM Watson, PDFJS, and the Stripe api to process payments for the books.

Deploy to Bluemix

Running locally

The application uses Python and pip so you will have to download and install them as part of the steps below. This app also uses the IBM Bluemix text to speech service from IBM Watson. You'll need credentials to run it locally.

This App is currently in production using Stripe and IBM Watson

- [Sign up](http://stripe.com) or log into your [dashboard](https://manage.stripe.com) - Click on your profile and click on Account Settings - Then click on [API Keys](https://manage.stripe.com/account/apikeys) - Copy the **Secret Key**. and add this into `secrets.py`


  1. Copy the credentials from your text-to-speech-service service in Bluemix to server.py, you can see the credentials using:
$ cf env <application-name>
Example output:
System-Provided:
{
  "VCAP_SERVICES": {
    "text_to_speech": [{
        "credentials": {
          "url": "<url>",
          "password": "<password>",
          "username": "<username>"
        },
      "label": "text_to_speech",
      "name": "text-to-speech-service",
      "plan": "text_to_speech_free_plan"
   }]
  }
}
You need to copy `username`, `password` and `url`.
  1. Install Python 2.7.9 or later
  2. Go to the project folder in a terminal and run: pip install -r requirements.txt
  3. Start the application python server.py
  4. Go to http://localhost:3000

Contributing

See CONTRIBUTING.md

Resources

License

This sample code is licensed under Apache 3.0. Full license text is available in LICENSE.