In advance of deleting my Twitter account, I made this web page that lets you search my tweets, link to an archived version, and read whole threads I wrote.

https://tinysubversions.com/twitter-archive/

I will eventually release this as a website I host where you drop your Twitter zip archive in and it spits out the 100% static site you see here. Then you can just upload it somewhere and you have an archive that is also easy to style how you like it.

@tinysubversions Twitter archive

@darius hell yeah, nice work. Was just chatting with organizers about wanting this exact thing for a variety of threatened antifascist research accounts. Pool all the archives together to make sure that info is not lost as accounts continue to be purged.

Tbh that model on a slightly larger scale for journalists, community organizers, researchers of all sorts... having a searchable static site version is just a huge win for maintainting these archives going forward.

Saving this post and definitely looking forward to checking out the source when you publish it; thanks again for sharing!

@AnarchoDoggo yeah there are a fair number of these but none of them were like... a big zip file of HTML files that you unzip on a web server. they're all like, framework this, github pages that, database blah blah
@darius what's backing the search piece?

@AnarchoDoggo http://elasticlunr.com/

it's an in-browser text search indexing thing

Elasticlunr.js, lightweight full-text search engine in Javascript for browser search and offline search.

Elasticlunr.js, lightweight full-text search engine in Javascript for browser search and offline search. Elasticlunr.js is developed based on Lunr.js, but more flexible than lunr.js. Elasticlunr.js provides Query-Time boosting and field search. A bit like Solr, but much smaller and not as bright, but also provide flexible configuration and query-time boosting.

@darius thanks! Sorry one other question, how did you go about dealing with shortened twitter urls for QTs, etc? Especially in case where original link is dead (because of account deletion / suspension), was there a way to utilize internet archive or something else to resurrect the content there?

@AnarchoDoggo QTs will look like this:

https://tinysubversions.com/twitter-archive/tinysubversions/status/789584846335074306

I leave it up to the user to either go to that link, or to see if wayback machine has it, etc. Otherwise I would be archiving other people's content and that is an ethical can of worms I do not want to open with this project since I cannot get people's consent for that

Darius Kazemi on Twitter (archived)

Good thread <a href='https://twitter.com/NoraReed/status/788940516888936448'>https://twitter.com/NoraReed/status/788940516888936448</a>

@darius makes a lot of sense, thanks. What is used to translate short links to originals?
@AnarchoDoggo I answered in the other sub-thread a few seconds ago, heh
@darius lol too quick! Thanks again for your responsiveness and work here; very useful model