This Cypress script will help you re-enable reposts for any follows you have on X (formerly Twitter). It is mainly for former users of Blindfold for Twitter and other similar tools that are now defunct due to the API pricing changes.
- Node.js | Download | brew install
- NPM | Guide
- Your X archive | Guide
- Copy the
cypress.env-sample.json
tocypress.env.json
. - Insert your own username, password, and OTP secret into the
cypress.env.json
file.- You may need to set up a new Authenticator app to obtain the OTP secret.
- Download a copy of your X data archive, and copy the entire array of accounts from the
data/follows.js
file into thefollows
value of thecypress.env.json
file.- A single sample is provided, in the event you are unsure of what to copy.
- Open a new terminal in the root of the project (containing the
cypress
folder,cypress.config.js
file, and so on). - Run
npm install
to installcypress
andotplib
.
- Run
npx cypress open
to open Cypress. - Select
E2E Testing
. - Select
Start E2E Testing in Electron
.