Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 41 additions & 34 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,29 @@
![Banner](./src/CleanMyPosts/Assets/banner.png)

![Banner](https://raw.githubusercontent.com/thorstenalpers/CleanMyPosts/main/src/CleanMyPosts/Assets/banner.png)
[![Windows](https://img.shields.io/badge/platform-Windows-blue)](#)
[![License](https://img.shields.io/badge/License-MIT-blue.svg)](./LICENSE.txt)
[![CI Tests](https://github.com/thorstenalpers/CleanMyPosts/actions/workflows/ci.yml/badge.svg)](https://github.com/thorstenalpers/CleanMyPosts/actions/workflows/ci.yml)
[![Donate](https://img.shields.io/badge/donate-PayPal-yellow)](https://www.paypal.com/donate/?hosted_button_id=QYHGE9LA9SNAN)
[![Star this repo](https://img.shields.io/github/stars/thorstenalpers/CleanMyPosts.svg?style=social&label=Star&maxAge=60)](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.
**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
- 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
- Windows 10 or later
- X (Twitter) account

---

Expand Down Expand Up @@ -91,43 +89,51 @@ You can also run the cleanup directly in your browser using JavaScript snippets:
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.
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)
#### 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/CleanMyPosts/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)
#### 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/CleanMyPosts/Scripts/delete-all-reposts.js)

- Run: `DeleteAllRepost(1000);`

#### 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)
#### 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/CleanMyPosts/Scripts/delete-all-replies.js)

- Run: `DeleteAllReplies('USERNAME', 1000, 5);` // replace USERNAME with yours

#### Unlike Posts
#### 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/CleanMyPosts/Scripts/delete-all-likes.js)

- 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)
#### 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/CleanMyPosts/Scripts/delete-all-following.js)

- Run: `DeleteAllFollowing(1000, 1000);`

---
Expand All @@ -145,6 +151,7 @@ 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).