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. The worker, the renderer and both shells are in the tree. CI packages the
Pear v3 app on five targets, launches it, installs it with pear install and plays a video in it.
Nothing is released yet: there is no production pear:// link. The design is in
ADR 0001, the spikes behind it are in
docs/spikes/, and the release runbook is docs/release.md.
- 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 nutflixd (
nfxdbefore its 0.1.5) 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. - Play videos only nutflixd serves (
nfxdbefore its 0.1.5), from the HTTPS origins its beacons name, through that same player in the window (with WebRTC on or off; off means no peer connection). Those hosts see the viewer's IP address and which videos it plays, as any seeder does; Settings says so. The Bare worker stays HyperDHT-only. Shape (a)'s main refuseshttps:to private IP literals and tolocalhostand.localnames, redirects included, so a relay on a LAN or tailnet IP literal or a.localname gets no NIP-11 search hints (itswss:still works). - 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. Itscore,seederanduipackages 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.