0.21.0 • Published 3 years ago

porla v0.21.0

Weekly downloads
2
License
MIT
Repository
github
Last release
3 years ago

Porla

Porla is a programmable BitTorrent client built for seedboxes and servers. It has a feature-rich API allowing users to customize their Porla instance as they wish.

Porla is currently in its early days - the documentation may be sparse.

:information_source: Requires Node.js v10.

Features

  • Built with native bindings to Rasterbar-libtorrent to provide great performance and low memory-cost.
  • Easy-to-use API allows users to write plugins and scripts to customize and extend Porla.
  • (Optionally) keep Porla in a (D)VCS to track of changes you make.

Getting started

The easiest way to get started is to use npm init.

  • $ npm init porla

Setting up an instance from scratch

Want to do it the old fashioned way? No problem!

  • $ npm install --save porla @porla-contrib/autoadd
const porla   = require('porla');
const autoadd = require('@porla-contrib/autoadd');

const app = porla({
    plugins: [
        // Set up the autoadd plugin to watch a folder for torrents. Any
        // torrent added here is added to Porla.
        autoadd('/mnt/storage/torrents'),
    ],

    // The default save path where new downloads are saved.
    savePath: '/mnt/storage/downloads'
});

app.on('torrent.finished', ({ torrent }) => [
    // Add event handlers for the torrent.finished event here. Perhaps send a
    // notification or execute another application?
    sendMessage(`Torrent ${torrent.name} finished.`)
]);

Next steps

0.21.0

3 years ago

0.20.0

4 years ago

0.19.0

4 years ago

0.18.0

4 years ago

0.17.0

4 years ago

0.16.0

4 years ago

0.15.0

4 years ago

0.14.0

4 years ago

0.5.0

7 years ago

0.4.0

7 years ago

0.3.0

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago

0.0.1

7 years ago