The Lightweight, High-Performance Torrent Streaming CLI for VLC and IINA
- 🚀 Blazing Fast: Stream torrents instantly—no need to wait for full downloads!
- 🦋 Lightweight & Efficient: Minimal memory usage and optimized chunk streaming.
- 📺 Media Player Ready: Seamlessly integrates with VLC and IINA players.
- 🛠️ Cross-Platform: Supports Windows, Linux, and macOS.
- 🌎 Magnet & Torrent Support: Stream from magnet links or
.torrentfiles.
- 🔄 Auto Updates: Automatically checks and updates itself.
- 📈 Real-time TUI: Interactive terminal UI showing real-time progress, speed, and ETA.
Visit the Releases page to download binaries for Linux, Windows, or macOS.
Ensure you have Go installed:
git clone https://github.com/zorig/gopeerflix.git
cd gopeerflix
go build -o gopeerflix ./cmd./gopeerflix [magnet-link | torrent-file] --vlc
# or
./gopeerflix [magnet-link | torrent-file] --iinaStream from a magnet link:
./gopeerflix "magnet:?xt=urn:btih:yourmagnetlinkhere" --vlc
# or
./gopeerflix "magnet:?xt=urn:btih:yourmagnetlinkhere" --iinaOr stream from a local torrent file:
./gopeerflix ./myvideo.torrent --vlc
# or
./gopeerflix ./myvideo.torrent --iinaEnsure VLC is installed:
- Linux:
sudo apt install vlc- macOS:
brew install vlc- Windows Download VLC
GoPeerflix automatically opens VLC for instant streaming.
Install IINA via Homebrew:
brew install --cask iinaLaunch IINA automatically with the --iina flag when streaming on macOS.
- Efficient Buffering: Low memory footprint.
- Direct Chunk Streaming: Streams immediately without full downloads.
- Connection Management: Limited torrent connections for optimized performance.
- HTTP Range Requests: Smooth seeking and playback.
Contributions are welcome! Please fork, submit pull requests, or open issues if you encounter bugs or have suggestions.
🌟 Star the Project! If you find this useful, please ⭐️ star the repository—it helps keep me motivated!
MIT License