Product · 2026 · Jasa
Open-sourcing an AI English tutor: what stays out of the repo
Flow records every answer as evidence of learning. When it came time to open-source it, the hardest question turned out not to be the code.
Learning that leaves a trail
Flow is a self-hostable English learning project with listening, speaking, reading and writing practice, a personal word book and an AI tutor. The idea is simple: the knowledge map and review advice must come from questions you actually answered, not a vague "you're doing well".
A project with no build step
The back end is Python and SQLite, the front end needs no build, and the core site does not depend on Node.js. AI can connect to OpenAI-compatible APIs, Gemini or a separate gateway. Models get slow and fail, so there is task queuing, retrying and streamed replies.
What stays out of the repo
- Real data. Databases, learning records, recordings and backups stay on the server.
- Secrets. Environment files and cloud credentials appear only as examples.
- Content with unclear licensing. The code is MIT, but teaching content and dictionaries have their own licenses and do not open up along with it.
Writing verification records honestly
I like one line in the README: the earlier verification notes are history; they don't mean the tests were rerun for this cleanup, or that production has been signed off. CI has the final word on tests. Saying plainly what wasn't verified is more trustworthy than a row of pretty badges.
The source is on GitHub, and you can try it at flow.jasa.hk .
