πΎ Archived View for gemi.dev βΊ gemini-mailing-list βΊ 000075.gmi captured on 2023-12-28 at 15:40:46. Gemini links have been rewritten to link to archived content
β¬ οΈ Previous capture (2023-11-04)
-=-=-=-=-=-=-
Hey all (and especially solderpunk)! I've found gemini yesterday and i'm excited! It's nice to see that people try to increase the surface of the web. I hate a lot of stuff in the modern web, especially all that bloat, tracking and unnecessary transmissions and i wanted to design a protocol that doesn't allow this. Now i find that Gemini already did this and the design is really well done! I started implementing a gemini CLI client [0] in Zig that will work similar to curl to allow command line fetches of files. Maybe i'm even motivated enough to write a small browser with rendering support for text/gemini... Happy hacking, ya'll - xq [0] https://github.com/MasterQ32/gurl
Hello! Welcome! It's cool to have another command line tool for the ecosystem, and Zig seems like an interesting language. I think you're the first to make a Gemini tool with it! I've made a command line downloader[0] myself, but having a more advanced curl type tool would be great. [0] https://github.com/makeworld-the-better-one/gemget Also I see you're using wolfSSL, is it any good? I don't do much in C, but there was some chatter in IRC the other day about BearSSL[1], maybe it could be good for your project too. [1] https://bearssl.org/ makeworld ??????? Original Message ??????? On Thursday, May 14, 2020 11:01 AM, Felix Quei?ner <felix at masterq32.de> wrote: > Hey all (and especially solderpunk)! > > I've found gemini yesterday and i'm excited! It's nice to see that > people try to increase the surface of the web. > > I hate a lot of stuff in the modern web, especially all that bloat, > tracking and unnecessary transmissions and i wanted to design a protocol > that doesn't allow this. Now i find that Gemini already did this and the > design is really well done! > > I started implementing a gemini CLI client [0] in Zig that will work > similar to curl to allow command line fetches of files. > > Maybe i'm even motivated enough to write a small browser with rendering > support for text/gemini... > > Happy hacking, ya'll > > - xq > > [0] https://github.com/MasterQ32/gurl >
Hey makeworld > Welcome! It's cool to have another command line tool for the ecosystem, > and Zig seems like an interesting language. I think you're the first > to make a Gemini tool with it! Yeah pretty much. The Zig community is still quite small, but constantly growing and evolving :) > I've made a command line downloader[0] myself, but having a more > advanced curl type tool would be great. > > [0] https://github.com/makeworld-the-better-one/gemget Oh nice, reference code! I'm struggling with SSL atm, receiving my first line of the response "20 text/gemini", but then i receive a "peer sent close notify alert" from WolfSSL, so i might check out code code a bit and the dependencies > Also I see you're using wolfSSL, is it any good? I don't do much in C, > but there was some chatter in IRC the other day about BearSSL[1], maybe > it could be good for your project too. > > [1] https://bearssl.org/ Taking a look now, it is already more attractive than WolfSSL as it's MIT licence and not GPL. I've tried like 5 libraries yesterday and none were either well documented, well working or well compilable, so giving a shot now at BearSSL... WolfSSL was just the first library that got a TLS connection established Regards xq
> Oh nice, reference code! Not really, I'm afraid - for TLS anyway. My project just uses a library called go-gemini[0], but even that library just uses the Go TLS library to make connections, the TLS connection is just one line. Hopefully the code can help you in other ways? Best of luck. [0] https://git.sr.ht/~yotam/go-gemini makeworld
On Thu, May 14, 2020 at 03:28:16PM +0000, colecmac at protonmail.com wrote: > Also I see you're using wolfSSL, is it any good? I don't do much in C, > but there was some chatter in IRC the other day about BearSSL[1], maybe > it could be good for your project too. Ah, I'm glad people have discovered BearSSL! I was planning to mention it in a big TLS-related gemlog post later tonight. Once again I'm behind the curve on my own project! Would this IRC chatter be in #gemini on tilde.chat? Julien did tell me about that channel but I have to admit I haven't poked my head in even once yet (I'm not much of an IRCer). Are people hanging out there semi-regularly and discussing Gemini? If so I'll make a mention of it in the FAQ alongside this mailing list. Does anybody whose IRC-handy feel like hosting logs on gemini://? Cheers, Solderpunk > > [1] https://bearssl.org/ > > > makeworld > > ??????? Original Message ??????? > On Thursday, May 14, 2020 11:01 AM, Felix Quei?ner <felix at masterq32.de> wrote: > > > Hey all (and especially solderpunk)! > > > > I've found gemini yesterday and i'm excited! It's nice to see that > > people try to increase the surface of the web. > > > > I hate a lot of stuff in the modern web, especially all that bloat, > > tracking and unnecessary transmissions and i wanted to design a protocol > > that doesn't allow this. Now i find that Gemini already did this and the > > design is really well done! > > > > I started implementing a gemini CLI client [0] in Zig that will work > > similar to curl to allow command line fetches of files. > > > > Maybe i'm even motivated enough to write a small browser with rendering > > support for text/gemini... > > > > Happy hacking, ya'll > > > > - xq > > > > [0] https://github.com/MasterQ32/gurl > > > > >
On 5/14/20 5:41 PM, solderpunk wrote: > Does anybody whose IRC-handy feel like hosting logs on gemini://? A few of us in the tildeverse #gemini room are discussing this now and will have an IRC log backup on gemini:// in the near future. The rest of you are all welcome to come chat with us there as well. Learn more about our IRC server at https://tilde.chat/ or just connect at irc.tildeverse.org/6697 (SSL) #gemini - tomasino
> Would this IRC chatter be in #gemini on tilde.chat? Julien did tell me > about that channel but I have to admit I haven't poked my head in even > once yet (I'm not much of an IRCer). Are people hanging out there > semi-regularly and discussing Gemini? If so I'll make a mention of it > in the FAQ alongside this mailing list. It is that chat! You should definitely come join. I'm not much of an IRC person either, but once I setup a self-hosted client like thelounge[0] it was much more fun to use. [0] https://thelounge.chat/ makeworld ??????? Original Message ??????? On Thursday, May 14, 2020 1:41 PM, solderpunk <solderpunk at SDF.ORG> wrote: > On Thu, May 14, 2020 at 03:28:16PM +0000, colecmac at protonmail.com wrote: > > > Also I see you're using wolfSSL, is it any good? I don't do much in C, > > but there was some chatter in IRC the other day about BearSSL[1], maybe > > it could be good for your project too. > > Ah, I'm glad people have discovered BearSSL! I was planning to mention > it in a big TLS-related gemlog post later tonight. Once again I'm > behind the curve on my own project! > > Would this IRC chatter be in #gemini on tilde.chat? Julien did tell me > about that channel but I have to admit I haven't poked my head in even > once yet (I'm not much of an IRCer). Are people hanging out there > semi-regularly and discussing Gemini? If so I'll make a mention of it > in the FAQ alongside this mailing list. > > Does anybody whose IRC-handy feel like hosting logs on gemini://? > > Cheers, > Solderpunk > > > [1] https://bearssl.org/ > > makeworld > > ??????? Original Message ??????? > > On Thursday, May 14, 2020 11:01 AM, Felix Quei?ner felix at masterq32.de wrote: > > > > > Hey all (and especially solderpunk)! > > > I've found gemini yesterday and i'm excited! It's nice to see that > > > people try to increase the surface of the web. > > > I hate a lot of stuff in the modern web, especially all that bloat, > > > tracking and unnecessary transmissions and i wanted to design a protocol > > > that doesn't allow this. Now i find that Gemini already did this and the > > > design is really well done! > > > I started implementing a gemini CLI client [0] in Zig that will work > > > similar to curl to allow command line fetches of files. > > > Maybe i'm even motivated enough to write a small browser with rendering > > > support for text/gemini... > > > Happy hacking, ya'll > > > > > > - xq > > > [0] https://github.com/MasterQ32/gurl > > >
It was thus said that the Great Felix Quei?ner once stated: > Hey makeworld > > > Welcome! It's cool to have another command line tool for the ecosystem, > > and Zig seems like an interesting language. I think you're the first > > to make a Gemini tool with it! > Yeah pretty much. The Zig community is still quite small, but constantly > growing and evolving :) > > > I've made a command line downloader[0] myself, but having a more > > advanced curl type tool would be great. > > > > [0] https://github.com/makeworld-the-better-one/gemget > Oh nice, reference code! I'm struggling with SSL atm, receiving my first > line of the response "20 text/gemini", but then i receive a "peer sent > close notify alert" from WolfSSL, so i might check out code code a bit > and the dependencies > > > Also I see you're using wolfSSL, is it any good? I don't do much in C, > > but there was some chatter in IRC the other day about BearSSL[1], maybe > > it could be good for your project too. > > > > [1] https://bearssl.org/ > Taking a look now, it is already more attractive than WolfSSL as it's > MIT licence and not GPL. I've tried like 5 libraries yesterday and none > were either well documented, well working or well compilable, so giving > a shot now at BearSSL... WolfSSL was just the first library that got a > TLS connection established I use LibreSSL, which includes a library called libtls, which makes it
Hey > I use LibreSSL, which includes a library called libtls, which makes it > *very* easy to use TLS, especially for clients. I have some examples of > its use here: > > https://github.com/spc476/libtls-examples Thanks for sharing the code! I've integreated BearSSL now and i really like it. It's not really high level or whatsoever, but i start to understand now what steps are taken and required when building up a SSL connection, including the certificate stuff. BearSSL fits perfectly to Zig as it has no builtin allocations and i can just use Zigs allocator interface with BearSSL and i don't have to think about when using malloc/free or my own allocators. Regards xq
---