makew0rld / amfora

A fancy terminal browser for the Gemini protocol.
GNU General Public License v3.0
1.14k stars 68 forks source link

localhost address #326

Closed FiskFan1999 closed 10 months ago

FiskFan1999 commented 1 year ago

Currently, if you type "localhost" into the bar, it defaults to a geminispace.info search for that term, as opposed to a direct link with scheme gemini:// if you type a URL such as gemini.circumlunar.space (this happens to me a lot because I enjoy using amfora to test my gemini capsule locally). This doesn't happen if you call amfora localhost, because the address in argv is always treated as direct URL. I'm interested in your thoughts on if localhost should also result in a direct link instead of a search. Thank you

makew0rld commented 1 year ago

Yeah that's fair, I think it makes sense for localhost to go to gemini://localhost/ in the bottom bar. I'm not working on Amfora much these days but would accept a PR for this.

FiskFan1999 commented 1 year ago

Thanks. Will get on this. Thanks for making amfora by the way.

Sent from my iPhone

On Nov 26, 2022, at 13:39, makeworld @.***> wrote:

 Yeah that's fair, I think it makes sense for localhost to go to gemini://localhost/ in the bottom bar. I'm not working on Amfora much these days but would accept a PR for this.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.

makew0rld commented 10 months ago

Fixed in #327