Shred your reddit comment and post history (x89/Shreddit replacement)
git clone https://github.com/ellygaytor/trasheddit.git
cd trasheddit
pip3 install -r requirements.txt
python3 main.py [username]
Or, a one liner:
git clone https://github.com/ellygaytor/trasheddit.git && cd trasheddit && pip3 install -y -r requirements.txt && python3 main.py [username]
⚠️ Remember to change [username]
to your Reddit username
Option | Function | Usage |
---|---|---|
-k or --keep |
Keep submissions younger than the inputted time | -k 3M will keep submissions younger than 3 months |
-o or --overwrite |
Overwrite submissions before deleting them. This is highly recommended. | -o will fill a submission with garbage data before deleting it |
-s or --skip-subreddits |
Skip entered subreddits | -s askreddit -s python will skip submissions in r/askreddit and r/python |
d or --dry-run |
Do a dry run | -d will not actually delete any submissions |
Trasheddit requires the following credential information:
The Reddit API requires that tools like trasheddit utilize their own authentication mechanism to access your specific user account. The password
should be the login password associated with the username
that the script is being run on.
To obtain the client ID and secret, follow these steps (taken from the PRAW documentation):
client_id
.client_secret
field.The program will then create a file storing these credentials for future use. Assuming this file is not deleted, you will only need to complete this process once per account.