Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
T

tweets-cleaner

> 编程语言
Open source

Delete old tweets! :fire:

100 stars0 likes2 views
WebsiteGitHub

About

Delete old tweets! :fire:

Tweets Cleaner

Delete old tweets.

Why?

The Twitter API only gives access to your 3200 last tweets to third party apps, that's already a lot but we are talking about big ol accounts!

Here, tweets are accessed through your .zip archive and allows you to delete old tweets from your account.

Warning

This scripts definitely deletes some of your tweets!

Features

  • Set a maximum date to limit deletions to after a certain date.
  • Tracks progress in a local log file for confirmation and in case app crashes / you want to start it up later.

Usage

  • Request you Twitter archive (you might want to keep it safe, if you ever miss your tweets!)
  • Create an app on Twitter the get your keys
  • Download or clone the repo
  • Rename config.sample.js by config.js and set your keys and settings
  • OPTIONAL: In config.js Set the maxDate, your tweets older than this date will be deleted:exclamation: If not provided, will use current date.
  • OPTIONAL: In config.js Set a file path for the log file. If not provided will create log.json
  • OPTIONAL: In config.js Set the array saveRegexp for saving tweets. For example you want to save tweets with some hashtag or with mention of somebody
  • Copy tweet.js from your Twitter archive from step 1 in the same directory, or the path specified in config.js
  • $ npm i; npm start :fire:

License WTFPL

Issues· 3 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

JavaScripttwitter

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言