mirror of
https://codeberg.org/privacy1st/MastodonTootFollower
synced 2024-12-21 23:06:04 +01:00
Follow Toots on Mastodon - don't miss new replies or edits.
src/mastodon_toot_follower | ||
static | ||
templates | ||
.dockerignore | ||
.gitignore | ||
docker-compose.yml | ||
Dockerfile | ||
LICENSE | ||
Makefile | ||
README.md | ||
requirements.txt | ||
TODOs.md |
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 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