Email or username:

Password:

Forgot your password?
Darius Kazemi

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.

tinysubversions.com/twitter-ar

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.

Screenshot of a search interface on a very simple web page, which is what you will get if you click the link in the post. "poetry" is typed in to the search input, and the results are tweets that I have written about poetry.
A screenshot of a Twitter thread that I wrote in 2020, laid out in simple HTML.
200 comments
Darius Kazemi

I tried to make sure that the link previews for pages look nice over here in fediverse-land. Hopefully this renders well??

tinysubversions.com/twitter-ar

Adam Fields

@darius yes I want this please. Will happily beta test

mcc

@darius I have an Interest in this although I'd probably prefer to run it offline myself.

Also I have daydreams about making my Twitter archive publicly available and putting my Mastodon archive in the same place. This would be especially useful if I ever manage to move off Mastodon.social

Darius Kazemi

@mcc well its a static site, it works great on localhost and possible even file:// though I haven't checked

Sam Gavin

@darius this is the greatest thing I have ever seen and exactly what I was asking around about in a couple Discords earlier tonight. Lmk where I can send you money

Andy Fraser

@darius fantastic idea and thank you for doing this.

Rαhul Bhαdαni

@darius you can also archive your Twitter on web.archive.org

Darius Kazemi

@rahulbhadani How do you do that? Typically it won't grab your entire archive, just individual pages you tell it to save.

Rαhul Bhαdαni

@darius You can create an account on archive.org, and then go to account and before archiving, click on “save outlinks”. Without account sign in only a single page is archived. But of course web.archive.org won’t save your private messages but at least it will give you the latest snapshot of the public account to stay on its server as long as the server exists.

Darius Kazemi

@rahulbhadani I don't think that would work to back up a person's whole public twitter... if you can link me to a working example I would appreciate it!

Rαhul Bhαdαni

@darius You can check @potus latest twitter snapshot to get the idea. web.archive.org/web/2022121605 It even has a chrome/brave/chromium extension.

Darius Kazemi

@rahulbhadani That's not really working... it is a very incomplete archive.

Rαhul Bhαdαni

@darius I am not sure on how you have approached but it has been working great for me for many years in archiving snapshots of any webpage. You can try to play with it and should be able to figure out.

Chris Silverman 🌻

@darius this is absolutely amazing. I was looking at Tweetback, which also looks good, but that requires npm/eleventy, which I'm less familiar with. Looking forward to when/If you release this.

Darius Kazemi

@csilverman yeah I wanted just a big zip file of flat files you could serve!

Chris Silverman 🌻

@darius curious, does it display a full list of tweets, like an archive, or do you have to search for something in particular?

Darius Kazemi

@csilverman it doesn't. is there a good way to display hundreds of thousands of things for browsing? I feel like search is the best way to access this stuff but I'm open to suggestions

Chris Silverman 🌻

@darius The best approach I can think of would be something like a blog, where there's X number of tweets on the frontpage and pagination below that (personally I've never been a fan of the infinite scrolling approach).

Search is useful mainly for me, if I'm trying to find something I remember sharing, but my use case here is a preserved archive of posts that others can browse—again, like a microblog.

Joanna Bryson, blathering

@darius @1br0wn will we be able to read the threads you participated in? Twitter is transnational communication infrastructure, this is not the way to save our archive. We need federal action.

Darius Kazemi

@j2bryson @1br0wn No, I purposefully chose not to archive my replies to things

Colin Gourlay

@darius I stopped tweeting in 2017, grabbed an archive, then deleted everything. I have such regret that my archive is in an old format, and I can’t use your (or other recent) tools to make proper archives including original media and non t.co links

@kerns

@darius nice. would be a great opportunity for tailwind css. Maybe you are using it, …haven’t looked yet.

Darius Kazemi

@kerns I simply have a styles.css file that styles the HTML like it's 2002

malcriada_lala🤚🏾

@darius is Twitter still functioning well enough to get a new file of our tweets out? I had heard that was broken?

David

