Skip to content

matigumma/VoiceAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Leer

Leer is a command-line tool that helps you reading output using OpenAI TTS.

Installation

Follow these steps to install and set up Leer:

  1. Make the script executable:
chmod +x leer.py
  1. Create a symbolic link to make it accessible from anywhere:
sudo ln -s $(pwd)/leer.py /usr/local/bin/leer
  1. Add /usr/local/bin to your PATH if it's not already included:
export PATH=$PATH:/usr/local/bin
  1. Source your shell configuration to apply the changes:
source ~/.zshrc
  1. Set your OpenAI API key:
export OPENAI_API_KEY=your_openai_api_key_here

Usage

To use Leer, simply run:

echo "text to read" | leer

Configuration

Make sure to replace your_openai_api_key_here with your actual OpenAI API key. You can add this line to your ~/.zshrc or ~/.bashrc to set the API key permanently:

export OPENAI_API_KEY=sk-your_openai_api_key_here

Contributing

welcomed

Acknowledgments

  • OpenAI for providing the API.

About

openai TTS demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages