Skip to content

The open-source projects

inidin Academy is three open-source projects under one licence. Each one stands on its own: it has its own repository, installer, tests and release. They meet at a few well-defined points, and never through shared code.

Project What it is Built with
portal The learning platform: the web app, the API, the background services, the database schema and its migrations, the docs site TypeScript, Fastify, Next.js, PostgreSQL, Redis
admin The admin console of the team that runs an installation: operation, support, courses, AI, finance and the team itself TypeScript, Fastify, Next.js
learning-companion The learning app for Android, Windows and Linux, with on-device AI and an encrypted local store Dart, Flutter, llama.cpp, LiteRT-LM
flowchart LR
APP[Learning app] -- paired device,<br/>DPoP-bound tokens --> API
subgraph P[Portal]
WEB[Web app] --> API[API]
end
API --> DB[(PostgreSQL)]
ADM[Admin console] -- schema admin,<br/>platform jobs --> DB
  • Portal and admin console share only the database. The portal owns the core schema and is the only one to migrate it. The console has its own schemas, admin and platform (the operator’s tables, ADR 0478), and its own database roles. It writes only to the portal tables listed in database consumers, and it asks the portal for work through platform jobs. Neither calls the other’s API, and an account of one never signs in to the other (ADR 0261, ADR 0264).
  • The learning app is a client of the portal. A person pairs a device from the portal with a code or a QR code. The app then talks only to that portal, through its API and MCP, with tokens bound to a key on the device. Personal learning data stays on the device (Learning app).
  • Compatibility is checked, not assumed. The console names the oldest portal schema it works with (CORE_SCHEMA_MIN) and refuses to start on an older one. The app uses only the REST routes and the stable MCP tools that Learning app lists, and those stay compatible (ADR 0347).

The maintainers develop on their own Git server, where every change passes the full test suite. Each public repository receives one commit per release, before that release runs anywhere. The commit holds the tree of the release’s source commit and names it in its message (Source: <commit>), and the tag src-<commit> points at it (ADR 0180). Files that only concern the maintainers’ own installation, such as their operator data or their deploy keys, stay out. That is why the public history starts fresh, and why it moves in larger steps than day-to-day work.

Contributions go the other way. A pull request reviewed and merged on GitHub is carried over to the source repository and comes back with the next export. Its author and sign-off are kept, and the carried-over commit names the public one (Public-commit: <commit>). The export stops while a public commit is not carried over, so nothing merged in public is lost on the way.

  • The first public release is a beta. Fixes go into main and the next beta release. There are no maintained older versions yet (SECURITY.md).
  • Beta releases are tagged in each repository (v0.9.0-beta.N) and published with release notes on its Releases page. They are built from the public tree and signed by the maintainers; the archives come with their checksums, the signature and an SBOM. A release of the portal names the console release that matches it.
  • A running installation shows the commit it was built from: the footer’s Source code link and GET /v1/source. On the maintainers’ hosted service they lead to the tag src-<commit>. As the AGPL asks, a modified installation shows its own.

Everything is licensed under the GNU AGPLv3 (AGPL-3.0-only). The one exception is the n8n node in integrations/n8n-nodes-academy, which is MIT so that it fits n8n’s ecosystem. The hosted service runs the same code under the same licence. There is no enterprise edition, no dual licensing and no contributor licence agreement (ADR 0178).

What the beta does not include yet, the known limits, and what was decided against: future features. Every decision taken so far, with its date and status: architecture decision records.