A Mastodon bot that posts RSS updates to a Mastodon account
Go to file
Amit Serper c6c7e12a24 readme
2023-12-04 21:29:30 -05:00
.github/workflows github action 2023-12-04 20:57:08 -05:00
.gitignore gitignore 2023-12-04 20:52:31 -05:00
Dockerfile Docker stuff 2023-12-04 20:58:27 -05:00
main.py casting 2023-12-04 21:18:35 -05:00
README.md readme 2023-12-04 21:29:30 -05:00
requirements.txt Docker stuff 2023-12-04 20:58:27 -05:00

Masto-rss

A simple Mastodon bot written in python that posts updates from an RSS feed to a Mastodon account. Updates from the RSS feeds that were already posted will be saved to "processed_entries.txt" to prevent double posting.

This project is meant to be built to a docker container, so all of the options need to be set as environment variables:

MASTODON_CLIENT_ID = Mastodon client ID

MASTODON_CLIENT_SECRET = Mastodon client secret

MASTODON_ACCESS_TOKEN = Mastodon access token

MASTODON_INSTANCE_URL = Mastodon instance URL

RSS_FEED_URL = URL of RSS/xml feed

CHECK_INTERVAL = Time in seconds to refresh RSS feed

image