masto-rss/README.md

21 lines
717 B
Markdown
Raw Normal View History

2023-12-05 02:11:43 +00:00
# Masto-rss
A simple Mastodon bot written in python that posts updates from an RSS feed to a Mastodon account.
2023-12-05 02:29:30 +00:00
Updates from the RSS feeds that were already posted will be saved to "processed_entries.txt" to prevent double posting.
2023-12-05 02:11:43 +00:00
This project is meant to be built to a docker container, so all of the options need to be set as environment variables:
2023-12-05 02:28:20 +00:00
MASTODON_CLIENT_ID = Mastodon client ID
2023-12-05 02:11:43 +00:00
2023-12-05 02:28:20 +00:00
MASTODON_CLIENT_SECRET = Mastodon client secret
2023-12-05 02:11:43 +00:00
2023-12-05 02:28:20 +00:00
MASTODON_ACCESS_TOKEN = Mastodon access token
2023-12-05 02:11:43 +00:00
2023-12-05 02:28:20 +00:00
MASTODON_INSTANCE_URL = Mastodon instance URL
2023-12-05 02:11:43 +00:00
2023-12-05 02:28:20 +00:00
RSS_FEED_URL = URL of RSS/xml feed
2023-12-05 02:24:42 +00:00
2023-12-05 02:28:20 +00:00
CHECK_INTERVAL = Time in seconds to refresh RSS feed
2023-12-05 02:24:42 +00:00
![image](https://github.com/aserper/masto-rss/actions/workflows/masto-rss.yml/badge.svg)