Skip to content

OpenTutor

Local-first AI tutor that turns course PDFs into notes, flashcards and quizzes

Permissive (OSI) · MIT AI-native

Listed by , founder & editor

56

Health

Active

Overview

Stars

191

Last commit

4 days ago

Nov 2026

Repository age

9 months

since Feb 2026

Latest version

–

Contributors

–

5 active in 90 days

Releases

0

last 12 months

Language

Python

OpenTutor is a self-hosted learning workspace. You upload course material such as PDF, DOCX or PPTX files, and it generates structured notes, flashcards, quizzes and a chat tutor that answers questions based on that material.

The workspace is built from 12 composable blocks, including notes, quiz, flashcards, knowledge graph, study plan and analytics. Review scheduling uses FSRS spaced repetition. The backend is Python with FastAPI and the frontend is Next.js. You can run it with Docker Compose, with a quickstart script, or by setting up the backend and frontend by hand. Windows users can build a native launcher without Docker. It can run against local open-source LLMs, so no API keys are required and your data stays on your machine.

It is a public beta aimed at one local user. macOS and Linux are first-class platforms, and Windows is community-supported. It does not name a specific commercial product it replaces, but it covers the ground of AI study tools and flashcard apps.

Who it's for

Students studying from their own lecture slides and PDFs

It converts uploaded course files into notes, flashcards and quizzes, then schedules reviews with FSRS.

Skip if: You need a polished mobile experience, since the mobile layout is not fully optimized.

Privacy-conscious learners who want AI study help offline

It runs with local open-source LLMs, so documents and settings stay on your own machine.

Skip if: You do not have hardware that can run a local model at acceptable speed.

Self-hosters who like trying early Python and Next.js projects

Setup is a few Docker Compose commands, and the code is MIT licensed.

Skip if: You need multi-user or classroom features, which are out of scope for the beta.

The problem it solves

Most AI study tools give every learner the same explanations and pace, and they send your course material to a cloud service. OpenTutor keeps the material on your machine and builds notes, quizzes and review schedules from it.

Strengths

  • MIT licensed, with a Docker Compose setup
  • Accepts PDF, DOCX and PPTX uploads
  • FSRS spaced repetition for flashcard reviews
  • Can run with local open-source LLMs and no API keys
  • Native Windows launcher available without Docker

Trade-offs

  • Public beta for a single local user; no multi-user or classroom mode
  • Auth is off by default and must be enabled before network exposure
  • Mobile layout is not fully optimized
  • Some autonomous and graph-driven flows are still experimental

Self-host OpenTutor

Self-hostable
Yes
Docker Compose
The repository ships a Compose file

Quick start

git clone https://github.com/zijinz456/OpenTutor.git && cd OpenTutor
cp .env.example .env
docker compose up -d --build

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is OpenTutor free?

Yes. It is MIT licensed and runs on your own machine, and it can use local open-source LLMs without API keys.

Can I self-host it?

Yes. Run it with Docker Compose, or use the quickstart script or manual setup with Python 3.11+ and Node.js 20+.

Which platforms does it support?

macOS and Linux are first-class. Windows is community-supported, and a native Windows launcher can be built without Docker.

What files can I upload?

You can upload PDF, DOCX and PPTX files to create a course.

Is it safe to expose on a network?

Not by default. Auth is disabled, so set AUTH_ENABLED=true and configure JWT_SECRET_KEY before any network-accessible deployment.

Similar tools in Quiz and flashcard apps

AnyMemo

Quiz and flashcard apps

159 52 6 months ago Dormant GPL-2.0

exameow

Quiz and flashcard apps

115 35 10 days ago Thriving Apache-2.0