A simple, lightweight Text-to-Speech (TTS) tool for Windows using SAPI.
Project description
🤖 RoboSpeaker
A lightweight, zero-configuration Text-to-Speech (TTS) utility tailored for Windows. RoboSpeaker leverages the native Windows SAPI (Speech API) to provide a seamless vocal interface for your Python scripts or manual text input.
✨ Features
- Instant Vocalization: Real-time conversion of text into speech.
- Minimalist Interface: Simple command-line loop for recurring inputs.
- Native Windows Integration: Uses Microsoft's Speech API for reliable performance without heavy external libraries.
- Escape Commands: Easy
/exitcommand to terminate the session instantly.
🛠️ Requirements
- OS: Windows (Required for
SAPI.SpVoice). - Python: 3.11 or higher.
- Dependencies:
pywin32(forwin32com.client),rich(for terminal styling).
🚀 Getting Started
1. Installation
Choose your preferred package manager to install RoboSpeaker:
Using pip
pip install robospeaker-win
Using pipx (Recommended for CLI tools)
pipx install robospeaker-win
Using uv (Fastest)
uv tool install robospeaker-win
2. Usage
If installed via pipx or uv tool, you can run it from anywhere:
robospeaker
Or run the script directly if you cloned the repo:
python main.py
Once started, simply type the text you wish to hear. Type /exit to stop the 🤖.
📝 Usage Example
Welcome to the RoboSpeaker! 🤖
What do u want me to speak(/exit to exit): Hello World!
[RoboSpeaker speaks: "Hello World!"]
⚖️ License
This project is open-source. Feel free to use and modify it for your own vocal automation needs.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file robospeaker_win-0.1.6.tar.gz.
File metadata
- Download URL: robospeaker_win-0.1.6.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bcb7c21d9ea0f86e7597cd094adda7800b9a319cc5f2e2461a9640a269c9b7e4
|
|
| MD5 |
0ff20941e41bd2380777b51c26031290
|
|
| BLAKE2b-256 |
6270e4087c51349031e48d4a20cb38f0893135ad92765649b8961b56587cc2c2
|
File details
Details for the file robospeaker_win-0.1.6-py3-none-any.whl.
File metadata
- Download URL: robospeaker_win-0.1.6-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
523454cb0c88b7835b0bc963c7e1e9c0bae054660f52af5a841fc0ebba424040
|
|
| MD5 |
0d5ca2fcdb14414304252dad63ab6e2a
|
|
| BLAKE2b-256 |
48a58bf896aeb3d7446cff52b6575f1da5773abb06f4b78b71ed814a3c215d5c
|