Spigot: Rate-limited feed aggregation to StatusNet

Spigot takes syndicated content feeds and posts them to StatusNet accounts at a limited rate. This way you can syndicate content to a StatusNet account without worrying about flooding the account when updates to the feed are frequent.

First you set up connections to one or more StatusNet accounts using OAuth or basic authentication. Then you add RSS or Atom feeds, specifying which account to post to, the maximum post frequency, and the format of the posted message. Each time spigot runs, it checks the feeds for new posts, and determines whether or not a new item should be posted based on the specified interval. Spigot can be run in a cron job (or manually) to make regular posts.

Spigot is inspired by Tricklepost and Brdcst.it.

Table of Contents

1 Requirements

2 Download

You can obtain spigot in one of two ways:

3 Installation

Spigot runs from its own working directory. If you have pip, you can install the requirements using pip install -r requirements.txt.

4 Running

The first time you run Spigot, it will prompt you to add at least one account and one feed. For further options, pleas run python spigot.py -h.

5 Credits

Spigot is (c) 2011-2012 by Nathan D. Smith. The statusnet module and portions of Spigot are based off of Identicurse.

6 License

Spigot is distributed under the terms of the GNU GPL version 3 or later.

7 FAQ

  • Where does Spigot store its configuration files and database?
    Spigot stores its configuration (spigot.json) and database (spigot.db) in the working directory from which it is invoked. If you are running Spigot from a cron job, you'll want to first cd into the directory containing these.
  • How often should I run Spigot?
    There are a couple factors which weigh on this. First, you want to run it often enough so that catches all of the posts in the feeds it is polling. For example, if you are polling a feed which lists 10 items and is updated about 5 times per hour, you need to run Spigot at least every 2 hours to catch all of those posts in its database.

    Second, you'll want to run Spigot more often than the shortest interval in your configuration. If you run spigot less often than the shortest interval, posts will effectively happen only as often as Spigot runs.

    In brief, Spigot should run more often than you want to actually post.

Date: 2012-10-29 21:57:22 PDT

HTML generated by org-mode 6.33x in emacs 23