← all projects

ZapCast

@pseudozach·107 followers·added 2026-07-19
0
stars
5.4k
lines
52
files
0
forks
107
followers
languages
JavaScript 100%

ZapCast is a desktop app for viewer-funded peer-to-peer live streaming, running on Pear with an Electron host in electron/. An ffmpeg pipeline in broadcaster/ingest.js and broadcaster/chunker.js converts an RTMP or HTTP source into low-latency fMP4 chunks with SHA-256 hashes, appends them to Hypercore, and replicates them over Hyperswarm via p2p/swarm.js and p2p/replication.js, with viewers relaying a rolling 300-chunk cache. Payments live in payments/wallet.js, which generates a local Arc testnet wallet, advertises broadcaster payment metadata, and sends viewer USDC tips. Streams are announced and discovered through Nostr NIP-53 events built in src/nostr/, and p2p/peer-control.js adds allowlist, blocklist, and relay-preference controls alongside exportable JSON/CSV debug reports.

events
tags
builder bio

give me a second, I'm trying something.

team · solo

1 (Solo) — Zafer Ozsoy

on xx/citlayik
last pushed 2026-06-24