Skip to content

stan-hua/book_maker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alexandria: AI BookMaker

Quick Start

  1. Install required dependencies:
pip install -r requirements.txt
  1. Please add your ChatGPT login details under src/data/config.json. For more details, look at https://github.com/acheong08/ChatGPT/wiki/Setup
{
    "email": <ENTER YOUR EMAIL HERE>,
    "password": <PASSWORD>,
    "isMicrosoftLogin": true
}

Create a Book

In order to create a book, run the following commands.

In Windows:

./make_book.bat --topic [TOPIC] --fname [book.epub] --authors [YOUR NAME]

In Linux:

./make_book --topic [TOPIC] --fname [book.epub] --authors [YOUR NAME]

Example Work

You may find example generated books under the samples folder.

Example Book 1. Introduction to PyTorch for Computer Vision

Here is a screenshot of the Table of Contents:

image

Acknowledgements

Made possible by OpenAI's ChatGPT

About

Alexandria: An AI Book Maker using LLM APIs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages