A library for taking any arbitrary file and converting it into an audiobook using AI. Please do not use commercially.
Work in progress
First install poetry
Then:
brew install tesseract pandoc just
pipx install poetry
poetry install
poetry run pre-commit install
sudo apt install pandoc tesseract-ocr libtesseract-dev just
pipx install poetry
poetry install
poetry run pre-commit install
You will need to create an account on OpenAI and get an API key. You can do that here
Then you will need to set the API key as an environment variable. Create a .env
file in the root of the project and add the following:
OPENAI_API_KEY=your-api-key