@darius this is super cool. My twitter account is long gone but if it weren't I'd definitely want to use this

Jocelynephiliac :reclaimer:

@darius my twitter archive zip is 3GB. You might better do it as a tool.

Derek Powazek 🐐

@darius OMG this is so needed. Thank you. If you want a beta tester, I'm here to help.

Brian Moon

@darius Definitely bookmarking this! Thank you!

addie

@darius I would love an easy way to host this myself

[DATA EXPUNGED]
Cranky David

@darius
cc: @sethcotlar @KevinMKruse @jbf1755

you might want to keep an eye on this tool ☝️- it may prove very useful for #histodons for archiving your twitter work.

Anarcho Doggo

@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!

@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.

Darius Kazemi

@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

Anarcho Doggo

@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?

Darius Kazemi

@AnarchoDoggo QTs will look like this:

tinysubversions.com/twitter-ar

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

@AnarchoDoggo I do unfurl all t.co urls to their original url

Anarcho Doggo

@darius sweet, looking forward to seeing how you do this.

Darius Kazemi

@AnarchoDoggo oh it's built in to the twitter archive itself. the text of the tweets contains the t.co but there is metadata for original URLs so I just find/replace

Anarcho Doggo

@darius oh hell yeah, good to know! Thanks again

Anarcho Doggo

@darius makes a lot of sense, thanks. What is used to translate short links to originals?

Darius Kazemi

@AnarchoDoggo I answered in the other sub-thread a few seconds ago, heh

Anarcho Doggo

@darius lol too quick! Thanks again for your responsiveness and work here; very useful model

Michael Donohoe :verified:

@darius If anyone wants to self-host their tweets, this generates a fairly simple static site github.com/donohoe/twitter-arc

Darius Kazemi

@donohoe Oh nice. Can you point me to an example of what the output looks like?

(In my case I was trying to avoid people having to interact with a scripting language and do it all in the browser.)

Molly White

@darius I was just wondering the other day if someone had built something like this!

Erik Moeller

@darius

Thank you! I'd like to fully deactivate my account next year and this would come in very handy.

waxmonkey

@darius rob lee on twitter @RALee85 needs this and he doesnt even know it yet

Greg Wasserstrom

@darius I was hoping someone would do exactly this!

psyBunny 🐰

@darius tried to do something like that but the archive turned to be something like 1.5gb, so not that feasible...

Darius Kazemi

@arjen @brewsterkahle immediate problem I see with that implementation: 'tweets.js' only contains a partial record of tweets. for some accounts there can be more files called things like 'tweets-part1.js' in addition to 'tweets.js'

I applaud the effort though and look forward to seeing the final version!!

[DATA EXPUNGED]
fionaschlachter

@angilly Hey RyRy, you gonna make a web archive for your tweets?

Darius Kazemi

I am getting various responses to this like, "Looking forward to your twitter archive creator! What happens with my twitter data when I upload it to your service? How do you expect me to upload a multi-gigabyte zip file?"

You don't know me very well. There is no upload at all. There's no service, no server. The data stays on your computer. Everything happens in the browser client :AngelDevil:

We are all so trained to assume that "web application" means "a server does the work"!

Martijn Frazer

@darius Maybe you can explain on the page your data isn't actually uploaded. The people at loudnesspenalty.com also do this for example :)

Darius Kazemi

@Tijn I have this notice on the "make it yourself" tool that is not yet released. People are just making the assumptions from the text in my tweet about how I'm going to make a service

Darius Kazemi

@jonas I have! It's great but it requires you to run node.js, and do a bunch of other dev-type stuff. I wanted something that is 100% in a browser and just involves you uploading a file and unzipping it, which is possible even if you just have cPanel access

Steven T. Dennis

@darius What if we want to post our Twitter archive as a searchable database online?

Darius Kazemi

@steventdennis the thing I am making is something you can upload to any web host. But I'm not going to set up a service to host other people's data

Stéphan Kochen

@darius This made me think, because it's a thing that's currently impossible to prove to users, but what if browsers had an irreversible `navigator.disconnect()`, plus a UI indicator?

