{"id":27354097,"url":"https://github.com/karan51ngh/redditrefresh","last_synced_at":"2025-04-12T21:53:38.005Z","repository":{"id":177370089,"uuid":"660157054","full_name":"karan51ngh/RedditRefresh","owner":"karan51ngh","description":"This script allows you to Bulk Delete, Cryptographically Hash, Encrypt or Decrypt your Reddit posts or comments for better privacy and security.","archived":false,"fork":false,"pushed_at":"2025-04-06T07:20:39.000Z","size":106,"stargazers_count":40,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T21:53:32.327Z","etag":null,"topics":["aes","bulk-operation","delete","encryption","encryption-decryption","hashing","mass-delete","praw","praw-api","praw-reddit","privacy","python","python-script","reddit","script","sha256"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"JosemyDuarte/reddit-cleaner","license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/karan51ngh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-29T11:17:52.000Z","updated_at":"2025-04-09T16:46:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"f19fabf5-dd07-4f6a-9ab9-657a4fd879d7","html_url":"https://github.com/karan51ngh/RedditRefresh","commit_stats":null,"previous_names":["karan51ngh/redditrefresh"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karan51ngh%2FRedditRefresh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karan51ngh%2FRedditRefresh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karan51ngh%2FRedditRefresh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karan51ngh%2FRedditRefresh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/karan51ngh","download_url":"https://codeload.github.com/karan51ngh/RedditRefresh/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248637830,"owners_count":21137538,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aes","bulk-operation","delete","encryption","encryption-decryption","hashing","mass-delete","praw","praw-api","praw-reddit","privacy","python","python-script","reddit","script","sha256"],"created_at":"2025-04-12T21:53:36.969Z","updated_at":"2025-04-12T21:53:37.999Z","avatar_url":"https://github.com/karan51ngh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RedditRefresh\n## Reddit Bulk Comment/Post Management Tool\n\nThis script allows you to Mass **Delete**, **Cryptographically Hash**, **Encrypt** or **Decrypt** your Reddit posts or comments for better privacy and security.\n\n## Setting up the script\n\n1. Download the latest release from the [GitHub Releases](https://github.com/karan51ngh/RedditRefresh/releases) and Extract the ZIP file. Or Clone the repository:\n   \u003e `git clone https://github.com/karan51ngh/RedditRefresh.git`\n3. Install the required packages: `pip install -r requirements.txt`\n4. Go to [https://www.reddit.com/prefs/apps](https://www.reddit.com/prefs/apps) and create a new \"script\" type application. You can name it whatever you like and set the description and about url to anything you want. You can add http://localhost:8080/ as the **redirect uri**. \n5. Open `authentication.py` in a text editor and edit the following information:\n\n```\nCLIENT_ID = \"\u003cyour_client_id\u003e\"\nCLIENT_SECRET = \"\u003cyour_client_secret\u003e\"\nPASSWORD = \"\u003cyour_account_password\u003e\"\nUSER_AGENT = \"\u003cyour script's name (by u/your_username)\u003e\"\nUSERNAME = \"\u003cyour_username\u003e\"\n```\nFor Help with the above step refer the following image:\n\n![NoNoise LinkedIn Logo](https://raw.githubusercontent.com/karan51ngh/RedditRefresh/master/assets/redditrefreshasset.png)\n\n5. Run the script:\n\n```shell\ncd RedditRefresh\npython main.py\n```\n6. It creates a file called `LOGS.md` that saves all your comments and posts before hashing or deletion.\n\n## How to Use\n\n1. **Choose a Mode:** The script operates in four different modes:\n   - **DELETE Mode**: Hashes your content using SHA-256 before deleting it.\n   - **HASH Mode**: Only hashes your content without deleting it.\n   - **ENCRYPT Mode**: Encrypts your content using the AES algorithm, allowing future decryption.\n   - **DECRYPT Mode**: Decrypts previously encrypted content.\n\n2. **Select Content Type:** Decide whether to process:\n   - **COMMENTS**\n   - **POSTS**\n\n3. **Specify a Subreddit (Optional):**\n   - Enter a subreddit name to restrict the script to that specific subreddit.\n   - Leaving this blank will make the script apply to all subreddits.\n\n4. **Set a Time Range (Optional):**\n   - Enter a **start date** and **end date** to filter content within a specific time range.\n   - If left empty, the script will apply to all content regardless of date.\n   - **Note:** The time for each date is set to **00:00:00 UTC**.\n\n5. **Confirm Execution:**\n   - After providing the necessary inputs, confirm the execution, and the script will process your Reddit content accordingly.\n\n## How it works\n\nIt uses the [PRAW (Python Reddit API Wrapper)](https://github.com/praw-dev/praw) library to access the Reddit API and process the your posts and comments based on a particular sub-reddit you posted to, or on a given time threshold.\n\n## License\n\nThis project is licensed under the **GNU General Public License v3.0**. See the [LICENSE](https://github.com/karan51ngh/RedditRefresh/blob/master/LICENSE) file for more details.\n\n## Contributing\n\n1. Fork the repository.\n2. Clone your fork: `git clone https://github.com/your-username/RedditRefresh.git`\n3. Create a new branch: `git checkout -b feature-name`\n4. Commit your changes and push.\n5. Open a pull request.\n\n## Contact\n\nHave questions or suggestions? Feel free to reach out!\n\n- GitHub Issues: [Open an issue](https://github.com/karan51ngh/RedditRefresh/issues)\n- Email: [karansingh9535@gmail.com](mailto\\:karansingh9535@gmail.com)\n- LinkedIn: [karan51ngh](https://www.linkedin.com/in/karan51ngh/)\n- X / Twitter: [karan_51ngh](https://x.com/karan_51ngh)\n\n## Disclaimer\n\nUse this tool responsibly. If you choose the mode as **HASH** or **DELETE**, the changes will be permanent and irreversible.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaran51ngh%2Fredditrefresh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaran51ngh%2Fredditrefresh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaran51ngh%2Fredditrefresh/lists"}