Book Creator Tool is a web-based application designed to automate the creation of books using AI. Users can input specifications such as the title, genre, language, and more, and the application generates a complete book with chapters and a narrative based on these inputs.
- Custom Book Specifications: Users can specify various aspects of the book such as title, genre, tone, and style.
- Chapter Management: Automatically generate a specified number of chapters based on user input.
- AI-Powered: Utilizes OpenAI's GPT models to generate coherent and engaging text.
- Responsive Design: Accessible from various devices, ensuring a wide range of usability.
- Frontend: React.js with Tailwind CSS for styling.
- Backend: Next.js API routes for handling asynchronous requests.
- AI: OpenAI's GPT-3.5 Turbo(gpt-3.5-turbo-16k) for text generation.
- Node.js
- npm or yarn
- Clone the repository:
go to directory:
git clone https://github.com/RaheesAhmed/book-generator.git
cd book-generator
- Install dependencies:
npm install
- Set up environment variables:
Create a
.env
file in the root directory and add the following:
OPENAI_API_KEY=Your_OpenAI_API_Key
- Run the development server:
npm run dev
Fill out the form on the home page with your desired book details such as title, genre, number of chapters, etc., and click the "Generate Book" button. The book content will be displayed on the right side of the page once it's generated.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
To contribute to this project, follow these steps:
- Fork the Project
- Create your Feature Branch (git checkout -b feature/AmazingFeature)
- Commit your Changes (git commit -m 'Add some AmazingFeature')
- Push to the Branch (git push origin feature/AmazingFeature)
- Open a Pull Request
Rahees Ahmed - [email protected]