💾 Archived View for gemi.dev › gemini-mailing-list › 000606.gmi captured on 2023-12-28 at 15:49:55. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-11-04)
-=-=-=-=-=-=-
Hi all, I've written a little program called gmi2html which just translates text/gemini to HTML so if you want to serve the same content on gemini and the web you can. You can find it here: https://github.com/shtanton/gmi2html Apologies for distributing gemini software over the web D: I'll get it on my own gemini space once it's up and running. Hopefully it's helpful, I found existing implementations in python and go, but I'm probably not the only person here who appreciates a tiny executable that runs really fast and barely allocates heap memory. Cheers all, shtanton (or Charlie if you want)
> On Jan 4, 2021, at 21:19, Charlie Stanton <charlie at shtanton.com> wrote: > > tiny executable that runs really fast and barely allocates heap memory. Was expecting, like, ANSI C, or Rust, but you gave us Zig! Thank you. ? ???
It was thus said that the Great prx once stated: > Not ANSI, but still C if you like : > > => https://dev.ybad.name/gemtext2html/ What's not ANSI about it? It's perfectly find C99 code. -spc
On Mon, Jan 4, 2021 at 8:38 PM prx <prx at ybad.name> wrote: > > > tiny executable that runs really fast and barely allocates heap memory. > > Interesting, I didn't know Zig. I'm liking Zig more and more but I haven't written anything big in it yet so still not sure. > => https://dev.ybad.name/gemtext2html/ Nice! Made me realise I'm not escaping stuff so I'll add that soonish. Also does anyone know if running a gemini server through stunnel or something is a good idea? Obviously a gemini server without TLS isn't a gemini server but it might be nice since it would make the server code simpler. Of course authy stuff probably won't work, but I feel like it could for a static site. I'll probably just use gmnisrv instead of writing my own for once. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.orbitalfox.eu/archives/gemini/attachments/20210104/43ee 6461/attachment.htm>
> On Jan 4, 2021, at 22:24, Charlie Stanton <charlie at shtanton.com> wrote: > > Also does anyone know if running a gemini server through stunnel or something is a good idea? Cannot answer the "good idea" part, but yes, I do exactly that, either stunnel, or djb style ala USCPI. YMMV depending on your actual needs and wants. ? ???
---