So basically what I want to build now is something where you can take your Mastodon export, and then turn it into a static website, prefixing all your posts as if they were fedi posts.
-
Oliphantom Menacereplied to Oliphantom Menace last edited by
@rrgeorge Like it kind of cracks me up that Mastodon is like, "Here's your archive!" followed by, "Someone else will figure out how to do something with it! Good luck!"
-
Oliphantom Menacereplied to Robert George 𓇳𓃀𓁹𓏏𓇥𓆓𓀀 last edited by
@rrgeorge Well, you know, it's probably more of an optional thing and not useful for all situations.
The static version would be perfectly fine to start with.
-
@oliphant I am winding down a personal mastodon instance and would love to be able to run a script and have it self-destruct and be replaced with a much more easily hostable static instance.
Or if you wanted to maintain the activity-pub-ness a much more simple server that didn't allow for interaction and just served the content.
-
pasta la vidareplied to Robert George 𓇳𓃀𓁹𓏏𓇥𓆓𓀀 last edited by
-
@oliphant This almost sounds like my Fossilizer? It takes a mastodon export and builds a static site with client-side search. Can also grab incremental updates after the initial import. Been a little while since I last hacked on it, but been meaning to get back to it
GitHub - lmorchard/fossilizer: A static site generator for Mastodon exports
A static site generator for Mastodon exports. Contribute to lmorchard/fossilizer development by creating an account on GitHub.
GitHub (github.com)
-
@lmorchard YOU ARE THE DUDE
-
@amd Looks like this might exist!
Les Orchard (@[email protected])
@[email protected] This almost sounds like my Fossilizer? It takes a mastodon export and builds a static site with client-side search. Can also grab incremental updates after the initial import. Been a little while since I last hacked on it, but been meaning to get back to it https://github.com/lmorchard/fossilizer
hackers.town (hackers.town)
-
@oliphant Hopefully it does some things you want? It's very much a work in progress. But, I was trying to build it such that templating & styles should be pluggable & hackable
And written in Rust, because I figured that might help it work as a standalone little tool. (and not golang, because I didn't feel like golang when I started it)
-
@lmorchard I'm definitely going to have to play with this a bit, especially if I can ever get Mastodon to actually generate my enormous export.
-
@oliphant Hopefully this "quick start" still tells the truth
-
@lmorchard Well it's like, a website shuts down with 3 users on it, and those 3 users want to be able to host a static site of their posts at the old domain, I think that would be pretty neat.
And a sort of 'archive.org' version of this running that accepted uploads from anyone so anyone could link to their old mastodon account would be kinda keen, too.
-
@oliphant Oh and it's kind of stale, but I just remembered I shoved an archive of my toots onto github pages as a example
-
Oliphantom Menacereplied to Les Orchard last edited by [email protected]
@lmorchard The thing that I guess is lacking, or at least the way I imagined it, was a permalink for individual toots. You've got a permalink back to the original toot, but otherwise on the static site, things are organized by day.
-
@oliphant Oh, there's permalinks, albeit hard to see - the little "#" next to dates are in-page links. Like this one:
-
Oliphantom Menacereplied to Oliphantom Menace last edited by
@lmorchard has one option here:
GitHub - lmorchard/fossilizer: A static site generator for Mastodon exports
A static site generator for Mastodon exports. Contribute to lmorchard/fossilizer development by creating an account on GitHub.
GitHub (github.com)
There's also this, but I haven't tried it out yet:
https://tootviewer.netlify.app/
https://github.com/cfjedimaster/tootviewer?tab=readme-ov-file -
@lmorchard Aha! Didn't see that.
-
Oliphantom Menacereplied to Oliphantom Menace last edited by
The exported data will be in the ActivityPub format, readable by any compliant software
"Any compliant software" is doing a lot of heavy-lifting here, Mastodon.