Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/b7011343/kdp-gpt
An open-source python script that can generate books using ChatGPT to be listed on Amazon KDP.
https://github.com/b7011343/kdp-gpt
ai amazon-kdp book chatgpt dalle2 generate kdp python python-script python3
Last synced: about 1 month ago
JSON representation
An open-source python script that can generate books using ChatGPT to be listed on Amazon KDP.
- Host: GitHub
- URL: https://github.com/b7011343/kdp-gpt
- Owner: b7011343
- License: mit
- Created: 2023-07-16T18:14:54.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-17T21:49:05.000Z (over 1 year ago)
- Last Synced: 2023-07-17T22:35:19.416Z (over 1 year ago)
- Topics: ai, amazon-kdp, book, chatgpt, dalle2, generate, kdp, python, python-script, python3
- Language: Python
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kdp-gpt
An open-source python script that can generate books using ChatGPT to be listed on Amazon KDP. The script will ask you for a title and description for the book, as well as the tone and how many chapters you want to include; a pdf file will then be generated.## Setup
1. Navigate to https://platform.openai.com/account/api-keys to generate an API key
2. Create a .env file and add your key
```
OPENAI_API_KEY=...
```
3. Create python virtual environment, this could be done in many ways but I prefer using venv
```bash
python3 -m venv .venv
```
4. Install requirements.txt
```bash
pip install -r requirements.txt
```## Usage
```bash
python3 main.py
```