Streaming torrent client for node.js with web ui.
Based on torrent-stream, inspired by peerflix.
npm install -g peerflix-server
peerflix-server
- Open your browser at http://localhost:9000/
- Enjoy!
You can configure the application using ~/.config/peerflix-server/config.json
file (doesn't exist by default).
The options are passed to all torrent-stream instances.
Here's an example that overrides the defaults:
{
"connections": 50,
"tmp": "/mnt/torrents"
}
You can also change the default port by setting PORT
environment variable:
PORT=1234 peerflix-server
# or on windows
SET PORT=1234
peerflix-server
The application stores its current state (list of torrents) in ~/.config/peerflix-server/torrents.json
full exapmle for ~/.config/peerflix-server/config.json
{
"connections":100,
"path":"/home/userXXX/downloads/peerflix_server",
"dht":true,
"tracker":true,
"trackers":[
"udp://tracker.coppersurfer.tk:6969/announce",
"udp://9.rarbg.to:2710/announce",
"udp://9.rarbg.me:2710/announce",
"udp://tracker.opentrackr.org:1337/announce",
"udp://tracker.openbittorrent.com:80/announce",
"udp://tracker.leechers-paradise.org:6969/announce",
"udp://tracker.internetwarriors.net:1337/announce",
"udp://exodus.desync.com:6969/announce",
"udp://open.demonii.si:1337/announce",
"udp://tracker.tiny-vps.com:6969/announce",
"udp://retracker.lanta-net.ru:2710/announce",
"udp://bt.xxx-tracker.com:2710/announce",
"udp://open.stealth.si:80/announce",
"udp://tracker4.itzmx.com:2710/announce",
"udp://tracker.torrent.eu.org:451/announce",
"udp://tracker.cyberia.is:6969/announce",
"udp://denis.stalker.upeer.me:6969/announce",
"udp://torrentclub.tech:6969/announce",
"udp://tracker.moeking.me:6969/announce",
"udp://explodie.org:6969/announce"
]
}
- 有人做了汉化:peerflix-server-zh
If you want to run peerflix-server as a daemon, you can do it using forever:
npm install -g forever
forever start $(which peerflix-server)
You might also want to enable logging -- see the docs.
How do I add password protection?
See Development.md
See REST.md
See Docker.md