mirror of
https://github.com/hughrun/ephemetoot
synced 2025-01-29 21:09:17 +01:00
Hugh Rundle
3012800f54
create process_toot() function
Move all logic for processing each individual toot out of check_batch to a top level function. This is partially to enable easier testing and partially to make the codebase easier to read through and understand.
🥳 ==> 🧼 ==> 😇
ephemetoot is a Python command line tool for deleting old toots.
Documentation
Prior work
The initial ephemetoot
script was based on this tweet-deleting script by @flesueur
ephemetoot
relies heavily on the Mastodon.py package by @halcy
Usage
You can use ephemetoot
to delete Mastodon toots that are older than a certain number of days (default is 365). Toots can optionally be saved from deletion if:
- they are pinned; or
- they include certain hashtags; or
- they have certain visibility; or
- they are individually listed to be kept
Contributing
For all bugs, suggestions, pull requests or other contributions, please check the contributing guide.
License
This project and all contributions are licensed under the GPL 3.0 or future version
Description
efemettotoot elimina i toot di Mastodon che sono più vecchi di un certo numero di giorni tranne quelli che::
sono appuntati;
includono alcuni hashtag;
hanno una certa visibilità;
sono elencati individualmente
https://mastodon.it
Languages
Python
100%