Open-source project
oppia/oppia avatar
oppia/oppia

Oppia explorations turn practice into a conversation with a tutor

A free, online learning platform to make quality education accessible for all.

7,000 stars5,947 forksPythonApache-2.0

At a glance

What is it?
A learning platform whose content unit is an exploration, an interactive activity that acts like a tutor giving feedback while the learner works. The platform is a Python and Angular web application built on Google App Engine.
Who is it for?
Choose Oppia when you need an authoring platform for interactive maths practice and you are willing to host it on Google App Engine, because the datastore, the cron jobs and the deployment unit all come from there. Do not choose it if you need offline lessons or a stack that runs somewhere else; the repository has no second deployment target, and the README says nothing about running Oppia without App Engine.
Can I use it commercially?
Yes. Apache-2.0 is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository received new commits within the last day.
What is it written in?
Mainly Python, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 22, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • oppia/oppia7,000 ★ · +186
Star history
Repository2026-09-232026-11-22
oppia/oppia6.8k7k

186 Stars in the last 60 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

An exploration is a tutor conversation in a browser page

The unit of content is an exploration: an interactive activity anyone can create and share, which simulates a one-on-one conversation with a tutor and hands the learner feedback while they work. Learning happens by doing rather than by reading, and that single decision explains most of the rest of the design.

On top of that mechanism the team has also written lessons of its own instead of only hosting other people's. There are free lessons on basic mathematics, with basic science and financial literacy named as the areas planned next, and the stated audience is learners who lack appropriate access to educational resources. The fractions lesson is the one the README links as the example. So the project covers two things at once: an authoring platform for other people's explorations, and a first-party maths curriculum published on oppia.org.

The README hands installation to a wiki page and keeps only the dependency step here

The README contains no setup commands; it sends every reader to an Installing Oppia wiki page for the full procedure, so onboarding instructions live outside the tree as wiki text.

The Python dependencies are pinned in requirements.txt:

bash
git clone https://github.com/oppia/oppia.git
cd oppia
pip install -r requirements.txt

`requirements_dev.txt` sits beside it for the tooling, and `pytest.ini`, `tox.ini` and `conftest.py` at the root say the Python tests run under pytest with a tox wrapper around them. None of those files covers the Angular toolchain or the datastore, so a local setup ends up as two halves with the front-end work done separately.

requirements.txt is compiled output, so edits belong in requirements.in

`requirements.txt` opens with a warning aimed at contributors: do not modify this auto-generated file, change `requirements.in` and regenerate. The header names the interpreter it targets and the exact command that produced it:

bash
pip-compile --generate-hashes --no-emit-index-url --output-file=requirements.txt --strip-extras requirements.in

Two consequences follow. Every pin carries sha256 hashes, which is why `setup.py` has to strip them before it can parse the file: the requirement parser does not accept hashes, so each hash line and its line-continuation backslashes are removed with a regular expression first. And the declared interpreter is Python 3.12, which is the version to check before starting, since nothing older is described in the tree.

The opening pins hint at what the backend does. `apache-beam==2.67.0` is there, and `anyio==4.14.2` arrives via httpx and google-genai.

package.json has no build script, and its test script exits 1 on purpose

The front end is Angular, and the root `package.json` is where that surfaces. It is named `oppia`, versioned 3.5.3 to match the current release tag, and its devDependencies pin `@angular/cli` at `~11.2.10` with `@angular-devkit/build-angular` at `^0.1102.10`, a generation of the toolchain well behind the current one. `@lhci/cli` at 0.15.1 explains the Lighthouse configuration files at the root.

Two details say where the real front-end commands live. The `scripts` block in this file has a single entry, `test`, whose body echoes an error message and exits with status 1, so running it from the root fails by design. And the tooling is delegated rather than wrapped: lint-staged sends staged paths to prettier and Python files to black, while `.eslintrc`, `.stylelintrc`, `.htmllintrc`, `.prettierrc.json` and `.pylintrc` split the style rules by language. Expect the runnable npm scripts to be somewhere below the root.

app_dev.yaml, index.yaml and cron.yaml make App Engine the deployment target

The README names the stack as Python, Angular and Google App Engine, and the top-level entries are the evidence for the third one. `app_dev.yaml` is the App Engine service definition, `index.yaml` holds datastore index configuration, `cron.yaml` declares scheduled jobs and `.gcloudignore` is the deployment exclusion list. `main.py` sits at the root as the entry point, with `main_test.py` next to it.

