r/elearning • u/Slight_Cod_3245 • 6d ago
OpenProfessor: I built a free, open-source Socratic tutor. Works best with a good API model (Claude, GPT, Gemini), also runs on Ollama
https://github.com/josetrejor-cmyk/openprofessorI built a free, open-source Socratic tutor. Works best with a good API model (Claude, GPT, Gemini), also runs on Ollama
OpenProfessor is a Socratic tutor that ships as a static folder: serve it with nginx, Caddy or
python -m http.serverand you're done. There's no database, no accounts and no backend. Progress lives in the browser, with JSON backup and import.Models: it works best with an API model (Claude, GPT, Gemini, OpenRouter). It also talks to Ollama directly and sets the context size and JSON mode itself. Be realistic with local models: a 4B model on a laptop CPU took about 8 minutes per lesson and got an answer wrong, so aim for 14B+ on a GPU.
Notes: the page loads its fonts from Google Fonts. If you serve it from a different address than Ollama's machine, start Ollama with
OLLAMA_ORIGINSset to that address.Repo (AGPL-3.0): https://github.com/josetrejor-cmyk/openprofessor
Demo: https://openprofessor.org
1
u/Slight_Cod_3245 5d ago
Thank you all for your upvotes. Just one comment. I've noticed it works best with Claude models with Claude key. Although it might also work well with regular openai or Gemini. Please star it on GitHub and share. I would love to keep it free, online, and available for everyone.
1
u/the_darkest_horse 2d ago
Nice that it's just a static folder. How are you checking that it stays Socratic? In my experience models hold the line for two turns and then hand over the answer as soon as the student says "I don't get it" twice.
A simple rubric I'd run on transcripts: did it reveal the answer before the student got there, was each question one the student could actually answer, and did it notice the specific misconception or just repeat the hint.
Disclosure, I work on education data for training tutors (Creeks ai), so this is the stuff I look at all day.