regreddit

Crates.ioregreddit
lib.rsregreddit
version0.2.0
sourcesrc
created_at2020-04-06 00:30:04.24014
updated_at2020-04-08 06:11:55.273498
descriptionA command line tool that deletes things from your Reddit account.
homepage
repositoryhttps://github.com/yagehu/regreddit
max_upload_size
id226750
size115,924
Yage Hu (yagehu)

documentation

README

Regreddit

Crates.io Docs.rs Build Status

Regreddit is a command line tool that can delete everything (posts and comments for now) from your Reddit account.

Install

$ cargo install regreddit

Credentials

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.

Usage

Delete everything

To delete all your comments and posts:

$ regreddit --yes

You can view the logs by:

$ regreddit --yes -vvv

Config

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"]

Why

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.

Commit count: 44

cargo fmt