https://github.com/thorstenalpers/cleanmyposts
CleanMyPosts deletes all tweets, likes, and followings from your X (Twitter) account in bulk using browser automation.
https://github.com/thorstenalpers/cleanmyposts
twitter wpf x
Last synced: 7 months ago
JSON representation
CleanMyPosts deletes all tweets, likes, and followings from your X (Twitter) account in bulk using browser automation.
- Host: GitHub
- URL: https://github.com/thorstenalpers/cleanmyposts
- Owner: thorstenalpers
- License: mit
- Created: 2025-05-07T18:22:55.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-05-24T09:51:40.000Z (8 months ago)
- Last Synced: 2025-05-24T10:31:05.162Z (8 months ago)
- Topics: twitter, wpf, x
- Language: C#
- Homepage: https://github.com/thorstenalpers/CleanMyPosts
- Size: 14.2 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README

[](#)
[](./LICENSE.txt)
[](https://github.com/thorstenalpers/CleanMyPosts/actions/workflows/ci.yml)
[](https://github.com/thorstenalpers/CleanMyPosts)
**CleanMyPosts** is a lightweight Windows desktop app that securely deletes all posts, reposts, replies, likes, and followings from your X (formerly Twitter) account in bulk using browser automation.
---
## 🚀 Features
- Bulk delete **all posts**
- Bulk delete **all reposts**
- Bulk delete **all replies**
- Remove **all likes** with a single click
- Unfollow **all accounts** at once
- Secure browser automation
---
## 🛠️ Requirements
- Windows 10 or later
- X (Twitter) account
---
## 📦 Installation
1. Download the latest version from [Releases](https://github.com/thorstenalpers/x-tweet-cleaner/releases).
2. Run the installer. Ignore the warning about the app being from an unverified publisher.
3. Launch the app and log in with your X (formerly Twitter) account.
4. Start bulk deleting your posts, replies, reposts, likes, and following easily.
---
## 🎬 See It in Action
Delete posts

Delete reposts

Delete replies

Delete likes

Delete Followings

Settings

---
## 🧟♂️ Advanced: Run Deletion Scripts Manually
You can also run the cleanup directly in your browser using JavaScript snippets:
### 🔧 Steps:
1. Visit your [X profile](https://x.com/) and note your **username** (e.g., `@USERNAME`).
2. Open **Developer Tools** in Chrome by pressing `F12`.
3. Go to the **Sources** tab, then open the **Snippets** panel.
4. Click **"New Snippet"** and paste the JavaScript code from the provided links.
5. Save the snippet.
6. Run the snippet once by right-clicking it and selecting **Run** — this loads the script into the page context.
7. Switch to the **Console** tab.
8. Manually execute the appropriate function call (e.g., `DeleteAllPosts(1000, 1000);`) in the console to start the deletion process.
9. Repeat step 4 with other functions as needed.
#### Delete Posts
- URL: [https://x.com/search?q=from%3AUSERNAME](https://x.com/search?q=from%3AUSERNAME)
- Script: [delete-all-posts.js](https://raw.githubusercontent.com/thorstenalpers/CleanMyPosts/refs/heads/main/src/UI/Scripts/delete-all-posts.js)
- Run: `DeleteAllPosts(1000, 1000);`
#### Delete Reposts
- URL: [https://x.com/USERNAME](https://x.com/USERNAME)
- Script: [delete-all-reposts.js](https://raw.githubusercontent.com/thorstenalpers/CleanMyPosts/refs/heads/main/src/UI/Scripts/delete-all-reposts.js)
- Run: `DeleteAllRepost(1000, 1000, 5);`
#### Delete Replies
- URL: [https://x.com/USERNAME/with_replies](https://x.com/USERNAME/with_replies)
- Script: [delete-all-replies.js](https://raw.githubusercontent.com/thorstenalpers/CleanMyPosts/refs/heads/main/src/UI/Scripts/delete-all-replies.js)
- Run: `DeleteAllReplies(1000, 1000, 5);`
#### Unlike Posts
- URL: [https://x.com/USERNAME/likes](https://x.com/USERNAME/likes)
- Script: [delete-all-likes.js](https://raw.githubusercontent.com/thorstenalpers/CleanMyPosts/refs/heads/main/src/UI/Scripts/delete-all-likes.js)
- Run: `DeleteAllLike(1000)`
#### Unfollow Accounts
- URL: [https://x.com/USERNAME/following](https://x.com/USERNAME/following)
- Script: [delete-all-following.js](https://raw.githubusercontent.com/thorstenalpers/CleanMyPosts/refs/heads/main/src/UI/Scripts/delete-all-following.js)
- Run: `DeleteAllFollowing(1000, 1000);`
---
## 🤝 How to Contribute
We welcome contributions to CleanMyPosts! If you’d like to improve the project, please:
1. Check out our [contributing guidelines](CONTRIBUTING.md).
2. Ideally, open an issue before starting work.
3. Submit a pull request with your changes.
Thank you for helping make CleanMyPosts better!
---
## 🐞 Report a Bug
If you encounter any issues or bugs, please [report them here](https://github.com/thorstenalpers/CleanMyPosts/issues).