Git Product home page Git Product logo

Comments (2)

MasterQ32 avatar MasterQ32 commented on July 18, 2024

Looks like Go to parent should be disabled on Gopher as the URL encodes the file type, and we cannot know the parent file type. It most likely will be a directory/list, but we cannot be safe about that

from kristall.

lefou23 avatar lefou23 commented on July 18, 2024

I think Gopher was intended to be very simple - Servers return either directory lists or "documents".
My attempt at being logical: A parent to a document would always be a text menu (directory list), unless the client is already at the "top" level of a server path.

Presumably the "connection closed" or timeout error is the old school way to know if there was anything at that address or not.
I will do more research on the protocol if that would be helpful.

I hope you'll reconsider disabling the "go to parent", unless disabling is a temporary solution, or the problem space is bigger than I understand. If you choose to disable it, perhaps convert this issue to a feature request?

I really like Kristall for its capabilities to handle gemini, gopher, and http(s). Haven't experimented with finger, but I like what I see very much in these other protocols. Thank you for all your work so far, and making it freely available.

from kristall.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.