Add gopher to URI schemes


#1

Over on SDF, we use gopher. Seriously, our use is both notable, and parties like it is 1996!

So when we link to gopher://sdf.org, we鈥檇 like it to actually link.

I imagine there are other schemes that might be useful, and checking the code I believe it currently links http, https and ftp. Can we add gopher to that? :slight_smile:

And yes, I know that scheme doesn鈥檛 work in popular web browsers, but we don鈥檛 all use the web UI, and we鈥檇 like those links to come through. Also, our browsers can do gopher. :crazy_face:


#2

I like this idea a lot.

My browser is already configured to pipe gopher links to my preferred gopher client. I鈥檇 love for the links to actually, you know, be clickable.


#3

I like this idea too, however, I think the github tracker is where this needs to go, as a feature request.


#4

After some casual grep for https? it seems that there are various URL-parsing regular expressions scattered across the code. Some of them might or might not be relevant for gopher (like fetching data across instances). They should be examined and eventually updated.


#5

Opened issue at Add gopher to URI schemes 路 Issue #6072 路 tootsuite/mastodon 路 GitHub. :slight_smile:


#6

This is great I am glad people are requesting this. As mastodon is trying to kickstart the open web this would probably make more sense to just link-iffy all :// strings of text and let the browser decide what to do. That would enable things like dat:// and magnet:// and ipfs:// links to work which are totally part of the same sphere of decentralized networks we are trying to promote.


#7

Having discussed adding additional URI schemes at Add additional protocols to URI schemes 路 Issue #6072 路 tootsuite/mastodon 路 GitHub and other places, I think the way to move forward is to replace the Twitter library Mastodon currently uses to parse URLs. Please add those schemes to the ticket, as well! :slight_smile:


#8

looks like its been implemented!