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
Go to file
Hugh Rundle e2e801b834
Update README.md
2023-07-08 15:15:21 +10:00
.github prepare for v3.0.0 2020-09-06 18:08:14 +10:00
docs update docs 2023-06-18 19:22:15 +10:00
ephemetoot Merge pull request #82 from hughrun/add-boosts-only 2023-06-18 18:16:53 +10:00
tests mock archive toot media response 2021-08-23 18:18:42 +02:00
.gitignore prepare for 3.1.1 release 2021-05-01 10:38:43 +10:00
CODE_OF_CONDUCT.md update CoC contact email 2020-07-05 17:21:07 +10:00
LICENSE first commit 2018-12-24 15:30:56 +11:00
MANIFEST.in replace poetry with setuptools 2023-06-18 14:36:22 +10:00
README.md Update README.md 2023-07-08 15:15:21 +10:00
example-config.yaml add archive_media configuration option 2021-08-22 16:52:23 +02:00
poetry.lock update lock file 2023-01-15 16:05:50 +11:00
pyproject.toml update requests minimum requirement 2023-06-18 18:19:00 +10:00

README.md

🥳 ==> 🧼 ==> 😇

ephemetoot is a Python command line tool for deleting old toots.

As Mastodon now has similar functionality built in, ephemetoot is now in maintenance mode - no new features will be added, only security updates.

Quickstart

You should have Python3 and pip installed, and an app access token on hand. More detail information is available in the docs

Install with pip:

pip install ephemetoot

Create a config file:

ephemetoot --init

Do a first run in --test mode:

ephemetoot --test

Find out about other options:

ephemetoot --help

Documentation

You can also read the docs at ephemetoot.hugh.run

The initial ephemetoot script was based on this tweet-deleting script by @flesueur

ephemetoot relies heavily on the Mastodon.py package by @halcy

Looks like Gabriel Augendre had the same idea. You might prefer to use Gabriel's cleantoots instead.

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

ephemetoot is tested using pytest.

For bugs or other contributions, please check the contributing guide.

License

This project and all contributions are licensed under the GPL 3.0 or future version