Skip to content
Get an API key

contribute

View as Markdown

noduma contribute sets this PC up to share in the background: it pairs the PC (in your browser, or with a join code from an invite), installs the engine and a model with noduma setup, and adds a login entry (launchd, a systemd user unit, or the user's Windows Run entry; no administrator rights). Every login then starts in Standby until you start sharing. See Sharing controls.

Terminal window
noduma contribute # pair in the browser (installers built for Noduma's app), then set up
noduma contribute --device FILE # a PC already paired with noduma pair
noduma contribute --join ndm_j_... # a join code from a coordinator's invite
Option Meaning
--app URL The Noduma app's address: with no join code or paired PC, pair this PC in the browser first
--device FILE The device.json saved by browser pairing
--join CODE A join code from an invite (ndm_j_...); asked for when missing. It is secret, like a key
--id NAME The name of this PC in your account
--model NAME The model to install: auto or a catalog name, as setup lists them
--engine BUILD The llama.cpp build: auto, metal, cuda, cuda12, vulkan or cpu
--capacity N Requests served at the same time (1 to 16); 0 sizes it from this PC's memory
--auto-model Let Noduma choose this PC's model from its list (not with --tier2)
--dir DIR The installation directory (default ~/.noduma)
--no-service Install no background service; print the noduma share command instead
--desktop Use the installed Noduma desktop
--ca-file FILE The certificate authority of a private coordinator
--dev-mode Log developer-mode details: job timings and counts, never message text or keys
--tier2 Serve --model in Tier 2; the model must be named, and the group's PCs learn this PC's network address
--tier2-listen ADDR With --tier2: the address the encrypted link accepts on, such as 0.0.0.0:7070; empty, the PC can lead a group but not work in one
--tier2-advertise LIST With --tier2-listen: the host:port addresses other PCs reach it at
--tier2-open-router With --tier2-listen: ask your home router to forward that port
--tier2-relay With --tier2: work with PCs it cannot reach directly, through the coordinator

Start sharing. Options: --dir, --notify (show the outcome as a desktop notification), --hold N (keep the window open N seconds). resume is the same.

Stop sharing: running answers finish first, then the engine frees its memory. pause is the same.

Option Meaning
--now Hand running answers to other PCs at once instead of finishing them
--wait Wait until the engine has freed its memory (up to 130 s)
--dir, --notify, --hold N As for start

The configuration and what sharing does now. Option: --dir.

Stop sharing and end Noduma until the next login. Option: --dir.

noduma contribute auto-model on lets Noduma choose this PC's model from its list, following demand: a chosen model is downloaded, checked and used only while the PC answers nobody, and at most two models stay on disk. off keeps the current model.

Removes the background service. It asks whether to remove this PC from your account and whether to delete the installation directory (engine, models, key, logs), then reports the space freed. With nobody at the terminal it keeps both, as a reinstall needs.

Option Meaning
--remove-pc Also remove this PC from your account, without asking
--keep-pc Keep this PC in your account, for a reinstall, without asking
--purge Also delete the installation directory
--keep-data Keep the installation directory, without asking
--dir The installation directory

A removed PC can be paired again with noduma contribute; it gets a new key and starts over, unvetted.