💾 Archived View for ew.srht.site › en › 2021 › 20211018-openbsd-vger.gmi captured on 2022-04-29 at 12:40:29. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-03-01)
-=-=-=-=-=-=-
Somewhat late to the show, but heck:
Today I pulled together all the ingredients to create a gemini server setup using vger. Using Solenes description I set the thing up on OpenBSD first. And after I understood the details, I managed to deploy the same setup on Debian 11 as well.
It is quite a stack:
I can see the index.gmi file with emacs/elpher and gcat on port 1965, but I also can use printf and netcat on port 11965 bypassing all the tls bits and pieces:
me@home:~ 2 > printf "gemini://127.0.0.1/index.gmi\r\n" | netcat 127.0.0.1 11965 20 text/gemini; # vger on HOME system Just to say: yes, I can! ~ew
Yay!
Why? With this setup I can experiment with writing a small special purpose gemini server component while totally ignoring the tls bits and pieces. Thanks to Omar for pointing out the stdin/stdout feature of vger, thanks to Solene to make vger a reality!
Along the way I found out a number of things about my very first instance of OpenBSD:
It's small, which I like. On the other hand it's awkward for my finger habits, of course, but that had to be expected.
Life ain't no candy mountain, you know?
From the movie "Candy Mountain" :)
Cheers,
~ew
gemini://perso.pw/blog/articles/gemini-vger-server.gmi
gemini://perso.pw/blog/articles/nginx-stream.gmi