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:
Installation
You can install SiloRider like any other Python tool:
pip install silorider
You can then check it installed correctly with:
silorider -h
You can also install from source by cloning the Git or Mercurial repository and running:
pip install -e /path/to/silorider/repo
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file SiloRider-0.2.1.tar.gz
.
File metadata
- Download URL: SiloRider-0.2.1.tar.gz
- Upload date:
- Size: 71.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1dfe2943f63dc3840d65fc41ae1d329a9fea48303a034c384a18360cbc630977 |
|
MD5 | fc553645905a2cb9fa4b559371d36e98 |
|
BLAKE2b-256 | 5a2ace8910b4586ba8d07cc64ab580e92a2601c0c1411ca5f2709174f94fa27c |
File details
Details for the file SiloRider-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: SiloRider-0.2.1-py3-none-any.whl
- Upload date:
- Size: 116.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96a366acd325ddc5836eb25c97988d4598a4bd5710865ae533c02d4a8d0420c4 |
|
MD5 | c38e16649d6672bd0a1e91f5a94e0213 |
|
BLAKE2b-256 | 465f2ff4776ecd0aab9d969234356843ebe9fd622002f1e6c92309ce83c63572 |