Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2023-03-25 17:49:34 -04:00
book_gen.py init 2023-03-25 16:08:02 -04:00
bookgen_topdf.py init 2023-03-25 16:08:02 -04:00
config.py init 2023-03-25 16:08:02 -04:00
README.md Update README.md 2023-03-25 17:49:34 -04:00

ChatGPT-Book-Generator

Input any book title and it will generate a full book in PDF format.

set up

you will need the opanAI api and fpdf installed this can be installed with

pip install openai
pip install fpdf

clone and cd into the folder

git clone https://github.com/earthonion/ChatGPT-Book-Generator/
cd ChatGPT-Book-Generator/

you will need to get an openai API key. you can this this from your user settings.

Then edit config.py file to include this key.

once you get that done just run:

python book_gen.py