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

55 lines
1.9 KiB
Markdown
Raw Normal View History

# 🥳 ==> 🧼 ==> 😇
2020-08-28 10:13:46 +02:00
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
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.
## 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
ephemetoot is packaged using `poetry` and tested using `pytest`.
2020-08-24 13:22:39 +02:00
For all bugs, suggestions, pull requests 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