Archive all your scrolls on X.
It captures all recieved X's posts/tweets and stores them in elasticsearch
. You can set up any other method of storage you want in server.js
.
You need to run the x-browser.js
script in Tampermonkey
on Chrome or FireFox browsers.
For the server side:
npm install
Configure your elasticsearch
path, port, index and server port in .env
file:
TWEETS_INDEX=<TWEET_INDEX>
ELASTIC=<ELASTIC_PATH>
BACKPATH=<BACK_PATH>
BACKPORT=<BACK_PORT>
Run the server:
node server.js
To archive only specific languages, add them to LANG
variable in .env
file. To archive all posts, remove the LANG
variable from your .env
file:
LANG=fa,und,ar
For translated posts, their language should be consistent with the ones you set in the .env
file, otherwise they will not be recorded. If you do not set LANG
variable, translated posts to any language will be stored.
To change the translate to language
option, go to X's web client settings and set your default language to enable translation of posts into it.