hodgesmr / mastodon_digest

A Python script that aggregates recent popular posts from your Mastodon timeline
BSD 3-Clause "New" or "Revised" License
439 stars 58 forks source link

Add support for specifying a timeline source for the digest #9

Closed BenWard closed 1 year ago

BenWard commented 1 year ago

As someone running a solo personal instance at benward.social, I wanted to use mastodon digest to discover posts from beyond my follow graph, therefore I've added a flag that allows switching to any timeline source supported by the Mastodon.py library:

Use -f (for 'feed') flag when running to switch the timeline source for the digest (defaults to 'home').

You can specify:

For my use case, I run with -f federated to get a digest of every posts that's passed through my server; but since I'm the only user, it's a quite interesting summary.

Other changes:

hodgesmr commented 1 year ago

Thank you! This is a great feature add. I've merged in a couple (admittedly, opinionated) style adjustments, but this is now merged in 😄