https://github.com/zorig/gopeerflix
Peerflix in Go POC
https://github.com/zorig/gopeerflix
Last synced: 3 months ago
JSON representation
Peerflix in Go POC
- Host: GitHub
- URL: https://github.com/zorig/gopeerflix
- Owner: Zorig
- License: mit
- Created: 2025-03-10T07:06:18.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-03-10T08:04:08.000Z (3 months ago)
- Last Synced: 2025-03-10T08:26:52.110Z (3 months ago)
- Language: Go
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ๐ GoPeerflix
> **The Lightweight, High-Performance Torrent Streaming CLI for VLC**
[](https://github.com/zorig/gopeerflix/releases)
[](https://github.com/zorig/gopeerflix/actions)
---
## โจ Features
- ๐ **Blazing Fast:** Stream torrents instantlyโno need to wait for full downloads!
- ๐ฆ **Lightweight & Efficient:** Minimal memory usage and optimized chunk streaming.
- ๐บ **VLC Ready:** Seamlessly integrates with VLC media player.
- ๐ ๏ธ **Cross-Platform:** Supports Windows, Linux, and macOS.
- ๐ **Magnet & Torrent Support:** Stream from magnet links or `.torrent` files.## Planning to implement
- ๐ **Auto Updates:** Automatically checks and updates itself.
- ๐ **Real-time TUI:** Interactive terminal UI showing real-time progress, speed, and ETA.---
## ๐ฆ Installation
### ๐ฅ Download Pre-Built Binaries
Visit the [Releases](https://github.com/zorig/gopeerflix/releases) page to download binaries for Linux, Windows, or macOS.
### ๐ ๏ธ Build from Source
Ensure you have [Go installed](https://golang.org/dl/):
```bash
git clone https://github.com/zorig/gopeerflix.git
cd gopeerflix
go build -o gopeerflix ./cmd
```## ๐ฉ Usage
```sh
./gopeerflix [magnet-link | torrent-file] --vlc
```### ๐ฌ Example
Stream from a magnet link:
```sh
./gopeerflix "magnet:?xt=urn:btih:yourmagnetlinkhere" --vlc
```Or stream from a local torrent file:
```sh
./gopeerflix ./myvideo.torrent --vlc
```---
### ๐บ VLC Integration
Ensure VLC is installed:
- Linux:
```sh
sudo apt install vlc
```- macOS:
```sh
brew install vlc
```- Windows
[Download VLC](https://www.videolan.org/vlc/download-windows.html)GoPeerflix automatically opens VLC for instant streaming.
### โก Performance Optimizations
- 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.### ๐จ Contributing
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!### ๐ License
MIT License