apub2gmi.py
This is a script which takes an archive exported from a Mastodon account, looks for media attachments and uses them to build an archive for a Gemini server.
I use it to update the Glossatory archives and there's still a few things hard-coded in it which I haven't moved out to a config file, specifically the regular expressions which match attachment URLs and pull bits of text out for the index links.
Description
Script which converts an ActivityPub archive full of images to a bunch of Gemini files
Languages
Python
100%