💾 Archived View for idiomdrottning.org › gemini-on-pleroma captured on 2023-11-14 at 08:38:36. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2021-12-03)
-=-=-=-=-=-=-
If you’re admin on a Pleroma instance that hasn’t enabled support for gemini:// links yet (as in: making gemini links clickable from the https frontend of Pleroma), here’s how you do that. You only need to do it once.
(I.e. if you have config :pleroma, configurable_from_database: true enabled.)
Then open the Admin FE in your web browser, go to Settings → Instance → URI Schemes. You’ll see a bunch of Valid schemes already entered, with x:es so you can remove them. You can type in a new one beside them — so type in gemini without the “://”, and then click on what
you’ve typed. (My mistake is that I was just hitting enter.)
Then add the following to your prod.secret.exs:
config :pleroma, :uri_schemes, valid_schemes: [ "https", "http", "dat", "dweb", "gopher", "gemini", "hyper", "ipfs", "ipns", "irc", "ircs", "magnet", "mailto", "mumble", "ssb", "xmpp" ]
This latter method requires a restart of the instance as far as I know, whereas the first method doesn’t.