Skip to main content

Crosspost RSS Feed to Bluesky

Project description

R2B

RSS TO BLUESKY

Crosspost entries from RSS Feed to Bluesky.

TIP Every Mastodon account has an RSS feed :)

Installation

$ pip install rss2bsky

# OR

$ git clone https://github.com/rochacbruno/rss2bsky
$ python -m pip install ./rss2bsky

Configuration

The configuration uses dynaconf so it can be configured by putting variables on settings.toml file or **alternatively exporting to environment variables prefixed with R2B

toml

FEED_URL = "https://YOUR_FEED_URL"
HANDLE = "you.bsky.social"
PASSWORD = "your-app-password"
START_POST_DATE = "Mon, 29 Sep 2024 23:59:59 +0100"

env

R2B_FEED_URL="https://YOUR_FEED_URL"
R2B_HANDLE="you.bsky.social"
R2B_PASSWORD="your-app-password"
R2B_START_POST_DATE="Mon, 29 Sep 2024 23:59:59 +0100"

Usage

Choose one of the options that fits your environment.

$ pip install rss2bsky
$ r2b
# Python module directly
$ python -m rss2bsky
# UVX
$ uvx --from rss2bsky r2b

# UV
$ uv run r2b

Or directly after cloning the repo.

$ python -m rss2bsky
starting loop with https://go.rocha.social/@bruno/feed.rss
Processing 20
skipped https://go.rocha.social/@bruno/statuses/01J8N5DZMN7HME5XD1V67Z699Q, already posted
Posting https://go.rocha.social/@bruno/statuses/01J8NJBXSBQ8NFVCB9GHNY0W7C, to bluesky

Or just calling it

$ python rss2bsky/main.py

Or using env vars

R2B_HANDLE=foo.bsky.app R2B_PASSWORD=batata-123 R2B_FEED_URL=https://foo.bar.rss r2b

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

rss2bsky-0.1.0.tar.gz (58.7 kB view details)

Uploaded Source

Built Distribution

rss2bsky-0.1.0-py3-none-any.whl (28.2 kB view details)

Uploaded Python 3

File details

Details for the file rss2bsky-0.1.0.tar.gz.

File metadata

  • Download URL: rss2bsky-0.1.0.tar.gz
  • Upload date:
  • Size: 58.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.14

File hashes

Hashes for rss2bsky-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7f1dde43b87589a8888820c5a70ecb5ee7061ceac91de8492949c7874e3e9456
MD5 5e080001a500f05e449224a80a7bf011
BLAKE2b-256 d01afb7e3646fd6fc3d84e9bf2666580747d4409d56c894befee2c5da5b0c0aa

See more details on using hashes here.

File details

Details for the file rss2bsky-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: rss2bsky-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 28.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.14

File hashes

Hashes for rss2bsky-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 46b2c52347db4153bcf693e3a4a1ed21226e32023a36f9edd58c3a33f1189214
MD5 ad5f510b0c77e01f4ff5f9482d7df27c
BLAKE2b-256 1bffbb5b65bf4600f0f78fb23e8a056a57994a89c19e639f3f35ee4df7e92c08

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