Skip to content

mathua

Self-hostable adaptive math course that gates progress on mastery, from arithmetic to

Permissive (OSI) · MIT

Listed by , founder & editor

58

Health

Active

Overview

Stars

440

Last commit

today

Nov 2026

Repository age

7 months

since Apr 2026

Latest version

–

Contributors

–

1 active in 90 days

Releases

0

last 12 months

Language

Go

Mathua is an adaptive math learning engine. It walks a learner through 3015 atomic concepts across 29 courses, from arithmetic up to university math. A prerequisite graph controls the order, so you only see a new concept after the earlier ones are shown to be mastered.

The backend is written in Go and serves a React and Next.js frontend. It stores data in SQLite by default, or in Postgres if you run several users. Problems come from parameterized Go generators, so the same concept gives a new problem each time. Concepts come back through FSRS-6 spaced repetition. Speed counts as well as accuracy: a slow correct answer is scored as weak mastery.

Other features include weekly leagues, read-only share links for parents or teachers, timing accommodations, pauses, and CSV transcript export through the API. A Docker option exists, and a hosted version works without an account. It is MIT licensed and takes inspiration from Math Academy, but it is not a clone of a specific product.

Who it's for

Parents homeschooling a child in math

Mastery gating and read-only share links let you track progress without grading by hand.

Skip if: You need a full curriculum covering other subjects.

Teachers who want a self-hosted practice tool

You can run it on your own server with Postgres and export transcripts as CSV.

Skip if: You need a full LMS with gradebooks, rosters and LTI integration.

Self-taught adults rebuilding math fundamentals

The prerequisite graph starts at arithmetic and spaced repetition keeps old topics fresh.

Skip if: You prefer video lectures over worked examples and generated problems.

The problem it solves

Most math practice tools let you move on after one passing score, which leaves gaps that surface later. Mathua holds you at a concept until you are both accurate and fast, then brings it back before you forget it.

Strengths

  • 3015 concepts in 29 courses, ordered by a checked prerequisite graph
  • Generated problems differ each time, with a stored fallback so sessions do not stall
  • FSRS-6 spaced repetition resurfaces concepts before they decay
  • SQLite for zero-config local use, Postgres for multi-user setups
  • MIT license, with transcript export to CSV

Trade-offs

  • Young project with one recent contributor and no releases yet
  • Covers math only, so it is not a general learning management system
  • Building from source requires a Go toolchain

Self-host mathua

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

Quick start

git clone https://github.com/chuma-beep/mathua.git
cd mathua

go build -o bin/mathua ./cmd/mathua

./bin/mathua --serve --port 8080

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

Frequently asked questions

Is Mathua free?

Yes. It is MIT licensed, and the hosted version at mathua.com lets you start without an account.

Can I self-host it?

Yes. Build the Go binary and run it with SQLite or Postgres. A Docker option is also available.

Which database does it use?

SQLite by default for local use. Set DATABASE_URL to a Postgres connection string for multi-user setups.

Can parents or teachers see progress?

Yes. A student can create a read-only share link from Settings. Transcripts also export as CSV through the API.

Similar tools in Learning management systems

RELATE

Learning management systems

Self-hosted courseware with Markdown and YAML content, git versioning and graded code

438 126 4 days ago Active MIT

classroom50

Learning management systems

Tool for teachers to hand out and auto-grade programming assignments on GitHub

240 41 8 days ago Thriving GPL-3.0

Sugarizer

Learning management systems

231 583 4 months ago Slowing Apache-2.0

ai-tutor

Learning management systems

Self-hosted AI tutor that builds quoted chapter quizzes from your notes and PDFs

203 5 8 days ago Slowing MIT

cohort-harbor

Learning management systems

194 1 3 months ago Dormant MIT

mentingo

Learning management systems

112 35 today Active MIT