wyrm-torrent

1.0.2 • Public • Published

Wyrm

Wyrm

Wyrm is a simple remote controlled torrent client. You can control an instance by using simple HTTP requests.

Usage

Seed a new file or folder

POST /seed {"path": "/path/to/files"}

List all torrents

GET /list

Add a new torrent

POST /add/:infoHash

POST /add {"torrent": "magnet link, torrent file path or infoHash"}

Delete a torrent

DELETE /delete/:infoHash

Get information about a torrent

GET /info/:infoHash

Which returns something like:

{
    "name":"Leaves of Grass by Walt Whitman.epub",
    "infoHash":"d2474e86c95b19b8bcfdb92bc12c9d44667cfa36",
    "timeRemaining":0,
    "received":378401,
    "downloaded":362017,
    "uploaded":0,
    "progress":1,
    "length":362017,
    "ratio":0,
    "numPeers":1,
    "path":"/tmp/wyrm/d2474e86c95b19b8bcfdb92bc12c9d44667cfa36"
}

Readme

Keywords

none

Package Sidebar

Install

npm i wyrm-torrent

Weekly Downloads

1

Version

1.0.2

License

MIT

Last publish

Collaborators

  • igi-111