A simple desktop application that converts PDF documents to audiobooks using Text-to-Speech technology.
- User-friendly GUI interface
- Good-quality text-to-speech conversion
- Clone the repository:
git clone https://github.com/MudiLoodi/Audiofy
cd Audiofy- If on Windows:
- Double-click run_audiofy.bat
- Wait for initial setup to complete
- Use the application
- Create a virtual environment (recommended):
python -m venv venv
# For Windows
venv\Scripts\activate
# For Unix/MacOS
source venv/bin/activate- Install required packages:
pip install -r requirements.txt- Run the application:
python main.py- Using the application:
- Click "Select PDF File" to choose your PDF document
- Enter a name for your output audio file
- Click "Convert to Audiobook" to start the conversion
- Wait for the process to complete
- Find your audio file in the same directory as the PDF
Audiofy/
├── config/
│ └── settings.py # Application configuration
├── gui/
│ └── app.py # GUI implementation
├── utils/
│ └── converter.py # PDF to Audio conversion logic
├── main.py # Application entry point
├── requirements.txt # Project dependencies
└── README.md # This file
- Python 3.8 or higher
- Dependencies listed in requirements.txt
- Uses
customtkinterfor modern GUI elements TTS(Text-to-Speech) for audio conversionpypdffor PDF text extraction- Default TTS model: "tts_models/en/jenny/jenny"
Special thanks to coqui-ai-TTS for providing the pretrained TTS models used in this project.