mathstodon.xyz is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance for maths people. We have LaTeX rendering in the web interface!

Server stats:

2.8K
active users

If you download your archive it arrives wrapped as a static HTML page, which is not very useful for doing anything with, and worse: it requires the original account to be still active to do useful things like enlarge the images since they use t.co links.

So here's a script to convert a Twitter archive to or other formats: github.com/timhutton/twitter-a

Now you can archive your tweets in any way you want.

GitHubGitHub - timhutton/twitter-archive-parser: Python code to parse a Twitter archive and output in various waysPython code to parse a Twitter archive and output in various ways - timhutton/twitter-archive-parser
Tim Hutton

A helpful person (@masukomi ) pointed out that Twitter archives don't even contain full-resolution images. Grrr!

The first one I looked at was 600x809 in the archive. If I download it from Twitter appending ?format=jpg&name=large then it gives me an image that is 780x1052.

@timhutton @masukomi Ugh. Yay waiting a day for a half-assed archive.

@timhutton @masukomi

Got my archive a day ago and did not have any of my bookmarks, it did have lots of”ads you may have seen lately “ though. So now going through them all and manually creating lists offline that are relevant for my research around NFTs, AI and IP law.

@chicagonz @timhutton

There are ads in the archive?!?!

I didn't see any in mine but I didn't mine it thouroughly. Is there anything notable in the related JSON we can filter on?

@masukomi @timhutton

My archive came bundled up with an HTML page so you got sort of an offline Twitter with all of the content. I was looking for my bookmarks which were not there, I assume there is an attribute you can parse for the ads but didn't look.

@timhutton @masukomi
QQ: does this also have fetch/save alt text options? There's a web alt-text saver but it did not work for me.

@elithebearded @timhutton

no, not yet. I don't see the alt text in the JSON data file they provide either so it'd probably require screen-scraping to get.

Probably not hard, but I think I'll leave that enhancement to Tim as I'm really not a Python geek.

@timhutton @masukomi that's pretty standard unfortunately -- Facebook did the same thing when I fetched my archive from them a few years back. It didn't occur to me to write a script to try to fetch larger versions though, so thank you for that!

@timhutton @masukomi is it possible to merge a Twitter account into Mastodon? I thought I saw something about that. 🤔

@TitaniumArtNerd @timhutton

Like, import the history of tweets into a mastodon (or similar) server? not that I've heard of. Haven't even heard of anyone working on that.

@masukomi @timhutton Thanks for responding. I think I misunderstood a post I saw previously.

@TitaniumArtNerd @timhutton

to be clear, as a rails dev (mastodon being rails), i see no reason it shouldn't be 100% doable. You'd probably need direct access to the database on your mastodon instance (which few have) but it should be doable.

@TitaniumArtNerd @timhutton

I guess you could also, just replay the tweet history as NEW posts on mastodon (insert them as if you'd posted them at the time you ran the script) but... tweets tend to be very dependent upon the time they were uttered, it'd be weird to suddenly see someone posting about obama having just gotten elected, for example.

@masukomi @timhutton It’s probably best to just let it go. I did it with Facebook, so I can do it with Twitter. It’ll feel like more of a loss this time.

@timhutton @masukomi Thanks for doing the legwork on this. Super helpful!

@timhutton @masukomi
That picture is NOT 4096x4096, though, so maybe it will just return the largest size it has if you specify that.

@selulven @masukomi Full-size image download is included now, thanks to the contributors. See the github for the latest updates.

@bornach @timhutton @selulven

🤦‍♀️

Failed to consider the consequences of the 🔥🔥🔥 currently burning in TwitterHQ's systems.