Giter Club home page Giter Club logo

text-to-speech-converter's Introduction

text-to-speech-converter

Summary

This is an application that takes in text and outputs an audio file of that text. Written with US-English in mind, so it might not convert as expected for other languages.

Deployed version here. Feel free to add your own things to convert to audio, download files, and delete files.

Technologies Used

Architecture Diagram

text-to-speech-architecture

Directions To Run

  1. Clone this repo (note: this script is designed to work with public Github repos, it might possibly also work with public Bitbucket and public Gitlab repos, but it hasn't been tested)
  2. Deploy the stack via the AWS SAM CLI. Getting started directions here. TL;DR run sam build and sam deploy --guided.
  3. Navigate to the url for your frontend. Should be something like: http://{your stack name}-frontend.s3-website-{your region}.amazonaws.com/

Backend API Endpoints

GET /voices

Populates the voices dropdown list

GET /file

Gets all files and fills the table with existing text to speech conversations

DELETE /file/{id}

Deletes a file

POST /file

Creates a new text to speech conversion

Running the Frontend Locally against a Deployed Backend

  1. Deploy the app
  2. cd src/frontend && npm install
  3. create a new file under src/frontend/src and name it config.js. Find you api URL...should look something like https://6wpbpyxfgf.execute-api.us-east-1.amazonaws.com. Add the following to the file
export default {
  backendAPI: '[ your backend api url here ]'
};
  1. npm start

Known Limitations For Larger Requests

  • Lambda has limits for the /tmp directory storage. It's possible to mount EFS to Lambda, but that seems a bit over complicated and more $$$ than I'd like to spend a pet project.
  • Pagination is not in place for ListFiles, but you probably don't want to scan a very very large dynamoDB table and return all the results anyway bc it can get very $$$.

Outstanding TODO Items / Open Bugs

See open issues

Logging Issues

If you find a bug or have a question, feel free to open a new issue and our maintainers will reply as soon as they possibly can. Please describe the issue including steps to reproduce if there are any.

Pull Request Process

  1. Fork the respository
  2. Make any changes you'd like
  3. Open a new PR against master with a description of the proposed changes as well as any other information you find relevant.
  4. If your PR fixes an open issue be sure to write fixes #[ issue number here ]

Finding Help

Please send a direct message to @deeheber on Twitter if any of your questions have not been addressed by the documentation in this repository.

text-to-speech-converter's People

Contributors

deeheber avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.