FlashGen
Generate smart flashcards from any PDF — instantly and offline with AI.
Created on 29th May 2025
•
FlashGen
Generate smart flashcards from any PDF — instantly and offline with AI.
The problem FlashGen solves
Students and self-learners often struggle to revise long, unstructured study materials like PDF notes, textbooks, and research papers. Traditional tools like Quizlet require manual flashcard creation, while AI-based tools need internet and API keys — which can be costly or unavailable during live exams or in offline environments.
FlashGen solves this by:
Automatically converting PDF content into flashcards using local NLP.
Requiring no internet or third-party APIs — all AI logic runs locally.
Saving hours of manual flashcard creation.
Supporting students, teachers, and professionals who want fast revision tools.
Whether you're preparing for exams, brushing up on topics, or revising research papers, FlashGen lets you study smarter, faster, and more efficiently.
Challenges we ran into
Text extraction issues: PDFs with complex formatting or scanned images produced noisy data. We mitigated this by using pdf-parse and focusing on typed PDFs only.
Local AI inference limitations: Using HuggingFace’s transformers pipeline locally required system-level optimizations to handle chunked processing without timeouts.
Integration complexity: Connecting React (frontend), Express (backend), and Python (AI layer) in real-time required careful orchestration of file handling, subprocesses, and JSON parsing.
Model performance: The QA model took time for large documents, so we implemented offset-based chunking to improve speed and memory efficiency.
Despite these, our modular design and clear role division helped us overcome all blockers within the hackathon timeline.
Technologies used
