Skip to main content

R2B

RSS TO BLUESKY

Crosspost entries from RSS Feed to Bluesky.

TIP Every Mastodon account has an RSS feed :)


NOTE This project was created specifically for GoToSocial RSS feed format, if you implement support for other feed format please send a PR

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
$ rss2bsky

Or setting vars directly

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

Alternative usages

# Python module directly
$ python -m rss2bsky
# UVX
$ uvx rss2bsky

Output

Success

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
...

Config error

dynaconf.validator.ValidationError: FEED_URL is required in env main

Auth error

atproto_client.exceptions.UnauthorizedError: Response(success=False, status_code=401, ...)

Metadata

Release files for rss2bsky 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rss2bsky 0.1.4
File Size Uploaded Provenance Actions
rss2bsky-0.1.4.tar.gz 84.2 kB Without provenance Details for rss2bsky-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rss2bsky 0.1.4
File Interpreter ABI Platform Actions
rss2bsky-0.1.4-py3-none-any.whl Python 3 none any Details for rss2bsky-0.1.4-py3-none-any.whl

Total release size: 112.7 kB

Release files / rss2bsky-0.1.4.tar.gz

Download URL rss2bsky-0.1.4.tar.gz
Size 84.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ce122f150c7683079c9b0e4ea027cf57e22ada7dc964b6cac0c42e9ce7144e72
BLAKE2b-256 checksum
How to use checksums
e47a75dae9591b2291f4b17be01f4466e8223c8543a419a626c270e8819e0563
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.14

Release files / rss2bsky-0.1.4-py3-none-any.whl

Download URL rss2bsky-0.1.4-py3-none-any.whl
Size 28.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
812470747511fc796d356110a54648adf6c4b43ad56d242063371fb83d51b93c
BLAKE2b-256 checksum
How to use checksums
a38249f0c2570b68ab66ff52a93cd1cbf43280197cb7bad1f2e486dbdf1cb50b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.14

Security for rss2bsky 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page