ephemetoot-eliminare-vecchi.../README.md

56 lines
1.9 KiB
Markdown
Raw Permalink Normal View History

# 🥳 ==> 🧼 ==> 😇
2019-07-24 00:42:28 +02:00
2020-07-04 07:57:59 +02:00
**ephemetoot** is a Python command line tool for deleting old toots.
2023-07-08 07:15:21 +02:00
**As Mastodon now has similar functionality built in, `ephemetoot` is now in maintenance mode - no new features will be added, only security updates.**
2023-06-18 11:22:15 +02:00
## Quickstart
You should have Python3 and pip installed, and an app access token on hand. More detail information is available in [the docs](https://ephemetoot.hugh.run)
Install with pip:
```shell
pip install ephemetoot
```
Create a config file:
```shell
ephemetoot --init
```
Do a first run in `--test` mode:
```shell
ephemetoot --test
```
Find out about other options:
```shell
ephemetoot --help
```
2020-08-28 10:13:46 +02:00
## Documentation
* [Installation](./docs/install.md)
* [Options](./docs/options.md)
* [Upgrading and uninstalling](./docs/upgrade.md)
You can also read the docs at [ephemetoot.hugh.run](https://ephemetoot.hugh.run)
## Prior and related work
The initial `ephemetoot` script was based on [this tweet-deleting script](https://gist.github.com/flesueur/bcb2d9185b64c5191915d860ad19f23f) by [@flesueur](https://github.com/flesueur)
2018-12-24 05:30:56 +01:00
`ephemetoot` relies heavily on the Mastodon.py package by [@halcy](https://github.com/halcy)
2018-12-24 05:30:56 +01:00
Looks like [Gabriel Augendre had the same idea](https://git.augendre.info/gaugendre/cleantoots). You might prefer to use Gabriel's `cleantoots` instead.
## Usage
You can use `ephemetoot` to delete [Mastodon](https://github.com/tootsuite/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
2018-12-24 05:30:56 +01:00
## Contributing
2023-06-18 06:36:22 +02:00
ephemetoot is tested using `pytest`.
2023-06-18 11:22:15 +02:00
For bugs or other contributions, please check the [contributing guide](./docs/contributing.md).
2018-12-24 05:30:56 +01:00
## License
This project and all contributions are [licensed](./LICENSE) under the GPL 3.0 or future version