Go to file
clerie 20857a5322 Clarify configuration 2019-06-01 00:41:12 +02:00
.gitignore Initial commit 2019-05-30 14:29:49 +02:00
README.md Clarify configuration 2019-06-01 00:41:12 +02:00
config.json.example Initial commit 2019-05-30 14:29:49 +02:00
hashtag-spreader.py Handle exceptions 2019-05-30 22:49:09 +02:00

README.md

Mastodon Hashtag Spreader

For the #GPN19 my Mastodon instance fem.social wants to get all posts of the hashtag. Most users of this event are connected to the instance chaos.social.

Our solution

We have a script on one of our servers, streaming all posts of one hashtag from chaos.socail and putting the url of the post to the search entry of our own instance. The url will get fetched by our instace and the resulting post is added to our hashtag timeline.

Installing

pip3 install Mastodon.py
git clone https://github.com/clerie/mastodon-hashtag-spreader.git
cd mastodon-hashtag-spreader/
cp config.json.example config.json
nano config.json

Edit config for your needs.

python3 hashtag-spreader.py