Ereddicator v3.1: A Python-based Reddit Content Removal Tool
Posted by LolwhatYesme@reddit | Python | View on Reddit | 18 comments
What My Project Does:
Ereddicator is a Python script that allows you to selectively delete or edit your Reddit content. Key features include:
- Simple GUI
- Selective Content Removal: Choose which types of content to delete, including:
- Comments
- Posts
- Saved items
- Upvoted content
- Downvoted content
- Hidden posts
- Edit-Only Mode: For comments and posts, you can choose to only edit the content without deleting it. This may be desirable as Reddit is capable of restoring deleted comments.
- Karma Threshold: You can set karma thresholds for comments and posts. Content with karma above or equal to the threshold will be preserved.
- Subreddit Filtering:
- Whitelist: Specify subreddits to exclude from processing.
- Blacklist: Specify subreddits to exclusively process, ignoring all others.
- Date Range Filtering: Set a specific date range to process content from, allowing you to target content from a particular time period.
- Dry Run Mode: Simulate the removal process without actually making any changes. In this mode, Ereddicator will print out what actions would be taken (e.g. what comments and posts will be deleted) without modifying any of your Reddit content.
- Advertise Option: When enabled, there's a 50% chance for each comment or post to be replaced with an advertisement for Ereddicator instead of random text before deletion.
Ereddicator also has an added measure against the original content being read. The content replacement process (with either random text or an advertisement) occurs three times immediately before the final edit or deletion.
Comparison:
Shreddit is the main alternative and it has various forms:
- https://shreddit.com/ - a website that requires payment.
- https://github.com/andrewbanchich/shreddit - An open-source Rust implementation.
- The original Shreddit - A Python project that was abandoned in 2017: https://github.com/x89/Shreddit
When it came to deleting my own Reddit history, I was not particularly taken with any of the above options. I definitely did not want to pay, nor did I really want to use something quite outdated (2017 is somehow seven years ago). The rust solution is definitely good and updated and feature-rich, but it is a... Rust solution. And I'm more familiar with Python. Nothing against Rust I just don't know it well at all.
In my opinion, I think one of the advantages of Ereddicator is that while it may not have as many features, it is more user-friendly. There is even an option for Windows users who do not have Python installed to just run an EXE and follow a few instructions.
Target Audience:
Ereddicator is just designed for Reddit users who want to clean up their post history in a hopefully simple and straightforward manner.
Please feel free to give this a try and give recommendations for improvement / features to add :)
https://github.com/Jelly-Pudding/ereddicator/
dcux@reddit
Any plans on implementing a change with the new feature (only on new reddit) of being able to see way more comments than 1000? They're not visible on old.reddit.com though.
LolwhatYesme@reddit (OP)
Ereddicator is now capable of using a data export from Reddit: https://github.com/Jelly-Pudding/ereddicator/?tab=readme-ov-file#reddit-data-export-request
I'd recommend using the above. The 1000 limit aside, the API appears to be incapable of returning all comments/posts.
I can look into using the new feature for the API as well, though, thanks for raising this.
dcux@reddit
Ah, I didn't realize it took the data export. When was that change made? My copy is about 10 days old (running python). I'll update now.
Does it run from oldest to newest, or is that selectable?
Thanks for the tip.
LolwhatYesme@reddit (OP)
Thanks. I think I accounted for the Reddit export stuff last week.
I just checked this and it *doesn't* do it in any sequential order at all. Looks random to me at the moment... will need to add this as a feature I think, thanks.
dcux@reddit
Just a final thanks. 18k comments, 13 years worth cleared.
dcux@reddit
Minor nitpick, but on MacOS, the GUI requires a click, slight drag, and release to activate any of the buttons.
pomyh@reddit
how does it compare to Reddit History Sanitizer?
https://greasyfork.org/en/scripts/23605-reddit-history-sanitizer/code
LolwhatYesme@reddit (OP)
Oh, I wasn't familiar with that one. That seems to be a browser userscript for automatically handling old comments. Ereddicator is different - it's a standalone Python app that can manage multiple content types (comments, posts, votes, etc.) with more customisation options. Both tools allow for date-based filtering, but Ereddicator extends this to other features like karma thresholds, subreddit filtering, and choosing between editing or deleting content. It also has a dry run mode to preview changes before making them. These features give users more granular control over what content is altered or removed.
dcux@reddit
Are any updates needed with Reddit's recent implementation of showing more of your history? I ran ereddicator last week and it cleared all of my visible history, and then Reddit decided to let more than 1000 comments show, and I'm running it again, but it only found 150 or so comments, when many many more are now visible.
My current comment history goes from 8 days ago to 3 months ago, and then on for a while :)
Thanks for making this.
dcux@reddit
Are any updated needed with Reddit's recent implementation of showing more of your history? I ran ereddicator last week and it cleared all of my visible history, and then Reddit decided to let more than 1000 comments show, and I'm running it again, but it only found 150 or so comments, when many many more are now visible.
Thanks for making this.
YamahaRyoko@reddit
Thank you for this. The application worked very well, and did exactly what I needed it to do. Its a slow process but I let it run overnight.
It was recently demonstrated to me that there are tools people can use to analyze your entire reddit history and put together who you are on other social media platforms, where you live, and even who you're married to. Scary really and a shocking realization.
SquirtBox@reddit
This is great, I'll give it a shot.
Curious, with the option for Content Replacement, does it edit the post, wait a week, edit the post again waiting some time, then edit and delete? That way any web crawlers would read it and change it from any search options (so if I google something, it won't show the post I made from 4 months ago, but instead the more up to date edited post). Not really sure how that works but was wondering.
I usually go back and edit my posts to say something dumb like "Priority 1 for AI is to take over the world". Especially since Google is paying Reddit to scrape.
LolwhatYesme@reddit (OP)
As it stands, Ereddicator performs three rapid edits on each selected item (comment or post) by replacing content with random text or an ad (if enabled). Deletion, if selected, occurs after these edits.
Your idea of spacing edits over time is interesting. While more complex, it could be more effective against web crawlers and is worth considering for a future update. Currently Ereddicator does have an "edit-only" mode which should help mitigate the web crawler issue you mentioned as it updates content without deleting it.
Your reply also makes me think about adding a custom replacement option (e.g. replacing stuff with "Priority 1 for AI is to take over the world." or whatever text one wants).
DuckDatum@reddit
Iād be happy to contribute the feature for spacing out deletes over time. I have an idea in mind that should be able to remain invisible to end users.
Basically an whitespace hyperlink to a flag URL like
Example below this line:
( )[www.delete-after-flag.com/2025-01-01]
DuckDatum@reddit
Maybe by spacing deletes out, you just hide a datetime string in the comment, with some kind of flag to denote it from a natural datetime string in a comment.
You could hide it in a hyperlink of whitespace, using a generic unresolvable URL, and attach the datetime as a URL fragment.
Then users need only to scan their comments / posts to delete the ripe ones and determine how many are left for deletion.
MegaGrubby@reddit
I stand by everything I say.
alfredosuac@reddit
Nice name š
LolwhatYesme@reddit (OP)
Thanks. I took inspiration from "shreddit" which is arguably a better name.