Skip to content

Repository files navigation

NoteAI

AI-powered note summarizer for students using Google Gemini API.

Features

  • Text input or file upload (txt, pdf)
  • Multiple summary formats: bullets, outline, flashcards
  • Adjustable length and tone options
  • Optional quiz generation with multiple choice questions
  • PDF export for summary, quiz, or both

Setup

  1. Get a free API key from https://makersuite.google.com/app/apikey
  2. Create a .env file with your key:
    GEMINI_API_KEY=your_key_here
    GEMINI_MODEL=gemini-2.5-flash-lite
    
  3. Install dependencies and run:
    pip install -r requirements.txt
    streamlit run app.py

Architecture

  • app.py - Streamlit interface
  • ai_handler.py - Gemini API integration
  • text_processor.py - Text cleaning and chunking
  • ai_prompts.py - Prompt templates
  • models.py - Data structures
  • config.py - Configuration settings

Limits

  • Maximum input: 50,000 characters
  • Maximum file size: 10MB
  • Gemini free tier: 15 requests/minute, 1M tokens/day

Author

Alex Waisman

About

AI powered note summarizer for students built with the Google Gemini API. Supports multiple summary formats, quizzes, and PDF export.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages