Skip to content
Rifubo

Rifubo

This project is still at the concept stage. If you’d like to help shape the code, requirements, or design, let me know.

What it is

A self-hosted, multi-account cloud platform built with Rust and WebAssembly. Like Nextcloud, it brings calendars, files, and installable apps to a server for individuals, households, and companies. Data lives in datasets with fine-grained access controls. For example, the contacts app can share only names and email addresses with the email app, or sync only selected contacts to a smartphone.

Building blocks

Diagram of how the building blocks work together.

Datasets

Durable, typed collections defined by kinds with versioned JSON Schemas. Apps never access raw storage or run SQL. They access data through Host-enforced Views (field and row projections) and Grants (read, add, write, delete, or share). Owners control sharing, and users give consent the first time an app requests access.

Apps

Apps are installable WebAssembly modules that run on the server, in the client, or both. They are treated as untrusted guests, not in-process plugins. Server apps respond to events; client logic runs in dedicated workers. Apps describe their UI to the Shell using patches and named events, rather than running JavaScript on the main thread.

Capabilities

Named Host ports and adapters within an Instance, such as http_out, scheduled, CardDAV/CalDAV, webhooks, share links, and notifications. Access is denied by default and enabled through a manifest allowlist and admin or account consent. External systems communicate with adapters, not directly with Apps.

Framework around them

Piece Role
Host Rust and Wasmtime runtime that loads Apps, enforces Grants, owns kinds, runs schedules/events, provides capabilities
Shell Browser foundation that provides the DOM, consent UI, and Dataset overview, and connects client-side Wasm
Instance A deployed Host that supports multiple accounts from the start
Account / Owner People use Apps through accounts; Owners create Grants for Datasets

Grants and capabilities are separate concepts.

License

The Host, Shell, and reference Apps are licensed under AGPL-3.0-or-later.