10 ms·
Lagrange: A desktop GUI client for Gemini
- throwawayboise 5y agoIf you're interested in hosting a gemtext site without a lot of fuss you might look at this by the proprietor of midnight.pub: https://smol.pub/ https://smol.pub/ No affiliation, just happened to stick in my memory for some reason.
- kovac 5y agoI'm not a protocol expert. I understand why one would not want to use a subset of HTTP, but why not use the existing, lighter weight gopher protocol instead and implement a server and client that supports TLS for gopher instead? Because TLS being baked into it seems to be the only technical difference between the two protocols.
- shp0ngle 5y agoGopher has split between directory/text. Gemini does not. Gemini is not so rigorous with formatting as gopher; in Gopher, the different clients can format the paragraphs and do their own thing. The TLS is the most problematic part, for me; as Gemini decided to go with TOFU, which is IMO horrible in web-like setting; and the TOFU itself is vaguely defined and the specs basically says "client and servers can ignore it or whatever". But it's simple indeed.
- kovac 5y agoThanks for your points. I agree on the TLS, struck me as odd too. Feel like a gopher(s) would be a nice addition.
- spc476 5y agoWhile in one sense, it's trivial to transport gopher over TLS, in another sense, it's hard to add because gopher itself has no concept of TLS, and thus a client cannot know from within gopher to use TLS or not. I blogged about this: http://boston.conman.org/2019/03/31.1 http://boston.conman.org/2019/03/31.1
- kovac 5y agoIsn't keeping 3rd party stuff like TLS out of the core protocol a good thing? Regarding breaking existing clients in a catastrophic way, I think the server could send an error response to the client that don't support TLS (which is defined in the protocol so the clients should understand the error) if it doesn't want to serve some content without encryption or serve content over port 70 over plain text otherwise? I don't see why old clients are a show stopper there.
- spc476 5y agoKnow your market. There's a substantial number of people who use gopher from older computers (think of retro computing). Also, error reporting in the gopher protocol is terrible at best.
- mattlondon 5y agoGopher+ makes knowing to use TLS trivial. Most modern clients default to using TLS and failover to plain text as far as I know.
- spc476 5y agoThere are very few, if any Gopher+ servers. And because of that, there are very few clients that support it. And I do see some clients attempting TLS connections to my gopher server, and it clutters the logs with garbage attempts.
- mattlondon 5y agoI think it is a bit of a chicken and an egg problem. There are a few Gopher+ servers out there (pygopherd gas Gopher+ support for example, which is reasonably widely used), and the Gopher+ protocol is pretty flexible and designed with the metaverse in mind originally (see GopherVR from the original authors). It is a shame that a lot of current Gopher users seem to be strongly against anything apart from standard Gopher, when the original authors of the protocol had much grander ideas for interactivity & visual interfaces. Sigh. For anyone interested, the Gopher+ protocol doc never made it to a proper RFC, but is on github in a hyper-linked format to make it easier to read: https://github.com/gopher-protocol/gopher-plus/blob/main/gopherplus.md https://github.com/gopher-protocol/gopher-plus/blob/main/gop... https://github.com/gopher-protocol/gopher-plus/blob/main/gopherplus.md#25-gopher-item-attribute-information https://github.com/gopher-protocol/gopher-plus/blob/main/gop... specifically mentions 3D representations of Gopherspace. They also provide provision for a "general purpose" scripting language - I think Javascript would fit the bill - there and in section 2.8
- encryptluks2 5y agoI really want to try this out but am trying to limit the packages I install from Arch AUR. Any trusted users able to package this in the regular repo?
- krapp 5y agoYou can't just compile it and run it?
- encryptluks2 5y agoI could, but that sort of defeats the purpose of using a distro with a package manager that already has prebuilt packages. Graphical applications usually take a bit of time to compile as well. Seems like they'd have an official package by now.
- gcthomas 5y agoLagrange is the best of the Gemini clients right now, if you are looking for a GUI app. It launches in a fraction of a second, which is blissful compared to launching a full-fat web browser, and you get the lean, clean pages that Gemini offers, with no need for extensions and adblockers, javascript or fancy frame-based pages.. Although Lagrange does handle multimedia well, it is focussed on making plain unicode text look beautiful.
- zepto 5y agoDiohsc is the other contender for best client, but for a new user, Lagrange is best.
- gerikson 5y agoI prefer Amfora as a TUI client: https://github.com/makeworld-the-better-one/amfora#amfora https://github.com/makeworld-the-better-one/amfora#amfora But I'll give Diohsc a go!
- zepto 5y agoI used amfora for quite a while before I found Lagrange and Diohsc. It is a very good client, also probably the easiest to use TUI client for starting out. Diohsc takes a little getting used to, but once you start using marks and the queue, it becomes very pleasant.
- jinwoo68 5y agoThere’s Elpher if you’re on Emacs. It supports both gopher and gemini.
- mattkevan 5y agoElaho [1] is a really nice Gemini browser for iOS. It’s quite enjoyable to fire it up once in a while and go down that particular rabbit hole. [1] https://apps.apple.com/gb/app/elaho/id1514950389 https://apps.apple.com/gb/app/elaho/id1514950389
- olah_1 5y ago
- coffeecat 5y agoCan any Gemini proponents explain what its benefits are compared to just adopting a minimalist subset of HTML? The goal of bringing back the early web (hyperlinked text documents without all the other junk) is great, but making it incompatible with existing browsers makes it unlikely to grow beyond a small, walled-off community of enthusiasts. Is that considered a feature rather than a bug?
- gerikson 5y agoPretty much, yeah. It's better seen as a souped-up Gopher than a Web alternative. I've been making a concerted effort to learn Gemini while still keeping my head, and while I still think the idea fundamentally is pretty useless, the people involved are generally nice to hand out with. https://portal.mozz.us/gemini/gerikson.com/gemlog/gemini-sux/ https://portal.mozz.us/gemini/gerikson.com/gemlog/gemini-sux...
- tjoff 5y agoSee 2.5: https://gemini.circumlunar.space/docs/faq.gmi https://gemini.circumlunar.space/docs/faq.gmi Not sure how a subset would work in practice. Though I can imagine a javascript gemini client (as perverse as it sounds...) that could be used as a tunnel into the gemini world in cases where you just want to look something up quickly and/or don't have or want to install a proper client
- coffeecat 5y ago> Not sure how a subset would work in practice. What I'm imagining is a specification, defining which subset of HTML should be included, together with a <meta> tag which indicates a document's intention to be compliant with the standard.
- encryptluks2 5y agoI'm imagining some form of YAML or similar frontmatter and markup. A lot of markdown extensions really add a lot of value. Like graphs, admonitions, diagrams, presentations, tabs, mindmaps, etc. I am not particularly fond of XML. I remember liking some of the ideas behind Pug/HAML etc and wished that a browser would just render it natively.
- olah_1 5y agoThe difficulty of hosting my own pages makes me prefer a system like Nostr[1] where the user doesn’t need any kind of account on a specific server. I could also post markdown files over that too. [1]: https://github.com/fiatjaf/nostr https://github.com/fiatjaf/nostr
- zenojevski 5y ago(This is a bit of a shameless plug, but hopefully it'll be interesting to the general discussion about gopher-like protocols and graphical browsers) It doesn't support Gemini (just yet) but here's my take at a modern, fully-featured graphical Gopher client: https://github.com/zenoamaro/unnamed-gopher-client https://github.com/zenoamaro/unnamed-gopher-client I tend to spend hours browsing Gopherholes and Phlogs, but I tend to lose track of where I am. So I implemented a navigation system that I have yet to see in any other Gopher client (or web, for that matter): - Drill-down Columnar Navigation. It is heavily inspired by Finder's own column navigation, so if you like that, you'll be at home. In addition, it has other features that every modern browser should have: - A tabbed interface - An omnibar with search capabilities (Using Veronica-2) - Files and folders view - Inline image previews with zooming - Caching I have many more ideas to contribute back to the Gopher ecosystem without losing its essence (see the roadmap), so if you want to contribute, send ideas, share your opinions, or just show support, please let me know! I hope you like it!
- liafail 5y agoIs there an effort toward creating a decentralized search engine for Gemini sites/capsules? The Lagrange/Amfora clients will be nice for adoption, but without a convenient way to locate sites it seems doubtful that the protocol will be widely adopted.
- makeworld 5y agogemini://geminispace.info is a great search engine. There isn't a decentralized one as far as I know.
- soapdog 5y agoWhenever Gemini is mentioned here in HN people will ask: "Why not a subset of HTML with HTTP" or some similar "Why not $SOME_OTHER_TECH" question. Which for me is the same as hearing "Why not chocolate cake?" after saying "I like strawberry tarts". What people don't realise is that Gemini is a different thing for each person involved with the ecosystem. Some people are in it because it is easy to implement, something that can't be said about the recent specs of HTTP/HTML specs. Others enjoy having a spec that is easy to understand and absorb, even if they're not developing with it. There are those that like how clients decide how to present the content, and that some clients allow for a ton of customisation thus placing the user in control of the presentation. Each person is enjoying the ecosystem for their own reason, and that doesn't need to be a reason that serves as an answer to "why not HTML and HTTP?" Mostly, people do Gemini stuff because they're having fun, and that is enough. Lagrange is a great client. There are a gazilion others. Pick one up for a ride, have fun.
- msla 5y agoMy only "problem" with Gemini is how people conflate the protocol with the documents served over the protocol.
- soapdog 5y agoAFAIK, Gemini is the protocol and Gemtext are one of the types of documents. Be aware that you can transfer HTML documents over Gemini, and that many clients render more than just Gemtext. My own little client Fafi, built with Racket, can render Gemtext, images, RSS, and Markdown. If you attempt to transfer using HTTP such as having an HTTP link in a Gemtext, it will simply launch the default browser instead. I believe some clients will actually render the HTML in a webview.
- zamadatix 5y agoPrecisely, how many people are really interested Gemini because it's an HTTP like protocol over TLS+TCP instead of HTTP over TLS+TCP? It seems gemtext files are the real draw and those would be a lot less hassle to just do over HTTPS in the first place (for both browsers and custom applications). But who knows, maybe all of the people hyped about Gemeni are just really excited about TOFU or something and just happen to not be interested in actually hosting non gemtext documents by sheer chance. More likely it seems it's more a form of gatekeeping than anything about the protocol of document format itself. It's almost like if programmers decided .md files should only be served and rendered to markdown clients over an HTTP-like markdown protocol - yeah, it'll keep less programmers looking at it but there is nothing special that couldn't have been done by serving the .md over HTTPS outside the "cool kids club" portion.
- keyle 5y agoThis is interesting, I've never heard of Gemini before... shame on me. My first thoughts as an older internet builder, is that you're going to need a `mod_php` of some kind, call it `mod_gemini` for Apache to allow hosts and hosting ISPs to basically just have the ability to ftp and present "webpages" (what are they called, "geminipages"?) - same for nginx, caddy, etc. but not as trivial as it needs to present on another port. Asking people to host their own webserver is basically the biggest show-stopper at this stage. Offering easy drop-in solutions like we used to have in the earlier days of PHP is crucial. I had a look at the markup and a priori, it seems very straight forward, almost markdown like, which I like. Consider adding support to gemini to popular static site generators like Hugo etc. From there you can build a small golang or python local client, like the early "dropbox client", living as a service on your computer that would convert html via beautifulsoup or other `outline.com` type converter to gemini on the fly, host it locally including local server, including proxy-ing the web links you visit, stripping all the javascript crap and cookies-we-want-to-fill-your-pantry-click-here-or-die-a-thousand-modals. Sure, you won't have half the web working, but you still will have most of the important parts. Imagine browsing the web with Safari reader, almost a dream at this stage. The content is what makes the web, not the interactivity, as much as people would like to believe. The essence of the internet is the thoughts it carries, not buttons that wobble when you hover them. At that point, you can start talking about caching of online services in the gemini space - sort of like a shared global cache of internet content - with only the content and images/media making it through, start with blogs and websites that care about markup quality... No one will care at this stage because it's too niche, and because you're not caching linkedin or social medias, leave that crap behind please. By that stage, start thinking about a search engine and classifiers, and you start having your own island of "new internet" going in the opposite direction of the metaverse, and "the people" (basically anyone that has installed an ad-blocker) will jump in with two legs, two arms, and their entire being - they just don't know it yet.
- shp0ngle 5y agoIt's not that popular, there is literally just tens of gemini servers, for now you are not missing much. Ironically there is no good search engine for Gemini; there is one at gemini://geminispace.info/ but it is shockingly bad, given how tiny geminispace is
- betwixthewires 5y agoI've been a Lagrange user for about a year and it is absolutely phenomenal. I know everyone getting into Gemini is building a server and some are building a client and it's a fun project to build, but as far as practicality goes, from an end user perspective, Lagrange is far and away the best user experience I've found in a client. Now granted, I haven't tried desktop gemini clients much since finding it, but the point still stands. If you find yourself wanting to read a lot and you find the content available over Gemini enticing give it a shot.
- powersnail 5y agoOn a tangential note, this is the first time I've seen OpenSUSE being the Linux representative in the installation instructions. As a TW user, what a happy surprise!
- smlckz 5y agoFor those people who are thinking about some HTML subset, you can have a look at WebLite: https://weblite.codeberg.page https://weblite.codeberg.page
- pabs3 5y agoThe screenshot shows it displaying images, wasn't Gemini supposed to not have images?
- nathell 5y agoGemtext doesn’t support images. You can, however, link to them, and Gemini clients are free to render them in-document when such a link is followed.
- cartesius13 5y agoNo. That's actually the biggest myth about Gemini that seemingly everyone on HN believes. When talking about this people are usually refering to this section of the spec: "Clients can present links to users in whatever fashion the client author wishes, however clients MUST NOT automatically make any network connections as part of displaying links whose scheme corresponds to a network protocol (e.g. links beginning with gemini://, gopher://, https:// https://, ftp:// , etc.)." But that only says that you can't automatically fetch images (or other resources). You can still make a network connection if the clicks on the link, for example.
- miki123211 5y agoAs always, a developer tried to reinvent the wheel and make their own pseudo-GUI library. As always, accessibility was promptly forgotten. Tiny, lean, minimal and beautiful apps might be cool, but most of them are unusable for me for that very reason.
- CoastalCoder 5y agoI'm not familiar with current approaches to developing accessible software. Is there a good website that provides a starting point / primer for developing accessible apps on various operating systems?
- miki123211 5y agoThere are quite a few resources about the web, Microsoft and Apple also have their own documentation. Nothing can ever beat the accessibility of a fully native UI, written with whatever toolkit is most popular on a given operating system. Yes, this means you need multiple completely different UIs, 1Password 7 style. If you want to go cross platform and still be accessible, go with Electron. There's a lot of material written already on how to make web apps accessible, and that's basically what Electron is. Chromium's accessibility is top notch on Windows and Mac OS and pretty good on Linux (if you turn on a flag). If, for whatever reason, you're not allowed to use Electron, QT and WX widgets also work, though there are certain controls that don't work that well on certain platforms, so you might need some really terrible workarounds. Same for Swing, which still requires enabling Java Access Bridge if I'm not mistaken. I think the worst offender is GTK, it's pretty accessible on Linux, but completely inaccessible on anything else. The GTK developers have been promising changes in that regard for years, but I haven't seen those changes yet. Custom toolkits, SDL based libraries and immediate mode GUIs are a complete no go. The operating system needs to know what kind of controls you have on the screen for a screen reader to work, but "draw a bunch of pixels here" is definitely not enough information, and that's what you get from those. You can implement each platform's accessibility APIs yourself, but that requires intimate knowledge of the platform internals (think COM on Windows) and is often poorly documented (there's almost no documentation for the Mac APIs). If you want to go that route, it's much easier to just go with 3 separate GUIs. There's some ongoing work to change that state of things[1], but it's far from complete. [1] https://github.com/AccessKit/accesskit https://github.com/AccessKit/accesskit
- grouphugs 5y agothe gopher protocol failed because it's a bunch of white dudes flying swastikas gemini is going to fail because it's all the same people they're all the one doing the fedi bullshit they're going to die
- grouphugs 5y agogopher: white supremacist project gemini: white supremacist project fedi: white supremacist project ap in-general: white supremacist project hn: white supremacist project and exclusively promotes white supremacist projects they're not even hiding it, you can just look at their poa.st profiles, it's not hard to figure out, vpns aren't effective