Skip to content

EdlanioJ/tts-go

Repository files navigation

Text To Speech with GRPC Server

A GO application to convert written text into spoken voice and download it in mp3 file. This project is made with Google speech synthesizes.

Getting Started

Require Docker to run. Run the development server:

# create .env file with .env.example data

# start docker container 

docker-compose up --build
docker exec -it tts bash  

# build client and server for linux

make build.server
make build.client

# run test

make test

Start on Linux:

# start server

./tts-server

# Get audio

./say -text="Hello, World!" -lang="en"

# Get audio from file

./say -file="test.txt" lang="en"

# Set output

./say -text="Hello, World!" -lang="en" -out="output.mp3"

# Get Help

./say -help 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published