The backend is therefore written against one vendor's runtime rather than a portable framework, and that is a real constraint on running Oppia anywhere else: the datastore, the scheduled work and the deployment unit all come from the same place, and the repository offers no second target. `.firebase.json` and `proxy.conf.json` also sit at the root.

setup.py builds an Apache Beam package for Dataflow, not an installable Oppia

The `setup.py` at the root is not there to install Oppia. Its own docstring says the package is built for Google Cloud Dataflow workers running Apache Beam, and that the build runs `python setup.py sdist` inside `build.py`. What it reads is `requirements.txt` with the hashes stripped off, so the Dataflow image can install the same pinned dependency set the web application uses.

That reframes the file. The Beam step is a downstream consumer of the web app's dependency list, and one file serves both, which is why the hash-removal regex sits in the middle of the script. The 2021 copyright header on that script also says the file predates the current release line, v3.5.3 from 2026-09-23, and nobody has moved it.

Style rules are split across twelve dotfiles and black caps lines at 80

Linting is unusually spread out. The root holds `.pylintrc`, `.isort.cfg`, `.coveragerc`, `mypy.ini`, `tox.ini` and `pytest.ini` for Python, `.eslintrc` and `.eslintignore` alongside `tsconfig-lint.json` and two strict tsconfig variants for TypeScript, `.stylelintrc`, `.htmllintrc`, `.prettierrc.json` and `.prettierignore` for everything else, and `.lighthouserc.js` with desktop and base siblings for page performance. `AGENTS.md` and `.coderabbit.yaml` sit alongside them.

The formatting floor is short enough to quote:

toml
[tool.black]
line-length = 80
skip-string-normalization = true

The second setting matters more than the first, because black will then leave quote style alone and an editor's defaults survive review instead of being rewritten in a diff. The two exclusions, `scripts/linters/test_files/*` and `stubs/*`, are the places a formatter is deliberately not allowed to look.

Bug reports go to the issue tracker, security reports go to an address

Support is split by kind. Feature requests and bug reports belong on the issue tracker, and the README links the new-issue chooser rather than one fixed form. Security issues are asked for by email instead, at [email protected], which is the only address published for that purpose. Ongoing discussion happens on GitHub Discussions and announcements go out through a Google Group mailing list, so there are three separate channels before a message reaches the team.

Licensing is Apache v2, and the licence link points at the `develop` branch, which is also the default branch rather than `master`. The three recent tags are v3.5.1, v3.5.2 and v3.5.3, dated 2026-04-09, 2026-07-20 and 2026-09-23, so the release train runs roughly quarterly off a trunk that is not the branch most people clone by habit.

Editorial conclusion

Choose Oppia when you need an authoring platform for interactive maths practice and you are willing to host it on Google App Engine, because the datastore, the cron jobs and the deployment unit all come from there. Do not choose it if you need offline lessons or a stack that runs somewhere else; the repository has no second deployment target, and the README says nothing about running Oppia without App Engine. Before anything else, open the Installing Oppia wiki page the README points to, since the README itself carries no setup commands.

Frequently asked questions

What is oppia used for?

Oppia lets anyone create and share interactive activities called explorations. An exploration simulates a one-on-one conversation with a tutor, so the learner works through the exercise and gets feedback while doing it.

what is oppia

An online learning platform whose web application is built with Python, Angular and Google App Engine. Alongside the authoring platform, the team publishes its own free lessons, starting with basic mathematics.

Is oppia free to use?

The platform is described as free and the team's own lessons are free too, with the code released under the Apache v2 license. Nothing on that page covers what it costs to run your own instance.

What are the benefits of using oppia?

An exploration gives feedback while the learner is still working rather than afterwards, and the maths lessons are written for people who lack appropriate access to educational resources.

Official sources

  1. License: Apache-2.0
  2. oppia/oppia on GitHub
  3. Project website
  4. README
  5. Releases
Community

Where developers are discussing it

Posts on Hacker News, dev.to and Lobsters that link to this repository, found by our scan of those communities. 0 in the last 30 days; newest first.

Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/oppia-oppia.svg)](https://hysenlabs.com/projects/oppia-oppia)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/oppia-oppia.svg)](https://hysenlabs.com/projects/oppia-oppia)

Was this useful?