Skip to content

Core development ​

These guides are for people who work on n5i itself or build a distribution with it. If you want to package an app, see building apps instead.

n5i is published as source code only. It doesn't provide installers, OS images or container images; distributions build n5i from source and ship it to their users. The only artifacts n5i publishes are libraries for developers, such as Rust crates and npm packages.

Repositories ​

RepositoryContents
n5i/backendThe backend services, the app system and the official plugins, written in Rust.
n5i/dashboardThe web dashboard (Nuxt), and the @n5i/ui and @n5i/app-bridge packages for app UIs.
n5i/websiteThis website.

Backend components ​

The backend is a Cargo workspace. Its main parts are:

PathComponent
services/apiThe GraphQL API the dashboard uses. It keeps track of users, permissions and system state in a database and talks to the agent.
services/agentPerforms administrative tasks: parsing and installing apps and managing their domains. Only the API talks to it.
services/coreThe app system: app parser, templating, permission validation and the generator for Kubernetes objects.
services/background-updaterDownloads new apps from app stores and keeps app definitions up to date.
services/node-agentRuns on each node for node-specific tasks.
services/dnsResolves the <service>.<app>.<user>.n5i host names apps use to reach each other.
shared/appsTypes of the app system (crate n5i-apps).
shared/plugin-protoThe plugin gRPC definitions (crate n5i-plugin-proto).
shared/tera-with-jsTera with JavaScript extensions, used for preprocessor extensions.
plugins/*Official plugins (Tor, Bitcoin, LND, and runtimes for Umbrel and Tipi apps).

The crates n5i, n5i-apps, n5i-plugin-proto, n5i-plugin-common and n5i-crds are published on crates.io for plugin and tool developers.

Next steps ​

Free and open-source software under the GNU AGPL 3.0 or later.