Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neutron kernel

Personal cloud computer

Decentralised, user-customizable, user-controlled, community-driven kernel for operating systems running on ICP.

Neutron is meant to be fully open. A user owns a Neutron canister, can install apps into it, and can deliberately replace the kernel with any .neutron kernel package they choose. Forking the kernel, changing the operating system rules, and installing that fork is an intended option, not an exception.

Backend is in Motoko.

Documentation: http://ntron.net code: devs

Build commands

Run repository commands from the repository root:

npm run build
npm run package
npm run repository:generate

build runs the independent workspace builds. package runs each production app's complete packaging workflow and creates its .neutron archive. repository:generate consumes the packaged Hello and Kitchen Sink archives and generates the static example repository's Motoko resources. The generator is a separate phase because it cannot run before those archives exist.

To run all three phases in dependency order:

npm run build:all

App package scripts include their own app build, so build:all deliberately repeats that app-local stage while also covering independent workspace builds. It generates the repository source but does not compile or deploy the example repository canister. Browser and end-to-end tests are separate test commands; build:all does not launch Playwright.

Design principles

  • Kernel is replacable by users.
  • Kernel only provides capabilities and security, no system apps - no Sherlocking.
  • All apps are equal.
  • Kernel is what makes apps work on different distros
  • Distros are packs of apps + kernel, later customizations/themes

Documentation

Start with the documentation index for the current architecture, core contracts, repository map, and suggested reading paths.

Foundations And Architecture

  • Product Model And User Story explains what a user-owned Neutron is and how ownership, apps, and the replaceable Kernel fit together.
  • Security Model defines the trust boundary, app isolation model, capabilities, authorization, and recovery authority.
  • Repository And Build Topology maps the monorepo, package pipeline, generated outputs, and component ownership.
  • Compiler And Actor Assembly explains how the Kernel and app packages become one checked Motoko actor and install plan.
  • Kernel Backend Runtime documents the Motoko services, authorization, static assets, HTTP entrypoints, and self-upgrade path.
  • Kernel Frontend Runtime documents the trusted React shell, workspaces, authentication, dialogs, endpoints, and brokers.
  • Kernel-App Message Bus defines the private MessagePort protocol connecting the Kernel, tiles, trays, and resident backgrounds.

App Development

Capabilities, Data, And HTTP

Deployment, Releases, And Operations

  • Unified Provisioning System is the canonical contract for local and production creation, reinstall, verification, and recovery.
  • Local Development And Deployment is the PocketIC setup and deployment runbook.
  • Production Provisioning covers IC creation, adoption, destructive reinstall, controller handling, and deployment evidence.
  • Dispenser And Provisioning documents the developer-preview SushiOS bootstrap, payment, provisioning, and one-time activation handoff.
  • Repository Setup Manifests defines repository-delivered setup offers without creating a marketplace or automatic install path.
  • App Package Updates is the canonical version-bump, packaging, publication, verification, and owner-reviewed update workflow.
  • Testing And Verification describes fast checks, browser tests, replica tests, and production qualification evidence.
  • Playwright explains repeatable local browser tests and explicitly enabled interactive investigation.

Planning

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages