Skip to main content

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 /exit command to terminate the session instantly.

🆕 What's New (v0.1.7)

  • Terminal Styling: Integrated the rich library for a much cleaner and colored terminal experience.
  • Improved Input: Styled input prompts with color-coded instructions.
  • Bug Fixes: Resolved issues with library imports and missing package declarations.
  • Refined Exit: Added graceful handling for Ctrl+C (KeyboardInterrupt) and the /exit command.

🛠️ Requirements

  • OS: Windows (Required for SAPI.SpVoice).
  • Python: 3.11 or higher.
  • Dependencies: pywin32 (for win32com.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

robospeaker_win-0.1.7.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

robospeaker_win-0.1.7-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file robospeaker_win-0.1.7.tar.gz.

File metadata

  • Download URL: robospeaker_win-0.1.7.tar.gz
  • Upload date:
  • Size: 2.9 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

Hashes for robospeaker_win-0.1.7.tar.gz
Algorithm Hash digest
SHA256 a7ec105de2d9d1c9d506331c96700a96f4c9f12ad56f5b40733b5aafe3c42c58
MD5 c18d678e2d96f124491ae56b167c6ea7
BLAKE2b-256 dfc37d41ced7db5a1932c3fedc5867e3abd615f017cf2cfe64f6630ecb2a57c0

See more details on using hashes here.

File details

Details for the file robospeaker_win-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: robospeaker_win-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 3.2 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

Hashes for robospeaker_win-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 de70926f4a45a944cc940672d27bf48f7ba7f227ec7428a883277ebfbe4f1bb7
MD5 34e49c3a52b99f02f3dbcdf4769e9076
BLAKE2b-256 b493ae40a3cdec7b7ff16b3980350cd98f0d7f54a54c252fdfe59a3e37425358

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page