Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AI Tutor

Quick start

cd ai_tutor_react
npm i && npm run dev   # runs on http://localhost:5173

Paste a free Gemini API key (or OpenRouter key) in the settings.

What it does

  • Automatic multi-step information extraction from PDF(s): information gets extracted from uploaded pdfs into structured format, automatically added to the available study topics
  • Tutoring loop: a per-topic AI tutor asks exam-style questions, grades your answers with structured corrections
  • Language switching and provider selection: UI in German, English, Japanese or Korean; Gemini or OpenRouter as backend with selectable tutor model

Topic cards generated from lecture PDFs

Tutor session

Tutor modal with question, answer and evaluation

Generate content from PDFs

Content selection with PDF generation form

Settings

Provider, API key and model settings

Implementation notes

  • React 18 + TypeScript + Vite + Tailwind
  • small Hono (Node) API for file-based persistence and the server-side PDF to content pipeline
  • Streaming uses a hand-rolled parser for Gemini's chunked JSON output (no SDK)
  • model output rendered as sanitized markdown
  • API keys live only in the browser's localStorage.

About

AI-based information extraction and quiz-based tutoring from any pdf source material

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages