Powers https://tweets.jvns.ca. As usual for me it's only designed for me to use and not really general software, a lot of my information is hardcoded into it.
To make it work, you need two things:
- a
searchDocuments.js
with your tweets - a
tweets_media
directory
I got those from this tool by Darius Kazemi
- Get your twitter archive from Twitter (seems to still be working as of July 25, 2023)
- Use Darius Kazemi's twitter archive tool to generate a zip file, and unzip it into a directory, let's call it ARCHIVE_DIR
git clone https://github.com/jvns/tweets-archive
cd tweets-archive
cp ARCHIVE_DIR/searchDocuments.js .
cp -R ARCHIVE_DIR/TWITTER_USERNAME/tweets_media .
- Edit
app.js
,index.html
, andbuild.py
to replace my information with your information (described in the next section) - Run
python3 scripts/build.py
All of my information is hardcoded into the files. You'll need to edit index.html
, build.py
, and app.js
. To replace it with your information, search the code for:
R-Ladies Global
R-Ladies Global
RLadiesGlobal
profile.jpg
and replace it with your information instead.
It literally copies all of the CSS from https://nitter.net so you should be able to
use any of Nitter's themes. Just
copy the CSS file and replace twitter.css
in the index.html
with the theme
of your choice.