Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lesleyrs/tts-tui
Clipboard Narrator in the terminal
https://github.com/lesleyrs/tts-tui
Last synced: about 1 month ago
JSON representation
Clipboard Narrator in the terminal
- Host: GitHub
- URL: https://github.com/lesleyrs/tts-tui
- Owner: lesleyrs
- License: gpl-3.0
- Created: 2023-04-06T23:23:35.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-26T14:12:42.000Z (11 months ago)
- Last Synced: 2024-04-28T10:21:01.603Z (8 months ago)
- Language: Rust
- Homepage: https://crates.io/crates/tts-tui
- Size: 53.7 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ratatui - tts-tui - Text to speech app that reads from clipboard. (💻 Apps / 🚀 Productivity and Utilities)
README
# TTS TUI
This is the terminal UI version of [Clipboard Narrator](https://github.com/lesleyrs/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 delayWindows 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](https://github.com/lesleyrs/tts-tui/releases/latest)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:
- sudo apt install llvm-dev libclang-dev clang
- https://rust-lang.github.io/rust-bindgen/requirements.html#debian-based-linuxes
- sudo apt install speech-dispatcher
- sudo apt install libspeechd-devOn Debian you have to change the default feature based on `speech-dispatcher -v`:
- --no-default-features --features 10
- --no-default-features --features 9