8000 GitHub - wheresalice/localtts: A dockerised self-hosted local application to provide TTS functionality
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

wheresalice/localtts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Local TTS

A dockerised self-hosted local application to provide TTS functionality

screenshot

Usage

docker compose up -d
open http://localhost:8000

Configuration

The main thing you might want to change is the voice. This is specified by setting the MODEL_DOWNLOAD_LINK in docker-compose.yml and requires a direct link to a .onnx file.

Get more voices from https://brycebeattie.com/files/tts/

Known issues

The voice gets downloaded every time you start the piper container, and this can take a while because voices are large. This is tracked upstream. If the application doesn't immediately work then wait a bit longer for the download to complete, this will be logged by the piper container.

Uses

  • piper for the text to speech
  • piper-http to provide an API for piper
  • caddy to serve the frontend
  • docker to run all of this locally

Why

Because using a cloud API for text to speech allows them to break your voice

Because everything else using Piper is designed to be integrated into other applications rather than run as a standalone application

About

A dockerised self-hosted local application to provide TTS functionality

Resources

License

Stars

Watchers

Forks

0