We all know how awful most modern websites are in terms of bloat, javascript and tracking. Not only that, but designing and maintaining web-browsers has become such a gigantic undertaking (almost the size of an operating system), that only a few companies have the resources to do it (google and mozilla, and mozilla might not hold on for much longer).

These alternative protocols offer a minimal set of features, and are trying to get back to what the web should’ve been: static content with images, text, and links, with local applications filling the void for anything more complicated than that.

Lets say I wanted a privacy-friendly way to view a page on a news site. I could:

  • Copy the URL of the page
  • Open some tool, (or website, anything), paste that url.
  • It converts the content in the url to the necessary privacy-friendly alternative format, and I can view it with my gopher/gemini browser (or even maybe a markdown viewer).

I know there are a few html -> markdown converters that can do the last step.

Does anyone know if this would work?

  • Treczoks@lemmy.world
    link
    fedilink
    arrow-up
    21
    ·
    2 months ago

    Once upon a time, gopher was actually a supported protocol. Translating from gopher to HTML is an easy job.

    My first introduction to the web actually was “like gopher, but with hypertext and a gui.”

  • grudan@programming.dev
    link
    fedilink
    arrow-up
    21
    arrow-down
    1
    ·
    2 months ago

    I don’t know the answer to your question, but I have never heard of these alternative protocols. Thanks for giving me something new to go learn about.

    • Dessalines@lemmy.mlOP
      link
      fedilink
      arrow-up
      27
      ·
      2 months ago

      The Gemini protocol is really interesting. The site markup is so minimal, that people can (and do) create browsers for them from scratch, in a way that would be impossible for html web browsers.

      I’m probably in the minority with this opinion, but I genuinely hope web browsers die. Google all but owns the browser, with nearly every browser except for firefox being a skin on top of google’s browser engine. This situation is only getting worse, so I really appreciate the efforts of these alternative protocols to slim down and provide a privacy-oriented way to view what should be simple static content (text + pictures).

      • snooggums@lemmy.world
        link
        fedilink
        English
        arrow-up
        12
        ·
        2 months ago

        The fact that there was a shift in who dominates browser share from Netscape to Internet Explorer to Chrome suggests that the amount of complexity is going to encourage a market monopoly as long as someone breaks the standards in a way that gives them a small advantage. I don’t know if the alternatives would have a different outcome, as they may be simple now, but bloat may be inevitable.

        • Dessalines@lemmy.mlOP
          link
          fedilink
          arrow-up
          6
          ·
          edit-2
          2 months ago

          Makes sense, although it’d be nice for privacy-oriented people to have this thin-layer that converts any site into a de-bloated version that they can view safely. As far as I know, there isn’t any tool that even provides this option right now.

          • grudan@programming.dev
            link
            fedilink
            arrow-up
            4
            ·
            2 months ago

            It’s a complicated problem. The biggest privacy issues come from the use of JavaScript, but most of the time sites use JavaScript heavily and become unusable when it’s disabled. Other sites will straight up not let you access them without JavaScript.

  • Steve@communick.news
    link
    fedilink
    English
    arrow-up
    17
    arrow-down
    1
    ·
    edit-2
    2 months ago

    You’re basically describing the “Reader View” that most browsers have already. Then trying to force it through a more limited standard.

    There are some current attempts a making new browser engines. Servo and Ladybird are two I know of.

  • TerribleTortoise@lemmy.world
    link
    fedilink
    arrow-up
    17
    arrow-down
    1
    ·
    2 months ago

    The simple answer is yes.
    It’s possible to encode or tunnel anything over any protocol.

    The next question is why isn’t it done more?

    1. http has basically become the defacto internet protocol for all media content. This has resulted in a lot of other protocols from becoming blocked due lack of support or due to firewall rules.
    2. efficiency. http (and all the other protocols it runs atop) have become highly optimized for doing what it does. To layer something like http over another protocol, would certainly be possible but it would likely be slower, less responsive and lack a lot of the niceties that make http work as well as it does.

    For the above reasons it’s actually more common to see other protocols run on top of http. This is especially common to prevent blocking and censorship by making the traffic look like normal http traffic when it may actually be private messaging apps, file transfers, VPN, etc.

    • rrobin@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      2 months ago

      Just pilling on some concrete examples, awesome-gemini is definitely the best place to start looking. There are both converters for the gemtext format and gateways for the protocols.

      For format conversion tools, awesome-gemini already lists a handful of tools.

      From the gemini side there are some gateways for specific websites operated by various people

      • BBC news gemini://freeshell.de/news/bbc.gmi
      • The Guardian gemini://guardian.shit.cx/world/
      • Lots of others gemini://gemi.dev/cgi-bin/waffle.cgi

      These work pretty well for me. I think there were public gateways to open http pages from gemini, but I can’t recall one from the top of my head.

      Some of the gemini browsers support gemini proxies to access http(s) content. You can run it in your own machine. Duckling is the only one I’m familiar (but see the awesome list for more)

      Conversely, to access gemini pages from a web browser portal.mozz.us hosts a gateway (just place whatever gemini link you want in the box).

      One big privacy caveat of using gemini proxies for this is that while this may improve your privacy with regards to javascript/cookies it will reduced it because it makes your behaviour more identifiable from the point of view of the websites you visit (i.e. your proxy is clearly not a browser making it unusual).

  • kometes@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    2
    ·
    2 months ago

    You are conflating content with delivery protocol. The websites would look the same regardless of protocol.

    • Dessalines@lemmy.mlOP
      link
      fedilink
      arrow-up
      3
      ·
      2 months ago

      I think Gemini or Gopher includes both. They don’t read html / javascript, so they definitely wouldn’t look the same.

      • kometes@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        1
        ·
        2 months ago

        How do you think they would look? To get the news web page in your example, you are still going to have to have to render the page by running the client-side scripts required by modern websites and render some type of markup language for layout. It’s not like web pages are secretly sitting in pure text on a server somewhere…