Skip to content
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.

SDSkyKlouD/twitter-pwa-archive-cleaner

Repository files navigation

twitter-pwa-archive-cleaner

Build Status

Tweet cleaner using newly-structured Twitter data archive. I'M NOT RESPONSIBLE FOR LOSS OF YOUR DATA.

Prerequisites

  • Tokens of your Twitter application
  • Tokens of your account for the Twitter application
  • Node.js (v10 or up)

How to use

  1. Clone this repository.
    $ git clone https://github.com/SDSkyKlouD/twitter-pwa-archive-cleaner
  2. Install npm dependencies.
    $ cd twitter-pwa-archive-cleaner
    $ npm install
  3. Get your Twitter archive. Make sure you're running PWA version of Twitter web client (it looks like this.). You may have to wait for your archive incoming to your e-mail.
  4. Open your Twitter archive after download it, pick ONLY tweet.js file from your archive root and copy it to cloned repository root
  5. Fill out config/secret.example.json with your application's consumer key/secret, your account's access token key/secret. If you done filling the file out, rename the file to secret.json
  6. Run this script with npm start and the script will automatically process with your tweet.js archive data