A SvelteKit app that converts static PDFs into:
Backend Companion: qelem-api (NestJs + PgSql)
The user uploads a PDF document containing learning material.
Input Parameters The user specifies:
Maximum number of questions desired
Difficulty level (easy, medium, or hard)
Content type: flashcards or exam
Content Extraction The system extracts raw text from the PDF.
Content Generation via Gemini API The extracted content is sent to the Gemini API to generate either:
A deck of flashcards, or
A structured set of exam questions
Output Formatting & Saving The generated content is formatted in a predefined structure and saved as a JSON file.
Download/Return Result The final output file is returned to the user for access.
The user generates the desired learning content (exam or deck of cards).
The user selects a social platform to share to from frontend or copy the content link & shares it to others.
Api will return the specific content parsing it from the shared url.
git clone https://github.com/Dagmawi-22/qelem-web.git ```
cd qelem-web
VITE_API_BASE_URL=http://localhost:8000/api/v1
docker-compose up --build