A Pear-native Nutflix: a peer-to-peer video app that lives on the Pear network. It is installed
from a pear:// link and updates itself from that same link. There is no download server.
Status: pre-alpha. Nothing here runs yet. The design is in
ADR 0001, and the spikes that gate it are in
docs/spikes/.
- Watch free NFX videos seeded by nutflix-pear desktop apps, over HyperDHT (NFX-12) natively in the app's Bare worker.
- Trade video with web browsers and nfxd over WebRTC, signaled over Nostr (NFX-10 §6). This runs in the app's Chromium window, and is the same player as the web client.
- Fall back to HyperDHT alone where the runtime has no WebRTC, WebAssembly or Media Source Extensions.
- Seed what it plays, and publish new videos from the app.
Paid videos (Cashu, pay/1) are not in scope for the first version.
-
Pear v3:
pear install pear://<key>. Updates come over the Pear network from the same link. Each release needs apear multisigquorum, and the app applies an update only when a SovTech-signed Nostr release notice names it. Pear 3.7.0 stops withENOENTif the folder it installs into is missing, so make it first:mkdir -p ~/Applications # macOS mkdir -p ~/.local/bin ~/.local/share/applications # Linux
-
Pre-v3 Pear (
pear run pear://…): unsandboxed legacy software, not released, under the conditions in ADR 0001's amendment. Holepunch removedpear runin Pear v3. Preferpear install. Seeshells/pear-v2.
This repository reuses nutflix-pear's packages (@sovit/core, @sovit/ui, @sovit/seeder)
through a pinned git submodule rather than copying them, so the wire formats stay byte-compatible
with deployed seeders.
vendor/nutflix-pear: nutflix-pear, a git submodule pinned to one commit. Itscoreandseederpackages are npm workspaces here, built from source.packages/worker: the Bare worker, the data plane. Its protocol is in its README.packages/renderer: the Chromium renderer, nutflix-pear's UI over a worker pipe. See its README.shells/pear-v3: the Pear v3 desktop shell: a hardened Electron main, the worker started throughpear-runtime, packaged on five targets (updates off). See its README.shells/pear-v2: the pinnedpear runshell, unsandboxed legacy software on Pear v2.6.5 with its own dependency pins. See its README.
Clone with git clone --recurse-submodules, or run git submodule update --init after a plain
clone. npm ci, npm run build, npm run lint and npm test work as in nutflix-pear. The tests
run in CI (.github/workflows/ci.yml).
AGPL-3.0-or-later. See LICENSE.