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
0a01f18e44
This moves the input() statements into four separate functions taking values. The main reason for doing so was to allow for unit testing, however it also makes the init() function a little clearer. Also, potentially, these input functions can now be used by other functions in future. |
||
---|---|---|
.github | ||
docs | ||
ephemetoot | ||
.gitignore | ||
CODE_OF_CONDUCT.md | ||
LICENSE | ||
README.md | ||
example-config.yaml | ||
poetry.lock | ||
pyproject.toml |
README.md
🥳 ==> 🧼 ==> 😇
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