hey fedizens (and especially niusers)! i built something!
it's a tool that can open a mastodon export archive and show you all of your toots and favorites (if they're available). it's still not perfect and needs substantial improvements, but i decided to publish it now, as niusers were asking questions about how to view export.
also i'll post updates at @meowViewer (report bugs there if you encounter them!). please boost!
@FdC thanks :)
@chebra it turned out to be quite buggy during development, but no other browser has such good UI...
Yes the UI is pretty nice and innovative. And it's not so buggy since 2.0 or maybe 2.1
@chebra try pressing f5 in devtools. or using tab navigation. not significant bugs, but quite annoying. i had to test some (minor) features in chromium as they're just broken in vivaldi.
haha, yes I know about that reload bug in dev tools.. but it only happens on the first try, no biggie. Similar bugs were fixed with previous releases quite quickly, so I'm willing to give them a pass.
@leip4Ier love your browser and cursor theme
@clacke no, it's a user-end viewer. it loads the archive data into the user's browser storage and shows all their toots (incl. followers-only and DMs) and favs; there's also search. a static backup generator would need quite a different featureset: only public posts, no search, no favs, offline generation of html instead of a dynamic web-app. so, sorry, but that would require a very different tool!
yeah, there's a tar.gz with a few JSONs and all the user's media files
@koyu i'm glad you find it useful :)
i have mixed feelings about open-sourcing it, still undecided whether i will do it.
@nightpool sorry, it's not for now, and i don't know if it will be.
it doesn't do anything interesting with as2, i mostly just looked at the jsons from several different instances and tried to make it work. scope settings are something that wasn't obvious, i could send you code for those if you're interested (though it's just a few lines..). everything else (user names and display names, post contents, CWs, dates, media) is pretty straightforward.
@nightpool there's something i'm probably doing wrong, it's custom emoji. i just use the regex from mastodon to find them in text for usernames and in text DOM elements for post content. i know it's a bad idea and i should probably parse html and replace all the :emoji: with img tags, but that's harder :x for now it's sanitize html (strip non-whitelisted tags and attributes), add it to DOM and then find and replace shortcodes.
A Mastodon instance for info/cyber security-minded people.