1. Ev1l0rd

    OP Ev1l0rd (⌐◥▶◀◤) Developer - noirscape
    Member

    Joined:
    Oct 26, 2015
    Messages:
    1,927
    Country:
    Netherlands
    Delve is a minimal command line based Gopher browser. This is a port of it to the Switch

    What is Gopher
    It is a competitor of HTTP that got traction in the 90s. Compared to HTTP, Gopher was more content focused, where the main goal was simplicity and serving documents. It also is significantly more lightweight than HTTP, with each request only carrying the absolute content of the document and no extra information.

    HTTP eventually overtook it due to the main server application back then having gotten stuck into copyright troubles (long and very boring story) and it never really taking off due to it being somewhat less approachable than HTTP (and most browsers eventually dropped support for the protocol due to not wanting to fix security issues that had popped up in their implementations), but Gopher is still around and kicking.

    For more on Gopher, check out the statement from The Overbite Project who provide extensions and applications that make Gopher still accessible (as well as a proxy to access Gopher sites over HTTP).

    If you want an example of an interesting site made with Gopher, check out Gopherpedia, a version of Wikipedia that is accessible over the Gopher protocol.

    So why did you make a port of a browser for a borderline dead protocol to a console?
    Cuz I wanted to.

    No seriously, that's mainly why. Gopher is an interesting artefact of the 90s and with the internet itself kinda having gone nuts over the past couple of years, Gopher in a lot of ways feels like a breath of fresh air thanks to it's simplicity.

    Ok, so how do I use it.

    Controls are pretty simple. Press minus to bring up a keyboard and enter commands. When there's a pager, press down to advance a page. You can also press minus at any point to bring up the keyboard (this stops the pager).

    Short list of commands:
    • open <url> -> navigates to a page and opens it as a gopher menu in the pager.
    • show <filter> -> show the current gopher menu. <filter> can be used to limit the amount of visible selectors to only those containing the filter
    • save <item> -> download a file from the visible gopher menu. <item> is the number that appears in the pager. You will be prompted for a filename. The file will be saved to the download_dir variable (in the default config this is /switch/delve).
    • see <item> -> show the gopher url for an item in the gopher menu. <item> is the number that appears in the pager.
    • <item> -> <item> is a number that appears in the pager. Navigates to this item in the gopher menu.
    • back -> Navigates one entry back in the history.
    There also is a config file included. Any commands you set in that file will be loaded on start. The most useful ones here are:
    • alias <name> <value> -> Allows you to alias <name> to the command <value>.
    • bookmarks <name> <value> -> Allows you to make bookmarks. In the application, you can use the bookmarks command to open the registered bookmarks as a gopher menu.
    • set <name> <value> -> Allows you to set variables (more on that).
    Relevant variables (the application uses these for it's own things):
    • page_text -> can be set to "on". If set, uses the pager. You'll always want this enabled, the terminal has no scrolling.
    • line_length -> The line length in bytes of a page in the menu or on the lines.
    • home_hole -> The gopher menu that is loaded when starting the application. Set to the site of gopherproject.org by default.
    • download_directory -> The directory to download to.
    Hope y'all enjoy it.

    For support, ask me on my Discord.
     
    Last edited by Ev1l0rd, Feb 17, 2020
  2. lordelan

    lordelan GBAtemp Psycho!
    Member

    Joined:
    Jan 4, 2015
    Messages:
    4,470
    Country:
    Germany
    There it is. Our first homebrew browser for the Switch.
    Not HTTP(S) but at least that's something. :D
    Good job!
     
    Zukov and Ev1l0rd like this.
  3. LightBeam

    LightBeam GBAtemp Regular
    Member

    Joined:
    Oct 1, 2018
    Messages:
    196
    Country:
    France
    I didn't even know it existed before this post. Great job.
     
    lordelan and Ev1l0rd like this.
  4. lordelan

    lordelan GBAtemp Psycho!
    Member

    Joined:
    Jan 4, 2015
    Messages:
    4,470
    Country:
    Germany
    Same here lol. Reminds me a bit of using the internet on my f*cking Nokia 3310 back then. Guess it was called WAP or something like that.
     
    Ev1l0rd likes this.
  5. Ev1l0rd

    OP Ev1l0rd (⌐◥▶◀◤) Developer - noirscape
    Member

    Joined:
    Oct 26, 2015
    Messages:
    1,927
    Country:
    Netherlands
    Learned of it thanks to a developer for a social media thing I host adding support for the Gopher protocol in an april fools thing (but then actually doing it legit and it's now an actual feature of the software).

    It's legit really cool and honestly, I do think there's quite a number of uses for the protocol, even today.
     
  6. hippy dave

    hippy dave BBMB
    Member

    Joined:
    Apr 30, 2012
    Messages:
    5,650
    Country:
    United Kingdom
    Huh, honestly had no idea Gopher still existed. Fun.
     
    Ev1l0rd likes this.
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - browser, Gopher, Switch