#clipboard #tts #tui #text-to-speech #narrator

bin+lib tts-tui

Clipboard Narrator in the terminal

7 releases

0.1.4 Jun 29, 2023
0.1.3 Jun 25, 2023
0.1.1 May 20, 2023
0.0.1 Apr 6, 2023

#664 in Audio

Download history 24/week @ 2024-04-02 54/week @ 2024-04-16

66 downloads per month

GPL-3.0-or-later

28KB
422 lines

TTS TUI

This is the terminal UI version of Clipboard Narrator but uses newer WinRT API to allow using any voice on windows.

Comparison to Microsoft Edge TTS

Edge TTS TTS-TUI
requires using MS Edge works anywhere you can copy
uses cloud voices uses system voices
delay each time you start a voice little to no delay

Windows built-in narrator has a different use case but does use the system voices.

PDF readers don't allow copying newlines between paragraphs so they can't be split directly, convert it to a txt file with the original layout first.

How to get

Install Build Binaries
cargo install tts-tui cargo r --release Github releases

The binary is called tts for brevity

Windows

Add voice packs or change the default voice in your system settings, your terminal title will show the active voice.

Linux

The following deps are required:

On Debian you have to change the default feature based on speech-dispatcher -v:

  • --no-default-features --features 10
  • --no-default-features --features 9

Dependencies

~5–41MB
~611K SLoC