The QuickLit is a web application built with Angular for the frontend and Python for the backend. It allows users to upload a picture of a book cover, extracts the book title using Google Cloud Vision API, and then uses ChatGPT to generate a summary. Users can also save the summary as a PDF.
- Image Upload: Users can upload a picture of a book cover.
- Google Cloud Vision API Integration: Extracts the book title from the uploaded image.
- ChatGPT Integration: Generates book title, author, and summary in JSON format based on the extracted title.
- PDF Export: Users can save the generated summary as a PDF file.
- Node.js
- Angular CLI
- Python
- Google Cloud Vision API key
- Gemini API key
-
Clone the repository:
git clone https://github.com/Loveena28/QuickLit-BookSummarizer
-
Install Angular dependencies:
cd angular-frontend npm install
-
Configure backend:
- Set up a virtual environment:
cd python-backend python -m venv venv
- Install Python dependencies:
source venv/bin/activate # On Windows: .\venv\Scripts\activate pip install -r requirements.txt
- Set up configuration for Google Cloud Vision API and OpenAI GPT-3 API
- Set up a virtual environment:
-
Run the application:
- Start the angular frontend
cd angular-frontend ng serve
- Start the python backend
cd python-backend python main.py
Access the application at http://localhost:4200 in your web browser.
- Start the angular frontend