peerflix is a Node.js-based streaming torrent client that lets you stream video or audio files directly from a torrent (magnet link or .torrent file), without needing to wait for the entire download to finish. It spins up a small HTTP server that serves the torrent’s content as it’s downloaded; for example, if you point a media player (like VLC or MPV) to the provided URL, it will start playing almost immediately. Peerflix automatically selects the largest file in a multi-file torrent by default (or can list all files for manual selection), and supports passing arbitrary flags to the media player — letting you stream with subtitles, full-screen mode, or other player-specific options. Because it's built on the torrent peer network, it downloads pieces on demand as playback proceeds, which can be more efficient if you only want to watch a single file. Peerflix also exposes programmatic API usage using underlying low-level torrent-streaming logic.

Features

  • Stream video or audio from a torrent (magnet link or .torrent) directly to a media player via HTTP streaming
  • Automatic selection of the largest file (or manual list selection) in multi-file torrents
  • Support for media player flags (subtitles, fullscreen, custom options) when launching playback
  • On-demand downloading of pieces during playback rather than full prior download
  • Exposed API allowing embedding of torrent-streaming logic into custom Node.js applications
  • Command-line interface for easy use with minimal setup

Project Samples

Project Activity

See All Activity >

Categories

BitTorrent

License

MIT License

Follow peerflix

peerflix Web Site

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of peerflix!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript BitTorrent Client

Registered

2025-12-04