mnemo
About

A free AI course generator, built in four days.

Mnemo turns any topic — typed or photographed — into a structured five-lesson course in under a minute. There's no signup, no paywall, no upsell. The whole site is free to use and the source is on GitHub.

It started as a hackathon submission: the Gemma 4 Good Hackathon on Kaggle. The brief: build something useful with Google's new open-weights model that benefits real people. Four days of solo coding later, this site went live at mnemo.school.

Why open weights matter.

Gemma 4 is released under Apache 2.0. That means the model weights aren't locked inside one company's API — anyone can fork the engine, run it on their own hardware, and verify what it does. For a site that teaches things to people, this matters. The educational layer is too important to bet entirely on a black box that can change its behavior or terms at any moment.

The two models powering Mnemo:

  • Gemma 4 26B-A4B-it — multimodal, handles photo-to-course generation. Mixture- of-experts, ~4B active params per token, runs efficiently.
  • Gemini 2.5 Flash — text-only structured generation for course outlines and lesson content. Fast and reliable for JSON-shaped output.

How Mnemo teaches.

The shape comes straight from research on retrieval practice and spaced repetition. Each lesson ends with five active- recall exercises — multiple choice, fill blank, true/false, matching, ordered steps. The mix is deliberate: research shows interleaving exercise types improves retention more than drilling one format.

Beyond a lesson, completed courses feed into a daily review queue. Items you got wrong come back sooner; items you nailed get spaced further out. The goal: not just “I clicked through a course” but “I remember this in three weeks.”

Open source.

The full Mnemo codebase is on GitHub. Built with Next.js 16, AI SDK v6, Tailwind 4, Drizzle ORM on libSQL/Turso, and Clerk for optional auth. The architecture is intentionally small — under 13,000 lines of code at the time of writing — so the entire system is reviewable in an afternoon.

If you want to fork it, self-host it, or just learn from the implementation: the repo is open, the issues tracker is open, and pull requests are welcome.

Keep exploring

Built with Gemma 4 · Apache 2.0 · Open weights