Open kensanata opened 6 years ago
Maybe reuse code from here: https://gist.github.com/0xa/b4e289102c6e87b58ad9f72c2aa93400 License to reuse:
@CobaltVelvet @kensanata yes, under mit license
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.
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
andstdout
. Maybe like this?mastodon-archive inactive-users --silent-for 8 kensanata@dice.camp | mastodon-archive unfollow --stdin kensanata@dice.camp