This commit is contained in:
Amit Serper 2023-12-04 21:38:37 -05:00
parent c6c7e12a24
commit ccfc89ee5b

View File

@ -1,21 +1,16 @@
# Masto-rss # Masto-rss
A simple Mastodon bot written in python that posts updates from an RSS feed to a Mastodon account. 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: 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_ID = Mastodon client ID MASTODON_CLIENT_SECRET = <Mastodon client secret>
MASTODON_ACCESS_TOKEN = <Mastodon access token>
MASTODON_CLIENT_SECRET = Mastodon client secret MASTODON_INSTANCE_URL = <Mastodon instance URL>
RSS_FEED_URL = <URL of RSS/xml feed>
MASTODON_ACCESS_TOKEN = Mastodon access token The best way to use this project is by using [its docker container](https://hub.docker.com/r/amitserper/masto-rss)
MASTODON_INSTANCE_URL = Mastodon instance URL
RSS_FEED_URL = URL of RSS/xml feed
CHECK_INTERVAL = Time in seconds to refresh RSS feed
![image](https://github.com/aserper/masto-rss/actions/workflows/masto-rss.yml/badge.svg) ![image](https://github.com/aserper/masto-rss/actions/workflows/masto-rss.yml/badge.svg)