If you came here from Mastodon, I’m sorry I’ve spammed you on Feb 26 around 9pm Pacific. This page tells a fun story or a serious root cause analysis document depending how you look at it.
Yesterday I’ve tried to relay feed from this blog using Mastofeed but for some reason it was complaining about my RSS feed being not reachable. As a software engineer it decided to write it myself, how difficult it could be, right?
So I’ve put together some python and started hacking. During the debug I didn’t
realize that I had a working software so I left my personal MASTODON_TOKEN
in the .env
file
while the TEST
mode was on.
Obviously this condition couldn’t come as true any more and while I was shockingly looking at the logs to understand what is happening.
As a bonus, here’s sample .env
file that could work for your installation:
UV_LINK_MODE=copy
MASTODON_ACCESS_TOKEN=<Your Mastodon Token Here>
MASTODON_URL=https://yourmastodoninstance.here
DATA_FILE=/app/data.csv
BOT_IMAGE=ghcr.io/paulchubatyy/paulchubatyy/relaydon:latest
and example data file:
https://xobb.me/rss.xml,2019-01-15T00:00:00
https://example.com/rss.xml
Now to subscribe to RSS feeds one needs to add them to the file. Next column will be updated by the application once the new post shows up with published data after the one mentioned.
I’ve deployed it on my Poor Man PaaS and if this shows up in your feed then it worked.