https://github.com/katagaki/reposts-back
WIP Cypress script for getting back reposts on your X (formerly Twitter) timeline.
https://github.com/katagaki/reposts-back
cypress twitter x
Last synced: 3 months ago
JSON representation
WIP Cypress script for getting back reposts on your X (formerly Twitter) timeline.
- Host: GitHub
- URL: https://github.com/katagaki/reposts-back
- Owner: katagaki
- Created: 2024-03-24T11:07:24.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-05T05:23:36.000Z (6 months ago)
- Last Synced: 2025-01-21T00:14:52.658Z (5 months ago)
- Topics: cypress, twitter, x
- Language: JavaScript
- Homepage:
- Size: 89.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# reposts-back
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.
# Prerequisites
- Node.js | [Download](https://nodejs.org/en/download) | [brew install](https://formulae.brew.sh/formula/node)
- NPM | [Guide](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)
- Your X archive | [Guide](https://help.twitter.com/managing-your-account/how-to-download-your-x-archive)# Setting Up
1. Copy the `cypress.env-sample.json` to `cypress.env.json`.
2. 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.
3. Download a copy of your X data archive, and copy the entire array of accounts from the `data/follows.js` file into the `follows` value of the `cypress.env.json` file.
- A single sample is provided, in the event you are unsure of what to copy.
4. Open a new terminal in the root of the project (containing the `cypress` folder, `cypress.config.js` file, and so on).
5. Run `npm install` to install `cypress` and `otplib`.# Running Cypress
1. Run `npx cypress open` to open Cypress.
2. Select `E2E Testing`.
3. Select `Start E2E Testing in Electron`.