kensanata / mastodon-archive

Archive your statuses, favorites and media using the Mastodon API (i.e. login required)
https://alexschroeder.ch/software/Mastodon_Archive
GNU General Public License v3.0
358 stars 33 forks source link

Report which users have gone silent #29

Open kensanata opened 6 years ago

kensanata commented 6 years ago

I'd like to see who among the people I am following has fallen silent for a customizable time window, say eight weeks. In addition to that, I'd love to unfollow these people with some command. In order to support manual editing of this list, I think it would be nice if we used stdin and stdout. Maybe like this?

mastodon-archive inactive-users --silent-for 8 kensanata@dice.camp | mastodon-archive unfollow --stdin kensanata@dice.camp

kensanata commented 6 years ago

Maybe reuse code from here: https://gist.github.com/0xa/b4e289102c6e87b58ad9f72c2aa93400 License to reuse:

@CobaltVelvet @kensanata yes, under mit license

https://octodon.social/@CobaltVelvet/99675453537969630

codesections commented 5 years ago

It might be worth expressing the time period in days rather than weeks, since it's easy to express just about any time period in days but harder in weeks (e.g., unfollow anyone who has been silent for 30 days). But that's a minor nit—this sounds like a helpful feature.