2024-11-05 Gomphotherium helps you forget

If you use GoToSocial, like I do, then your posts do not expire. Mastodon, on the other hand, has that feature.

Now, you could use Mastodon Archive. But that makes you archive your toots before expiring them.

Mastodon Archive

No good!

I want them gone. So here's a tiny Python script, built on the shoulders of the Mastodon.py library. It deletes and unboosts ten posts older than eight weeks that you haven't pinned.

The idea is to run it from a cron job every hour, deleting up to 240 toots per day. The reason is that the deletion rate limits are super strict. So you have to be slow about it.

Now, I could not be arsed to write yet another oAuth workflow. So here's the deal: Use `toot` to login. It's a great client for the command line and it comes with a separate text-based user-interface.

Gomphotherium uses the `toot` config file to log in. 😬

It's probably full of bugs. At least it's short.

Source

​#GoToSocial ​#Mastodon Archive ​#Gomphotherium