Skip to main content

Scans a website's microformats and cross-posts content to 'silo' services.

Project description

SiloRider is a command-line utility that lets you implement the POSSE model on a website. This is how it works:

  • It reads your website’s main page (or whatever URL you supply) and looks for Microformats markup.

  • It reads a configuration file where you describe which “silos” (i.e. external services) you want to post your content to.

  • It reads a local cache file to figure out which content has already been posted where, so it only posts new content.

  • It actually posts that content to each silo.

Supported Silos

Right now, the following silos are supported:

  • Mastodon: an open, federated social network and microblogging service.

  • Twitter: a proprietary social network and microblogging service.

  • Print: a debug silo that just prints entries in the console.

Quickstart

SiloRider will need to read a configuration file in INI format. The minimum requirement is to define at least one “silo” using a silo:<name> section, and to specify the url to one of your personal websites:

[silo:my_mastodon]
type: mastodon
url: https://mastodon.social

[urls]
my_blog: https://your.website.com

This defines one Mastodon silo to which you want to cross-post entries from your blog at your.website.com.

You can then run:

silorider auth my_mastodon

This command will authenticate your Mastodon account and provide SiloRider with the permission to post to your timeline. The authorization tokens are stored in a cache file that defaults to silorider.db, next to the configuration file. Later, this cache will also contain the list of entries already posted to each silo.

Once authenticated, you can run:

silorider populate

This will populate the cache with the existing entries, since you probably don’t want the first run of SiloRider to cross-post your last dozen or so entries in one go.

Later, when you post something new, you can then run:

silorider process

This will pick up the new entries and post them to Mastodon. You can run this command again regularly… if there’s something new, SiloRider will cross-post it to the configured silos. If not, it will just exit.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

SiloRider-0.2.0.tar.gz (49.2 kB view details)

Uploaded Source

Built Distribution

SiloRider-0.2.0-py3-none-any.whl (26.3 kB view details)

Uploaded Python 3

File details

Details for the file SiloRider-0.2.0.tar.gz.

File metadata

  • Download URL: SiloRider-0.2.0.tar.gz
  • Upload date:
  • Size: 49.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.3

File hashes

Hashes for SiloRider-0.2.0.tar.gz
Algorithm Hash digest
SHA256 044eb4d5fd9e1139f60f5967c02081feff2cd30dcd0e9a19b8c103ed51eef265
MD5 4b92035775f6cb171c5328731dd0f7f5
BLAKE2b-256 aedf1202919135af320e33929e1094b77952131c8a573cb27faa90407822cd63

See more details on using hashes here.

File details

Details for the file SiloRider-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: SiloRider-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 26.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.3

File hashes

Hashes for SiloRider-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5592a67db82503a95913d20bc150b76cc2e4f365e797b83ee79d4b74bd42c4cd
MD5 b45058c9982ca9f4949d17550eff922e
BLAKE2b-256 fd700d3ade7b0ade58be37175c3129408c320418436e1e30ba242c66ea8e473c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page