/simple_screenreader

Simple screenreader that uses OpenAI TT2S API to convert the text in your copy buffer into audio files

Primary LanguagePython

Simple ScreenReader

A simple screenreader that uses OpenAI TT2S API to convert the text in your copy buffer into audio files. Currently only supporting Mac.

How to run

  1. Set your OPENAI_API_KEY in the terminal
$OPENAI_API_KEY=sk-...
export OPENAI_API_KEY  
  1. create venv(optional), install requirements and run the python script
python3.12 -m venv venv && source venv/bin/activate && pip install -U pip setuptools wheel
pip install -r requirements.txt
python screenreader.py
  1. Use the screen reader.
  • Highlight a piece of text and run your copy command(command + c on mac), wait and listen to audio.