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 71c0b61a62 include tests in pypi package
This commit adds the tests directory when packaging up for pypi. This is in response to a request from @pacoesteban (GitHub user) who is the maintainer for the OpenBSD port of ephemetoot.
2020-09-26 13:42:40 +10:00
.github prepare for v3.0.0 2020-09-06 18:08:14 +10:00
docs bump version and amend docs 2020-09-12 15:16:16 +10:00
ephemetoot suppress IndexError message for q=2 or more 2020-09-12 15:06:48 +10:00
tests add tests for -qq and -qqq 2020-09-12 15:09:16 +10:00
.gitignore ignore archive dir used in dev 2020-08-31 15:10:58 +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
README.md include tests in pypi package 2020-09-26 13:42:40 +10:00
example-config.yaml Fix non-absolute archive filepaths breaking 2020-07-18 15:45:20 +10:00
poetry.lock add pytest 2020-08-30 11:44:37 +10:00
pyproject.toml include tests in pypi package 2020-09-26 13:42:40 +10:00

README.md

🥳 ==> 🧼 ==> 😇

PRs Welcome

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

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

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

ephemetoot is packaged using poetry and tested using pytest.

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