Script which converts an ActivityPub archive full of images to a bunch of Gemini files
Go to file
Mike Lynch 60b3dc619e Updated README.md 2024-05-04 14:40:14 +10:00
README.md Updated README.md 2024-05-04 14:40:14 +10:00
apub2gmi.py Moved the regexps out to a config file 2024-05-04 14:38:10 +10:00
colophon.gmi Made the colophon on each index page be a file and provided a sample. 2024-05-04 14:14:36 +10:00
config.json Moved the regexps out to a config file 2024-05-04 14:38:10 +10:00

README.md

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 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.