Skip to content

a script to fetch new posts items from an rss feed every 15 minutes and post the new items to bluesky

License

Notifications You must be signed in to change notification settings

benborges/rss-to-bluesky

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rss-to-bluesky

a script to fetch new posts items from an rss feed every 15 minutes and post the new items to bluesky

How-to

cp .env-example .env

prepare the .env file with your

  • hosts, username
  • app password
  • RSS feed

pip install -r requirements.txt

Run

python3 rss-to-bluesky.py

known bugs

  • {'error': 'InvalidRequest', 'message': 'Invalid app.bsky.feed.post record: Record/text must not be longer than 300 graphemes'}

  • Error fetching the website (when embed is enabled) {'error': 'InvalidRequest', 'message': 'Invalid app.bsky.feed.post record: Record/embed/external must be an object'}

  • 5 minutes might be too short for most RSS feeds, if/when no new posts the code output the last item, it should not! known items should not be posted twice.

Credit / Inspiration

https://github.com/yuki2021/rss_to_bluesky_post

About

a script to fetch new posts items from an rss feed every 15 minutes and post the new items to bluesky

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages