You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 30 Next »

Page index
  1. Overview
  2. Installing
  3. Configuration
    1. Stand-alone configuration
    2. Lobber web app configuration


A lobber storage node is essentially a standard BitTorrent client with a very thin layer used to receive notification about new and modified torrents. A lobber storage node is provided as a twisted plugin and is installed from the python package index. Currently the twisted plugin works with transmission - a popular, cross-platform BitTorrent client. Other BT clients may be supported in the future.


The examples below assume a debian/ubuntu environment. If you're running another unix-like or windows OS your milage may vary. Our goal is for lobber to run on a multitude of environments and operating systems. Please provide us with patches!

Install Transmission

We recommend installing transmission 2.03 or later. If you are using Ubuntu 10.04 you may have to install transmission from a PPA:

# apt-get install python-software-properties
# add-apt-repository ppa:transmissionbt/ppa
# apt-get update
# apt-get install transmission-cli transmission-daemon

At this point you should have a transmission daemon running after each reboot. Use the /etc/init.d/transmission-daemon tool to stop/start the service in the normal way.

Install lobber-storagenode

Install dependencies:

apt-get install python-pip python-setuptools python-twisted
pip install stompservice transmissionrpc feedparser

Download the tar archive lobber-storagenode-1.tar.gz or get the storage node from

git clone git://

Install the storagenode:

(for tar archive) tar xvzf lobber-storagenode-1-tar.gz
cd lobber-storagenode
python install

At this point twistd should have a new plugin registered. Verify this by running twistd --help and look for lobberstoragenode in the list of commands. If you see this then you're installation should be ok.

# twistd --help
    ftp                    An FTP server.
    telnet                 A simple, telnet-based remote debugging service.
    socks                  A SOCKSv4 proxy service.
    manhole-old            An interactive remote debugger service.
    portforward            A simple port-forwarder.
    lobberstoragenode      A Storage Node for Lobber
    web                    A general-purpose web server which can serve from a
                           filesystem or application resource.
    inetd                  An inetd(8) replacement.
    news                   A news server.
    xmpp-router            An XMPP Router server
    words                  A modern words server
    toc                    An AIM TOC service.
    dns                    A domain name server.
    mail                   An email service
    manhole                An interactive remote debugger service accessible via
                           telnet and ssh and providing syntax coloring and
                           basic line editing functionality.
    conch                  A Conch SSH service.

Running twistd lobberstoragenode --help gives you an overview of the options:

$ twistd lobberstoragenode --help
Usage: twistd [options] lobberstoragenode [options]
  -n, --standardNotifications      Add standard notificiation destinations
  -R, --register                   Register new torrents with lobber
  -a, --announceUrl=               Announce URL (tracker) to use for new
  -A, --acl=                       Access Control List to apply to new torrents
  -b, --dropbox=                   A directory to watch for new content
  -d, --torrentDir=                The directory where to store torrents
                                   [default: torrents]
  -D, --transmissionDownloadsDir=  The downloads directory for transmission
  -h, --lobberHost=                The host running both STOMP and https for
  -k, --lobberKey=                 The Lobber application key to use
  -p, --trackerProxyTrackerUrl=    Enable tracker proxying for given https
                                   tracker (HOST[:PORT])
  -P, --trackerProxyListenOn=      Adress to bind the tracker proxy to [default:
  -r, --removeLimit=               Remove torrent and data when this many other
                                   storage-nodes have the data (0=never remove)
                                   [default: 0]
  -S, --stompUrl=                  The STOMP protocol URL to use for
  -T, --transmissionRpc=           The RPC URL for transmission
      --help                       Display this help and exit.


Stand-alone storage node

First you will have to create a key with the right entitlements to be able to access the torrents you are interested in. You do this in the Lobber web app under Application Keys.

Find the configuration file config in the directory /etc/lobberstoragenode/.

You need to change the following options:



L_URLS=" ... ..."

L_URLS is a set of STOMP destinations and/or RSS feeds. Each destination is pulled regularly and each link is downloaded. If the downloaded data is a BitTorrent file it is stored in the --torrentDir directory and added to transmission.

By default (L_STDNOTIFY="True") the standalone storage node will listen to stomp://

STOMP destinations


What it gets you


Each newly created torrent


Each time a torrent is tagged


Each time a torrent is tagged with 'foo'


Each time the 'foo' tag is removed from a torrrent



What it gets you

All torrents readable by the current user (or key)

All torrents tagged with 'foo'

Start the storage node:

/etc/init.d/lobberstoragenode start

To make the storagenode start automatically start on reboot run:

update-rc.d lobberstoragenode defaults

Storage node for Lobber web application

To start a storage node to complement the Lobber web application you need first to create a key with the right entitlements and url filter via the web ui.

To make the storage node able to write in transmissions standard download directory you need to add the group debian-transmission to the www-data user.

usermod -G debian-transmission www-data

Find the configuration file config in the directory /etc/lobberstoragenode/.

You need to change the following options:



The L_KEY is the lobber application key you obtain from lobber. The L_HOST should be '' in order to use the Lobber Beta site and L_DROPBOXDIR is the path to a directory in your file system that will act as a dropbox. Any file or directory placed here will be uploaded to lobber and then removed.

Start the storage node:

/etc/init.d/lobberstoragenode start

To make the storagenode start automatically start on reboot run:

update-rc.d lobberstoragenode defaults
  • No labels