Go to file
robin 61ac46ccf0 „README.md“ ändern 2023-04-16 17:49:38 +02:00
data add secret store 2022-05-15 10:19:26 +02:00
log add log directory 2022-05-15 10:06:33 +02:00
.gitignore Add test values for additional settingfiles 2023-04-16 16:57:13 +02:00
README.md „README.md“ ändern 2023-04-16 17:49:38 +02:00
f_run_once.py add functions to only run once and catch keyboard interrupt 2022-05-15 12:25:42 +02:00
f_sigint.py add functions to only run once and catch keyboard interrupt 2022-05-15 12:25:42 +02:00
main.py Add commandline option to run with different settingsfiles 2023-04-16 16:55:10 +02:00
settings.py.sample Fix user_path extra letter 2022-05-15 11:12:43 +02:00

README.md

grmlfeedbot

This bot parses newsfeeds and posts them to a mastodon account

install

apt install python3-mastodon 
apt install python3-feedparser 
git clone https://git.grml.de/robin/python-grmlfeedbot.git 

setup

cd python-grmlfeedbot
cp settings.py.sample settings.py 

Edit settings.py for your setup

run

Run once (reads from settings)

python3 main.py 

Run once with different settingsfile (you need a log and data directory for each settingsfile)

python3 main.py --settingsfile settings2

Keep running with a delay (default = 3600)

python3 main.py --daemon --delay 3600