Overview
Uxie automatically generates flashcards from your PDF documents using AI, helping you study and retain information effectively. Each flashcard tracks your performance over time, making it easy to focus on areas that need more practice.Key Features
AI Generation
Automatically create question-answer pairs from your document
Performance Tracking
Track correct and incorrect answers for each card
Instant Feedback
Get immediate feedback with detailed explanations
Progress Through Set
Navigate through cards with visual progress indicators
Getting Started
Generating Flashcards
Wait for AI
The AI analyzes your document and creates question-answer pairs (this may take 30-60 seconds)
Flashcard generation uses Google’s Gemini 2.5 Flash model to create clear, focused questions with accurate answers.
How Flashcards Are Created
AI Generation Process
Step 1: Document Processing
Step 1: Document Processing
- PDF is loaded and text extracted
- Content is split into manageable chunks (1000 characters)
- Chunks overlap by 200 characters to maintain context
Step 2: Question Generation
Step 2: Question Generation
- Each chunk is analyzed by AI
- Up to 2 questions created per chunk
- Questions are designed to be self-contained
- Focuses on key concepts and important information
Step 3: Quality Control
Step 3: Quality Control
- Questions without clear answers are skipped
- Duplicate or similar questions are filtered
- Only high-quality Q&A pairs are kept
/src/lib/flashcard.ts.
Page Limits
Maximum pages per document for flashcard generation:
- Free plan: Limited pages
- Paid plans: Higher limits
Using Flashcards
Card Interface
Each flashcard shows:- Question side: The study question
- Progress indicator: “Card X of Y” at top
- Answer button: Reveals the answer
- Navigation: Previous/Next buttons
Study Flow
Evaluate Yourself
Choose:
- ✅ Correct - You got it right
- ❌ Incorrect - You got it wrong
- ℹ️ Show Explanation - Get more context
Feedback Options
✅ Correct
✅ Correct
- Marks this attempt as correct
- Increments your correct answer count
- Tracks performance for future review
- Automatically advances to next card
❌ Incorrect
❌ Incorrect
- Marks this attempt as incorrect
- Helps identify areas needing more study
- Tracks for spaced repetition
- Moves to next card
ℹ️ Show Explanation
ℹ️ Show Explanation
- Reveals additional context and details
- Helps deepen understanding
- Useful when answer is partially correct
- Learn more about the concept
Performance Tracking
Attempt History
Each flashcard tracks all your attempts:Viewing Progress
Detailed analytics and progress visualization are planned for a future release. Currently, attempts are tracked in the background.
Best Practices for Studying
Navigation
Moving Between Cards
Forward:- Click the Next button
- Or complete the current card (mark correct/incorrect)
- Click the Previous button
- Review previous cards anytime
- Use the progress indicator to see position
- Cards are numbered: “1 of 20”, “2 of 20”, etc.
Keyboard Shortcuts
Keyboard shortcuts for flashcards are planned for a future update to enable faster studying.
Technical Details
Component Structure
/src/components/flashcard/index.tsx.
Individual Card Component
Each card manages:- Question/answer visibility state
- Attempt submission
- Navigation between cards
- Performance feedback display
/src/components/flashcard/card.tsx.
Generation API
Endpoint: tRPC mutationflashcard.generateFlashcards
Process:
- Validates page count against user plan
- Fetches PDF from URL
- Extracts and chunks text
- Generates Q&A pairs with AI
- Saves to database
- Returns flashcard set
/src/lib/flashcard.ts.
Customization
Current Limitations
- Cannot edit generated questions or answers
- Cannot manually add custom flashcards
- Cannot filter by topic or section
- Cannot export flashcard sets
- Cannot shuffle card order
AI Model Details
Model: Google Gemini 2.5 Flash Prompt:Use Cases
Exam Preparation
Generate flashcards from textbooks and study guides
Research Papers
Create Q&A cards to remember key findings and methods
Technical Documentation
Study APIs, frameworks, and programming concepts
Meeting Notes
Turn meeting minutes into actionable memory aids
Troubleshooting
Generation is taking too long
Generation is taking too long
- Larger documents take more time (30-90 seconds)
- Each text chunk requires an AI API call
- Check your internet connection
- Refresh if stuck for more than 2 minutes
No flashcards were generated
No flashcards were generated
- Document may be too short (needs substantial text)
- PDF might be scanned images (use OCR first)
- Document may exceed your plan’s page limit
- Check for error messages
Questions don't make sense
Questions don't make sense
- AI occasionally generates low-quality questions
- Source text may be poorly formatted
- Technical jargon can confuse the AI
- Regenerate flashcards if quality is low
Can't mark answer as correct/incorrect
Can't mark answer as correct/incorrect
- Ensure you’ve clicked “Show Answer” first
- Check if you have edit permissions on the document
- Try refreshing the page
- Check browser console for errors
Related Features
Note Taking
Create study notes alongside flashcards
AI Chat
Ask AI to explain flashcard concepts
Annotations
Highlight key passages for flashcard generation
