I decided to focus mainly on actor.json and outbox.json, figuring toots would be the most critical thing folks would want to examine.
I'm not going to over every line of code (I'll share a link to the repo at the end), but here are some interesting bits.
There re two ways to select your archive, either via a simple input[type=file] or drag and drop. I covered how to do this in-depth here: 'Using Drag/Drop in Alpine.js with PDF Embed'
Once you have a handle to the file, I then begin the process of parsing the zip in a function named 'ingestZip'.
Collection
[
|
...
]