Discover your next literary adventure with BookishGenie, your trusted AI companion in the world of books. ๐
BookishGenie is a web application that aims to simplify the process of finding your next captivating book to read. With a few simple steps, you can share your reading preferences and let BookishGenie's AI recommendation engine do its magic, providing personalized book recommendations tailored to your taste.
-
Step-by-step Wizard: BookishGenie provides a user-friendly step-by-step wizard interface to collect your reading preferences. You'll be guided through selecting your favorite genre, mood, and book length preference.
-
AI-powered Recommendations: BookishGenie utilizes the power of artificial intelligence to generate personalized book recommendations based on your preferences. The recommendations are generated using the OpenAI GPT-3.5 Turbo model.
-
Book Information: BookishGenie not only provides recommendations but also fetches detailed book information, including book covers and other metadata. It uses the Google Books API to retrieve book information based on the recommendations.
-
Persistent Storage: BookishGenie stores your recommendations and book information in the browser's localStorage, allowing you to revisit your recommendations without losing them.
- React
- Next.js
- Zustand
- Tailwind CSS
- shadcn/ui
- OpenAI GPT-3.5 Turbo
- Google Books API
Follow the instructions below to get the project up and running on your local machine.
- Clone the repository:
git clone https://github.com/MartaBento/bookish-genie.git
- Navigate to the project directory:
cd bookish-genie
- Install dependencies:
npm install
- Set up environment variables:
- Create a new file named
.env.local
in the project root directory. - Add the following lines to the
.env.local
file:
- Create a new file named
# .env.local
NEXT_PUBLIC_OPEN_AI_API_KEY=your-openai-api-key
NEXT_PUBLIC_GOOGLE_BOOKS_API_KEY=your-google-books-api-key
- Start the development server:
npm run dev
- Open your browser and visit
http://localhost:3000
to see the application running.
Contributions are welcome! If you find any issues or have suggestions for improvement, please create an issue or submit a pull request.
If you have any questions or feedback about BookishGenie, please contact me at [email protected]
.