A Mastodon bot that posts RSS updates to a Mastodon account
Go to file
2024-02-11 14:50:14 -06:00
.github/workflows github action 2023-12-04 20:57:08 -05:00
.gitignore gitignore 2023-12-04 20:52:31 -05:00
Dockerfile Smaller docker image 2023-12-05 13:36:48 -05:00
LICENSE Create LICENSE 2023-12-06 13:03:19 -05:00
main.py FUCK 2024-02-11 14:44:56 -06:00
README.md updated readme 2024-02-11 14:50:14 -06:00
requirements.in requirements.in 2024-01-04 20:03:56 -05:00
requirements.txt More accurate requirements.txt 2024-01-04 20:02:49 -05:00

Masto-rss

A simple Mastodon bot written in python that posts updates from an RSS feed to a Mastodon account. 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

TOOT_VISIBILITY = 'public', 'unlisted', 'private', or 'direct'

TAG1(2,3) = #hastag

When using env variables TAG1, TAG2, and TAG3, you can only use a single tag and the hash cannot be preceded by a space. This is a limitation of the way linux environment variables work.

The best way to use this project is by using its docker container When using docker, make a bind mount between /state on the container to whatever directory you want on your machine in order to keep the state of the feeds that were already posted image