mirror of
https://codeberg.org/privacy1st/MastodonTootFollower
synced 2024-12-22 23:06:05 +01:00
1.4 KiB
1.4 KiB
MastodonTootFollower
Follow Toots on Mastodon - don't miss new replies or edits.
Usage - Demo instance
Visit https://mastodon-toot-follower.privacy1st.de/ to generate a link to follow a conversation on Mastodon.
Usage - Local instance and CLI
Start a local server from local python venv:
make prod
Start a local server with docker-compose:
sudo docker-compose up -d
Visit http://localhost:5000 to generate a link to follow a conversation on Mastodon.
Additionally, one can view news from a conversation on the commandline:
MASTODON_TOOT_URL=https://mastodon.instance/@user@another.instance/123456 make cli
Used libraries
See requirements.txt.
- Mastodon.py: Fetch Toot and replies from a Mastodon instance.
- python3-feedgen: Generate an Atom/RSS feed.
- Flask: Provide a web API (JSON, RSS+XML, HTML).
- Waitress: Web server.
Test RSS/Atom feed
Tested with gfeeds:
rm -rf ~/.config/org.gabmus.gfeeds.* ~/.cache/org.gabmus.gfeeds
gfeds
Tested with Nextcloud News.
Other feed readers: https://wiki.archlinux.org/title/list_of_applications#News,_RSS,_and_blogs