💾 Archived View for idiomdrottning.org › gemini-on-pleroma captured on 2023-05-24 at 18:41:43. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-12-03)

-=-=-=-=-=-=-

Adding gemini urls to Pleroma

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.

If you have Admin FE enabled

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

If you don’t have Admin FE enabled

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.