A re-entrant, resilient link-checker for Del.icio.us power-users
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
.gitignore
README.markdown
credentials.example.yml
rubunkulous.gemspec

README.markdown

Rubunkulous!

A reentrant link-checker for delicious power-users, stress-tested with 50x the average user's no. of links.

To install:

    sudo gem install rubunkulous -s http://gemcutter.org

Features

  • Dead links are persisted in a Moneta cache for you to deal with as you please, e.g.

     xattr .moneta_cache/xattr_cache | xargs -n1 -I foo curl "http://api.delicious.com/delete?url=foo"
    
  • Fully stateful / self-healing; the last-checked link and any failed links are cached in the Moneta store for lossless reentrance.

  • Delicious API responses cached locally so they need only be retrieved once.

Usage

  1. enter your delicious username and password into credentials.yml
  2. ./rubunkulous.rb

Rubunkulous is designed to perform well despite network errors, curl timeouts, etc. If it dies due to an uncaught exception (it shouldn't), just restart it and it will pick up where it left off.

Todo

  • cool animated progress indicator - DONE!
  • use /posts/recent and /posts/update to do smarter change-detection to avoid re-fetches as new links are added. (/posts/all?hashes also exists but doesn't look useful in this situation, since we only want new appends to the head of the stack)
  • test SAX parsing to see if it's a faster load
  • explore pipelining more link fetches in parallel (will require synchronized lock on link cursor)