Darius Kazemi

@kosinus that would be neat! right now the only way a user has to prove it is to basically go into airplane mode before running the code and close the browser tab before reconnecting to the internet

@infosec_jcp 🐈🃏 done differently

@darius

That IS super useful Darius!!!! I'll be sure to check this out! 👍👍👍👍

Michael Potts (HMHackMaster)

@darius I know its kinda not your goal, but not everyone is able to self-host. I would certainly be interested in hosting a way to allow users to upload their archive and be able to link to it later.
Not everyone has their own server/infra 🤷‍♂️😅

Juho Mäntysalo

@darius

Would you care to write/link a short howto?

I'd like to do something similar, but I don't have the skills to do this 100% independently.

I did save my twitter-posts, though.

Darius Kazemi

@iju I am going to release a web app where you can do this yourself, as I say in the post you are replying to

Juho Mäntysalo

@darius

Ah, I think I misread the original post (for my defence: it's 2 in the morning here).

Thank-you for both your work and kindness!

Darius Kazemi

@ne1for23 this is very different! it is a cool project though

ProperWhopper

@darius I think this is the tweet where I realised I no longer have an effin’clue about how the internet works, about storage and archiving, hosting, etc. I’m now at the age where the internet is just a thing that’s there. Something I consume and enjoy but I never contribute to or change. Basically, I’ve become “a grandad with his first ‘so-called smart phone (so what’s so bloody smart about it, can it cook pizzas?)’”. An observer.
I can live with this.

Joanna Bryson, blathering

@darius nice, but what I value most are the conversations. It's a truth of social media that no matter how much various partners value a combined work, just one can just delete sizeable portions that leant it meaning.

Caleb Hearth

@darius I don’t know how I forgot to post yesterday, but I’d love to test this out if you’re still looking. I was trying to figure out how best to upload my backup.

Kate Jones :verified: ✨🎄

@darius — I wish I knew how to do this. Too late for me— but sharing for others! 👏🏻

Darius Kazemi

My tool for making a simple, searchable, themeable archive of your public tweets and threads is now live:

tinysubversions.com/twitter-ar

The tool runs entirely on your computer, in your browser. None of your data is uploaded anywhere in the process. The output is a zip file of a basic HTML website that you can upload to a web host if you choose.

The site also answers most of the common questions I get. Please read it first before asking me questions here!

matt

@darius if you delete your account the username becomes available re-use in 30 days.

@Lee_in_Iowa

@darius Never mind the folks saying, gosh, I wanted you to do a different thing (reminds me so much of academic reviewers who critique by saying you didn’t write the article THEY would’ve written).

I am delighted to be able to turn my twitter archive into something I can actually use! Thank you so much!

mauforonda

@darius
Oh I love this. I made my own a couple of weeks ago, you can browse your tweets locally observablehq.com/@mauforonda/s and check mine as a teaser observablehq.com/@mauforonda/m . I love how you're handling threads, I somehow forgot about them 😊

A screenshot of the thing I made to browse my tweets.
Donncha Ó Caoimh

@darius This is a very nice tool for displaying your archived tweets on a stand-alone website. ☝️

If you have a WordPress site, take a look at this script by @shawnhooper:
github.com/shawnhooper/twitter

Here's an example of the same threaded tweet from my archive:

Stand-alone: odd.blog/twitter/donncha/statu

WordPress: odd.blog/tweets/14480327103672

I love the threaded view of the Twitter archiver, but it's great that Shawn's script creates comments from threaded tweets!

#WordPress #Twitter #TwitterMigration

@darius This is a very nice tool for displaying your archived tweets on a stand-alone website. ☝️

If you have a WordPress site, take a look at this script by @shawnhooper:
github.com/shawnhooper/twitter

Here's an example of the same threaded tweet from my archive:

Stand-alone: odd.blog/twitter/donncha/statu

Alecat

@darius Thank you! I often search my own tweets to find old things again, so this is amazing.

Go Up