Skip to content
This repository has been archived by the owner on Jun 4, 2022. It is now read-only.

Gopher support? #180

Open
ryliejamesthomas opened this issue Jun 28, 2019 · 5 comments
Open

Gopher support? #180

ryliejamesthomas opened this issue Jun 28, 2019 · 5 comments

Comments

@ryliejamesthomas
Copy link

Hi! Really enjoying the browser so far!

Just wondering if you plan on adding support for the gopher protocol.

@alcinnz
Copy link
Owner

alcinnz commented Jun 28, 2019

I'm glad you're enjoying it.

To answer your question, kind of. I'd be very keen to accept this contribution, or maybe it'd be better as seperate but seamlessly integrated app.

However I've got plenty else on my plate before I implement this myself.

@ryliejamesthomas
Copy link
Author

Very understandable!

It already does a decent job of sending gopher pages to external programs I think. But I guess a handy option at some point would be to be able to send gopher:// links off to the floodgap proxy thing, which uses https://gopher.floodgap.com/gopher/gw?a=[url]?

@alcinnz
Copy link
Owner

alcinnz commented Jun 29, 2019

Or it should be trivial enough to just send it to WebKit as plain text, in much the same way I've implemented the odysseus: or icon: URI schemes.

But then I'm not all that familiar with the Gopher protocol.

@ryliejamesthomas
Copy link
Author

It should be! The way links are written in gophermaps could make it look pretty messy. But if it was wrapped in a <pre> element, or even styleable like the 'View Source' pages I think that could be a good building block for the future.

@alcinnz
Copy link
Owner

alcinnz commented Jun 30, 2019

This file would be a good reference for anyone interested: https://github.com/alcinnz/Odysseus/blob/master/src/Services/icons.vala

Though you'd also need to add it to the build system and initialization routine.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants