AI-assisted, skills-based language learning for individuals, schools and businesses across Africa.
Version: 0.5.0 | Live: lingo.mukoko.com | Console: lingo.mukoko.com/console | Parent company: Nyuchi Africa
Mukoko Lingo teaches Shona, Ndebele, Chinese and English. A learner gets five phrases a day, drilled with flash cards and a short quiz, with spaced repetition scheduling what comes back and when. Shamwari, the AI tutor, answers questions in chat and adapts to the learner's measured proficiency rather than to a level they picked for themselves.
The other half of the product is institutional. Teachers create classes, set assignments against specific phrases and skills, and watch progress per student. Assessments are diagnostic, formative and summative, and they are graded on the server — the client is not trusted with a score. School rosters sync in over OneRoster from Clever, ClassLink and PowerSchool. Organisation admins get users, content, moderation, guardrails, analytics and API keys.
Content moderation runs in three layers: local rule-based guardrails, an AI-based pass, and prompt-injection detection on anything a learner types at the tutor.
This is more subtle than a single list, so here it is precisely:
| Language | UI strings | Local phrase seed | Shared lingo.languages |
|---|---|---|---|
English (en) |
✅ | ✅ | ✅ |
Shona (sn) |
✅ | ✅ | ✅ |
Ndebele (nd) |
✅ | ✅ | ✅ |
Chinese (zh) |
✅ | ✅ | ✅ |
Swahili (sw) |
✅ | ✅ | ❌ |
Four languages are canonical. Swahili is offered in the app's language picker
(lib/hooks/useUILanguage.tsx) and carried in the local seed data
(lib/data/phrases-data.ts), but lib/db/phrase-shape.ts maps only en, sn,
nd and zh into the shared database, so Swahili content does not round-trip.
Treat it as unfinished, not as a supported language.
The seed file holds 130 phrases. Live phrase content is curated in the
shared lingo.phrases collection and is not bounded by what is in this repo.
| Surface | Path | Stack | For |
|---|---|---|---|
| Mobile | app/ |
Expo SDK 57, React Native 0.86, React 19 | Individuals learning on iOS and Android |
| Console | web/ |
Next.js 16, Tailwind CSS 4 | Schools, businesses, admins |
| API | api/ |
Vercel serverless functions | Both |
api/ holds 58 TypeScript functions and four Python analytics functions, with
shared helpers in api/_lib. web/ is an independent npm project with its own
lockfile — it is not a workspace of the root package — and it is served under
basePath: '/console' so it can share a custom domain root with the mobile web
export.
| Tab | Purpose |
|---|---|
| Learn | Daily lesson — flash cards and quiz — plus phrase browsing |
| Shamwari | AI tutor chat |
| Progress | Dashboard, bookmarks, skill proficiency, mastery |
| Profile | Settings, preferences, theme, sign out |
| Layer | Technology |
|---|---|
| Mobile front end | Expo SDK 57 / React Native 0.86.2 / React 19.2 / Expo Router 57 |
| Console | Next.js 16.3 / Tailwind CSS 4 |
| Backend | Vercel serverless functions (TypeScript and Python) |
| Database | MongoDB — the lingo database on the shared Nyuchi ecosystem cluster |
| Auth | WorkOS AuthKit (hosted sign-in, PKCE authorization-code flow) |
| AI | Cloudflare Workers AI — Qwen3 30B A3B through an AI Gateway proxy |
| Testing | Jest 29 + jest-expo — 50 test files |
| CI/CD | GitHub Actions, with automated releases |
There is no Cloudflare Worker in this repository. Workers AI is called over HTTP from the Vercel functions, behind a server-side proxy with a circuit breaker; the Cloudflare credentials never reach a client.
The MongoDB cluster is shared across the Nyuchi ecosystem. lingo is Lingo's
own database, but several collections read and write sibling databases owned by
other domains. docs/ECOSYSTEM_DATA_MIGRATION.md has the full history.
Shared, not Lingo-owned:
| Collection | Purpose |
|---|---|
identity.persons |
The ecosystem user record — UUID _id, OIDC claims |
lingo.phrases, .languages, .scenarios, .learningStandards |
Curated multilingual content, translations[] per phrase |
shamwari.guardrails |
Moderation rules |
shamwari.conversations, .messages |
Tutor chat |
ubuntu.contributions |
Trust ledger — Lingo mirrors XP events into it |
platform.apiKeys |
Org-issued developer API keys |
Lingo-local:
| Collection | Purpose |
|---|---|
learner_profiles |
Lingo's extension of identity.persons |
phrase_progress, bookmarks, phrase_views, phraseEngagementLive |
Learning activity |
skills, user_skills, assessments, user_assessments |
Skills-based progression |
classes, class_memberships, assignments, assignment_submissions, organization_enrollments |
Schools and orgs |
srs_cards, user_xp, xp_events, study_sessions |
Spaced repetition, XP, streaks |
moderation_alerts |
Flagged content awaiting review |
npm install
cp .env.example .env.local # fill in the values below
npx expo start # mobile dev server
cd web && npm install && npm run dev # console, separate terminalRequired environment variables:
MONGODB_URIWORKOS_API_KEY,WORKOS_CLIENT_IDCLOUDFLARE_ACCOUNT_ID,CLOUDFLARE_API_TOKEN,CLOUDFLARE_AI_GATEWAY_IDEXPO_PUBLIC_API_BASE_URL
.env.example has the complete list.
| Command | Description |
|---|---|
npx expo start |
Mobile dev server (add --ios/--android) |
npm run build:web |
Export the Expo web build for Vercel |
npm test |
Jest |
npm run test:coverage |
Jest with coverage |
npm run lint |
Vite+ lint (vp lint) |
npm run lint:eslint |
ESLint |
npx tsc --noEmit |
Type check |
npm run build:ios |
EAS build |
cd web && npm run dev |
Console dev server |
cd web && npm run build |
Console production build |
ci.yml runs on pushes to main, staging and feature/* and on pull
requests to main and staging: lint and typecheck for mobile and for web,
Jest, a docs drift check (scripts/docs/check-docs.js), ruff and pytest
for the Python analytics functions, and both builds. The EAS iOS and Android
build jobs are present but commented out.
Versions follow the org policy
(nyuchi/.github#80): a merge
into staging is tagged as the next patch, a release to main as the next
minor, and a major is only ever made by hand. The staging → main release PR
carries the version bump (npm run release:prepare -- --version X.Y.0); when
CI goes green on main, release.yml tags it and publishes a GitHub Release.
See RELEASES.md.
The Bundu brand system has seven minerals — cobalt, tanzanite, malachite, gold, terracotta, sodalite and copper — inside a palette of 21 colour families. Mukoko Lingo uses a subset of them, and the mobile app and the console currently use different subsets:
| Surface | Colours defined | Source |
|---|---|---|
| Mobile | Cobalt (primary), Tanzanite (secondary), Gold (accent), Army Green (success) | constants/Colors.ts |
| Console | Cobalt, Tanzanite, Malachite, Gold, Terracotta, plus Army Green | web/tailwind.config.ts |
Army Green (#729B63 / #8FB47F) is not a mineral. It is a Lingo-specific
success colour. BRANDING.md is the design authority and specifies
the four-colour mobile set; the console config is ahead of it. Reconcile them
before adding anything new.
The dark theme is charcoal (#0A0A0A), never slate.
| Document | Purpose |
|---|---|
| BRANDING.md | Brand guidelines, palette, voice, typography |
| SECURITY.md | Security architecture |
| CONTRIBUTING.md | Contribution guidelines and commit conventions |
| RELEASES.md | Release automation and channels |
| CHANGELOG.md | Version history |
| CODE_OF_CONDUCT.md | Community expectations |
| docs/ECOSYSTEM_DATA_MIGRATION.md | How Lingo's data joined the shared cluster |
| docs/TEST_COVERAGE_ANALYSIS.md | What the test suite covers |
| Repository | What it is |
|---|---|
mukoko-dev/mukoko |
The super app monorepo |
mukoko-dev/mukoko-auth |
Mukoko ID — identity and SSO |
mukoko-dev/kweli-mcp |
Business, places and verification |
Licensed under the MIT Licence. © 2025 Nyuchi Learning.