Guillem Hernandez Sola 9faabf48d0 Added new yml
2026-03-30 17:54:40 +02:00
2026-03-30 17:26:59 +02:00
2026-03-29 18:25:29 +02:00
2026-03-29 17:44:14 +02:00
2026-03-29 17:44:14 +02:00
2026-03-29 17:44:14 +02:00
2026-03-29 17:44:14 +02:00
2026-03-29 17:44:14 +02:00
2026-03-30 17:54:40 +02:00

RSS to Bluesky - in Python

This is a proof-of-concept implementation for posting RSS/Atom content to Bluesky. Some hacking may be required. Issues and pull requests welcome to improve the system.

Built with:

  • arrow - Time handling for humans
  • atproto - AT protocol implementation for Python. The API of the library is still unstable, but the version is pinned in requirements.txt
  • fastfeedparser - For feed parsing with a unified API
  • httpx - For grabbing remote media

Features:

  • Deduplication: The script queries the target timeline and only posts RSS items that are more recent than the latest top-level post by the handle.
  • Filters: Easy to extend code to support filters on RSS contents for simple transformations and limiting cross-posts.
  • Minimal rich-text support (links): Rich text is represented in a typed hierarchy in the AT protocol. This script currently performs post-processing on filtered string content of the input feeds to support links as long as they stand as a single line in the text. This definitely needs some improvement.
  • Threading for long posts
  • Tags
  • Image references: Can forward image links from RSS to Bsky

Usage and configuration

  1. Start by installing the required libraries pip install -r requirements.txt
  2. Copy the configuration file and then edit it cp config.json.sample config.json
  3. Run the script like python rss2bsky.py

The configuration file accepts the configuration of:

  • a feed URL
  • bsky parameters for a handle, username, and password
    • Handle is like name.bsky.social
    • Username is the email address associated with the account.
    • Password is your password. If you have a literal quote it can be escaped with a backslash like \"
  • sleep - the amount of time to sleep while running
Description
No description provided
Readme GPL-3.0 1.5 MiB
Languages
Python 98.8%
Shell 1.2%