readthis is a command-line text-to-speech tool powered by Kokoro-82M. Feed it plain text, a URL, piped input, or your clipboard, it extracts the content and reads it aloud. Audio generation and playback run on separate threads, so speech starts almost immediately rather than waiting for the full text to be synthesised.
To install readthis,
uv tool install --python 3.12 git+https://github.com/realpacific/readthis
Usage Instructions
The readthis supports multiple input methods:
Read plain text by providing it directly as an argument:
readthis "Hello, this is a test"Read from a URL by passing a webpage link to automatically extract and read the content:
readthis https://example.com/articleRead piped or multiline input:
echo "First line.\nSecond line." | readthis
cat article.txt | readthisIf no argument is provided, the tool reads text directly from your clipboard:
readthis