Skip to content

Wrapper for text-to-speech services on cloud platforms.

Notifications You must be signed in to change notification settings

cyn1x/speech-synthesis-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Speech Synthesis Wrapper

Speech Synthesis Wrapper processes text-to-speech requests by providing a preview of the generated audio and allowing the user to download the corresponding audio file.

Check out the video demonstration on YouTube to see it in action.

Requirements

An API key for the Google Cloud Text-to-Speech API is required to use this application. The API key should be stored in the GOOGLE_APPLICATION_CREDENTIALS environment variable.

Visual Studio Code Live Server extension is recommended for development, or any other web server of your choice.

Installation

Clone the repository and install the dependencies for the client.

git clone https://github.com/cyn1x/speech-synthesis-wrapper
cd speech-synthesis-wrapper
cd client && npm install

Usage

Start the server and client.

cd server
export GOOGLE_APPLICATION_CREDENTIALS=/path/to/credentials.json
set GOOS = "linux"
go run ./cmd/srv/ .

Client

cd client
npx tsc --project tsconfig.json # Compile TypeScript to JavaScript
# Start a web server of your choice

Use npx tsc --watch for automatic compilation in development mode instead of using the once-off compile above.

API Support

About

Wrapper for text-to-speech services on cloud platforms.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published