A web app to assist students in converting large PDF files into flashcards with AI
- PDF Upload: Users can upload large PDF documents to create flashcards.
- Page Selection: Users can select specific starting and ending pages for flashcard generation, providing flexibility and focus on the required content.
- AI Integration: The application leverages GPT API to generate flashcards.
- Downloadable Flashcards: After processing, users can download the generated flashcards in CSV format to import on Anki or other third-party apps.
To get the PDF to Flashcards application running locally on your machine, follow these steps:
- Ensure you have Node.js installed on your system. This will also install npm (Node Package Manager), which is required to manage the project's dependencies.
- You need a GPT API Key from OpenAI to generate the flashcards.
-
Clone the Repository
- First, clone the repository to your local machine using Git:
git clone https://github.com/Akardy/PDF-To-Flashcards.git cd PDF-To-Flashcards
- First, clone the repository to your local machine using Git:
-
Install Dependencies
- Inside the project directory, run the following command to install the necessary packages:
npm install
- Inside the project directory, run the following command to install the necessary packages:
-
Starting the Application
- You can start the application using the following commands:
- Using Node directly:
node index.js
- Using Node directly:
- You can start the application using the following commands:
-
Accessing the Application
- Once the application runs, you can access it through your browser. The URL will be: https://localhost:5000
Following these steps, you should have the PDF to Flashcards application running on your local environment, ready for use.
The prompt I'm using is from: https://github.com/benno094/pdf-anki