Skip to content

CleanMyPosts lets you view and delete all posts, reposts, replies, likes, and followings from your X (Twitter) account in bulk using browser automation.

License

Notifications You must be signed in to change notification settings

thorstenalpers/CleanMyPosts

 
 

Banner

Windows License CI Tests Donate Star this repo

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.


ℹ️ How It Works

CleanMyPosts automates the process of cleaning up your X (formerly Twitter) account by interacting with your account through an embedded browser. The app sends JavaScript commands to perform actions such as deleting posts, reposts, replies, likes, and unfollowing accounts. It retries actions automatically to ensure everything is removed efficiently.

%%{init: {"flowchart": {"diagramPadding": 125}}}%%
flowchart LR
    U["User"]
    A["CleanMyPosts App"]
    B["Embedded Browser"]
    X["X (Twitter) Platform"]

    U -->A
    A -->|Retry|B
    A -->|Execute JS Actions|B
    A -->|Refresh page|B
    B -->X
    X -->B
Loading

🚀 Features

  • 🔍 View all posts, reposts, replies, likes, and followings
  • 🗑️ Bulk delete all posts
  • 🗑️ Bulk delete all reposts
  • 🗑️ Bulk delete all replies
  • 🖤 Remove all likes
  • 👤 Unfollow all followings

🛠️ Requirements

  • Windows 10 or later
  • X (Twitter) account

📦 Installation

Once your system meets the requirements, follow these steps to install CleanMyPosts:

  1. Download the latest version from 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 posts GIF
Delete reposts
Delete reposts GIF
Delete replies
Delete replies GIF
Delete likes
Delete Likes GIF
Delete Followings
Unfollow Accounts GIF
Settings
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 and note your username (the part after x.com/, without the @).
  2. Replace all occurrences of USERNAME in URLs and function calls with your actual username.
  3. Open Developer Tools in Chrome by pressing F12.
  4. Go to the Sources tab, then open the Snippets panel.
  5. Click "New Snippet" and paste the JavaScript code from the provided links.
  6. Save the snippet.
  7. Run the snippet once (right-click → Run) to load the script into the page context.
  8. Switch to the Console tab.
  9. Manually execute the appropriate function call (e.g., DeleteAllPosts(1000, 1000);) in the console to start the deletion process.
  10. Repeat steps 4–8 for other scripts as needed.

Delete Posts

Delete Reposts

Delete Replies

Unlike Posts

Unfollow Accounts


🤝 How to Contribute

We welcome contributions to CleanMyPosts! If you’d like to improve the project, please:

  1. Check out our contributing guidelines.
  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.

About

CleanMyPosts lets you view and delete all posts, reposts, replies, likes, and followings from your X (Twitter) account in bulk using browser automation.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •