Crates.io | regreddit |
lib.rs | regreddit |
version | 0.2.0 |
source | src |
created_at | 2020-04-06 00:30:04.24014 |
updated_at | 2020-04-08 06:11:55.273498 |
description | A command line tool that deletes things from your Reddit account. |
homepage | |
repository | https://github.com/yagehu/regreddit |
max_upload_size | |
id | 226750 |
size | 115,924 |
Regreddit is a command line tool that can delete everything (posts and comments for now) from your Reddit account.
$ cargo install regreddit
You need a credentials file .regreddit.toml
in the current working directory
for the commands to work. This is an example .regreddit.toml file with fake
credentials:
[credentials]
client_id = "clientidstring"
secret = "secretstring"
username = "trsutyhardware"
password = "myveryweakpassword"
To obtain the client ID and secret, follow the steps outlined in the official Reddit documentation. Select the "script app" type.
To delete all your comments and posts:
$ regreddit --yes
You can view the logs by:
$ regreddit --yes -vvv
In the .regreddit.toml
file, you can also specify a list of whitelisted
subreddits. Posts and comments from them are not deleted. For example:
whitelist = ["rust"]
Since USCIS checks foreign nationals for crimethink by requiring everyone to hand over social media accounts, it may be best to sanitize your social media starting with Reddit.