Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Gemini support #264

Open
rkta opened this issue Mar 22, 2023 · 15 comments
Open

Add Gemini support #264

rkta opened this issue Mar 22, 2023 · 15 comments

Comments

@rkta
Copy link
Contributor

rkta commented Mar 22, 2023

I'd like w3m to support the Gemini protocol0.

I already wrote a patch1 to add it.

This issue is mostly to make others aware and get some feedback if this
is useful for them.

@tats, would you be willing to add this feature?

@tkna91
Copy link

tkna91 commented Mar 22, 2023

@tats gemini is a protocol that embodies one of the major pillars of the engineer's philosophy: "Small is beautiful".
Like w3m, it is extremely valuable because of its ability to greatly reduce data and bandwidth usage, making it light enough to be used on things like mobile computers running on dry batteries.

This is from Drew DeVault, creator of sway, aerc, sr.ht, scdoc, etc.
https://drewdevault.com/2020/11/01/What-is-Gemini-anyway.html

To me, w3m itself is in a way like www to gopher/gemini, and with this patch, w3m can use www, gemini, and gopher, a similar protocol already supported by w3m, without switching, so gopher /gemini fans will be very comfortable.
Even the latest version of lynx/links/elinks does not achieve that.

Please consider merging the patches in a positive manner.
If there are any barriers, I will help you to solve them.

@097115
Copy link

097115 commented Mar 22, 2023

It would be great, though, if a patch could render not only links but also the basic tags, like blockquotes and headings.

Random example URL: gemini://idiomdrottning.org/moving-the-macguffin

@toastal
Copy link

toastal commented Mar 22, 2023

What are the chances of Gemini evolving and the maintenance required for this? Is it stable?

it is extremely valuable because of its ability to greatly reduce data

Will it ever land compression? I'd be curious if it's actually lighter than a Brotli-compressed HTML file written in a simple style.

@rkta
Copy link
Contributor Author

rkta commented Mar 22, 2023 via email

@tkna91
Copy link

tkna91 commented Mar 22, 2023

@toastal Sorry, what I wrote was not a good explanation.
Mainly the following seem to be Gemini's selling points

  • Relatively safe to use because it is difficult to track users and abuse
  • Small specifications and easy to develop.
  • Does not let the writer define the design. Design is defined by the reader and the client
  • Data is slim

For more information, please refer to the following.
https://gemini.circumlunar.space/docs/faq.gmi

@rkta
Copy link
Contributor Author

rkta commented Mar 22, 2023 via email

@097115
Copy link

097115 commented Mar 22, 2023

@rkta

With blockquotes you mean preformatted mode, I guess.

No, I -- or, actually, Gemini itself -- mean the actual blockquotes, which are represented by the leading > (and are similar to the HTML's <blockquote> tag). They are also sort of on your TODO list, but without implementing all these basic things, the Gemini pages aren't really readable (see the sample link in my first comment above, for instance).

@rkta
Copy link
Contributor Author

rkta commented Mar 22, 2023 via email

@097115
Copy link

097115 commented Mar 22, 2023

I see, we are talking about Quote lines

Except they are called exactly blockquotes in the documentation but whatever :)

Thanks for your comment and for the roadmap nonetheless :)

@rkta
Copy link
Contributor Author

rkta commented Mar 22, 2023 via email

@097115
Copy link

097115 commented Mar 22, 2023

| 5.5.3 Quote lines

...Which is because they are specifically talking about the line-oriented structure in this part -- and call links "link lines", headings "heading lines", etc. But somehow we don't really use that terminology, do we? :)

@rkta
Copy link
Contributor Author

rkta commented Mar 22, 2023 via email

@m040601
Copy link

m040601 commented Mar 23, 2023

One more vote for this. Nice to see my 23 year old "Toyota Corolla" also support gemini.

Just my 2 cents as a proficient user of w3m, but not a programmer.

I have extensevely tested and used many gemini clients.
I have already compiled and tested rkta w3m fork with gemin support.
Works flawlessly. Thank you for your work.

Another excellent option very confortable for w3m users, who want to try gemini is "telescope". Awesome work by Omar Polo, https://telescope.omarpolo.com, https://github.com/omar-polo/telescope

@rkta
Copy link
Contributor Author

rkta commented Mar 26, 2023 via email

@097115
Copy link

097115 commented Mar 26, 2023

@rkta

Looks nice, thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants