Convert any text to an audiobook and listen to it from your browser, using Azure Cognitive services.
Upload any text file and Pipster takes care of the rest. You'll get a link to listen to the audiobook after it's been processed. Since this link is in MP3 format, you can even use it to stream to your own application, like an iOS app.
If you're developing on Windows, it's highly recommended to use the Docker image, since the paths and dependencies used are in Unix format.
- An Azure Cognitize Services (Speech Services) instance. You can get one here
- Copy
config-example.jsontoconfig.jsonand fill in your own values:subscription-key: Also known as "KEY 1" from your Cognitive Services resource's Keys pageresource-region: The region where your Cognitive Services Text to Speech instance lives, i.e. westus2
docker build -t pipster .
docker run -p 5000:5000 pipster
- Upload a file to
localhost:5000/convert - After waiting a moment, open your browswer to
localhost:5000/listen/your-book-name, where "your-book-name" is the name of your file without the extension
These use the command line to open a browser to the right place, but you could really just navigate there yourself. These will work once you've completed the prerequisites.
Windows:
docker build -t pipster .
docker run -p 5000:5000 pipster
curl -F "file=@%cd%\test.txt" localhost:5000/convert
explorer http://localhost:5000/listen/testOSX:
docker build -t pipster .
docker run -p 5000:5000 pipster &
curl -F "file=@$(pwd)/test.txt" localhost:5000/convert
open http://localhost:5000/listen/test