A Python tool for converting articles to speech using text-to-speech technology. This tool helps users transform written content into audio format for better accessibility and convenience.
- Convert articles from various sources (text files, URLs, etc.) to speech
- Support for multiple TTS engines
- Customizable voice options and speech parameters
- Easy-to-use command line interface
- Save output as MP3, WAV, or other audio formats
Requires Python 3.13 or higher.
# Clone the repository
git clone https://github.com/yourusername/article-tts.git
cd article-tts
# Create a virtual environment (optional but recommended)
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txtpython article_tts.py --input article.txt --output speech.mp3python article_tts.py --input https://example.com/article --output speech.mp3 --voice female --rate 175 --format mp3- Python 3.13+
- [Required dependencies will be listed in requirements.txt]
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- List any libraries, APIs, or other resources that were used or inspired this project
- Credit any contributors or sources of inspiration