# 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](gemini://gemini.mikelynch.org/glossatory/) and it assumes that all of the media attachments have a name with two parts you want to pull out of it and use as the human-readable form of the index.