this post was submitted on 21 Sep 2024
57 points (95.2% liked)

Privacy

32130 readers
1165 users here now

A place to discuss privacy and freedom in the digital world.

Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.

In this community everyone is welcome to post links and discuss topics related to privacy.

Some Rules

Related communities

much thanks to @gary_host_laptop for the logo design :)

founded 5 years ago
MODERATORS
 

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?

top 18 comments
sorted by: hot top controversial new old
[–] [email protected] 23 points 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 21 points 2 months ago (1 children)

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.

[–] [email protected] 30 points 2 months ago (1 children)

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).

[–] [email protected] 12 points 2 months ago (1 children)

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.

[–] [email protected] 7 points 2 months ago* (last edited 2 months ago) (1 children)

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 4 points 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.

[–] [email protected] 17 points 2 months ago* (last edited 2 months ago) (1 children)

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.

[–] [email protected] 1 points 2 months ago

+1 for Servo

[–] [email protected] 16 points 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.

[–] [email protected] 9 points 2 months ago* (last edited 2 months ago) (1 children)

Always happy to see gemini-related posts!

Check out https://levior.gitlab.io/, a http to Gemini gateway. Found it at https://github.com/kr1sp1n/awesome-gemini

[–] [email protected] 3 points 2 months ago* (last edited 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).

[–] [email protected] 7 points 2 months ago

It’s possible. That’s basically web scraping.

[–] [email protected] 4 points 2 months ago (2 children)

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

[–] [email protected] 5 points 2 months ago* (last edited 2 months ago)

Gemini is not just a delivery protocol. It also specifies a content format.

[–] [email protected] 3 points 2 months ago (1 children)

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

[–] [email protected] 2 points 2 months ago (1 children)

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...

[–] [email protected] 3 points 2 months ago

You can install a gemini / gopher browser to see what sites look like with them.

[–] [email protected] 2 points 2 months ago

Blocking with extra steps