Skip to content

peerflix-server

Node.js torrent streaming client with a web interface you run on your own machine or

Permissive (OSI) · MIT

Listed by , founder & editor

54

Health

Slowing

Overview

Stars

1,314

Last commit

15 days ago

Nov 2026

Repository age

12 years

since Apr 2014

Latest version

v0.6.0

Jul 2021

Contributors

–

3 active in 90 days

Releases

0

last 12 months

Docker pulls

73k

asapach/peerflix-server

Language

JavaScript

peerflix-server is a streaming torrent client written in JavaScript for Node.js. You add torrents through a web page, and it downloads and serves the content so you can start watching before the transfer finishes. It builds on torrent-stream and takes its idea from the peerflix command line tool.

You install it globally with npm, start the peerflix-server command, and open port 9000 in a browser. A config.json file lets you change options such as the number of connections and the temporary storage folder. Those options are passed to every torrent-stream instance. The list of torrents is saved in torrents.json, and you can move both files by setting an environment variable. You can change the port the same way. For long-running use, you can start it as a daemon with forever, and a Docker image is available. A REST API is documented for scripting.

It is a small, self-hosted tool under the MIT license. It does not target a specific commercial product, but it fills the role of a streaming-first torrent client with a browser front end on a home server.

Who it's for

Home server owners who stream media from a headless box

The web UI and daemon mode let you add torrents and watch them from any browser on your network.

Skip if: You want a full media library with metadata, subtitles and user accounts.

Node.js developers building torrent tooling

It exposes a REST API and builds on torrent-stream, so you can script it or extend it.

Skip if: You need a maintained client with broad protocol features such as RSS automation.

Docker users who want a lightweight torrent web client

An official Docker image exists, and configuration comes down to one JSON file.

Skip if: You need built-in password protection without adding a reverse proxy.

The problem it solves

Most torrent clients make you wait for a download to finish before you can play it, and many run only as desktop apps. peerflix-server lets you start playback while the download runs and control it from a browser on another device.

Strengths

  • Streams content while it downloads, so playback can begin early
  • Browser interface on port 9000 after a single npm install
  • MIT license with a Docker image and a documented REST API
  • Config and state paths and the port are set with environment variables
  • Active repository with commits in November 2026

Trade-offs

  • Password protection is not built in
  • No tagged release in the last year; latest version is v0.6.0
  • Only a few settings are exposed through config.json
  • Small contributor base, with three active in the last 90 days

Self-host peerflix-server

Self-hostable
Yes
Docker image
asapach/peerflix-server

Frequently asked questions

Is peerflix-server free?

Yes. It is released under the MIT license, so you can use and modify it at no cost.

Can I run it in Docker?

Yes. A Docker image is available, and the project documents Docker use in a separate guide.

How do I change the port?

Set the PORT environment variable before starting peerflix-server. The default is 9000.

Where does it store its state?

The torrent list is kept in torrents.json. By default, config and state live in the .config/peerflix-server folder in your home directory, and PEERFLIX_CONFIG_PATH changes that.

Similar tools in Media streaming servers

Rapidbay

Media streaming servers

Self-hosted web app that streams torrent video to browsers, Chromecast, AppleTV and Kodi

913 56 yesterday Active MIT

Euterpe

Media streaming servers

Self-hosted music streaming server in a single Go binary with a built-in web player

573 49 11 months ago Dormant GPL-3.0

ErsatzTV

Media streaming servers

Self-hosted server that turns your media library into live IPTV channels with a program

3.1k 223 today Thriving Zlib

NymphCast

Media streaming servers

Receiver software that turns a Raspberry Pi or similar into an audio and video cast target

2.6k 84 10 months ago Dormant BSD-3-Clause

Audio Share

Media streaming servers

Streams a Windows or Linux PC's audio to an Android phone over your network

2.2k 135 2 years ago Dormant Apache-2.0