# gitsummore/nile.js

Scalable peer to peer live video streaming built on torrents and webRTC

Repository: https://github.com/gitsummore/nile.js
Canonical: https://ross.abutalabs.com/products/nilejs
Homepage: https://nilejs.com/
Language: JavaScript
License: MIT
License Family: permissive
Topics: webtorrent, webrtc, livestream, distributed, peer-to-peer, torrent
Archived: true
Last push: 2018-11-14T19:41:36+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3416, "days_push": 2849, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1755, forks 100 (observed 2026-08-28T04:05:32.082903+00:00)

## What it is
nile.js is a JavaScript library for scalable peer-to-peer live video streaming built on WebTorrent and WebRTC. It provides Express middleware for the server plus Broadcaster and Viewer client modules that share live video as sequential torrent segments.

## Use cases
- stream live video from a webcam to many viewers without heavy server bandwidth
- build a p2p livestreaming app on top of WebTorrent
- let viewers rewind to earlier parts of a live stream via torrent segments
- distribute video load across peers using magnet links
- add live streaming middleware to an existing Express server

## When to choose
- you want decentralized live video streaming where peers share the bandwidth
- your stack is Node.js/Express on the server and browser JavaScript on the client
- viewers need access to earlier portions of the stream

## When to avoid
- you need a maintained, production-ready solution (the project is explicitly unmaintained since 2018)
- you need low-latency streaming, since torrent-based segments add delay
- you cannot use WebRTC/WebTorrent in your target environment

## Facets
- artifact type: library
- maturity: abandoned
- function: websocket, middleware, video-processing, http-server
- domain: web-development, media, microservices
- platform: browser
- tags: p2p, livestreaming, webtorrent, webrtc, torrent, video-streaming, real-time, nodejs, javascript

## Member repositories
- gitsummore/nile.js (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:32.082903+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:28:01.412055+00:00, confidence not recorded.
  - readme: https://github.com/gitsummore/nile.js (fetched 2026-08-28T04:05:32.082903+00:00, sha 028131403fe3)
  - registry_npm: https://registry.npmjs.org/nile.js (fetched 2026-08-29T11:06:19.072952+00:00, sha 761cd75f0498)
- Data as of 2026-08-30T08:39:29.467469+00:00.
