💾 Archived View for station.martinrue.com › kesiev › tinylog captured on 2024-09-29 at 03:24:09. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-06-20)
-=-=-=-=-=-=-
author: kesiev
<?php if(!is_file($C="server.pem")){$p=openssl_pkey_new();openssl_x509_export(openssl_csr_sign(openssl_csr_new(["commonName"=>"localhost"],$p),null,$p,365),$a);openssl_pkey_export($p,$b);fputs(fopen($C,'w'),$a.$b);}if($k=stream_socket_server("ssl://0.0.0.0:1965",$n,$s,12,stream_context_create(["ssl"=>["local_cert"=>$C]]))){for(;;)if($o=@stream_socket_accept($k)){for($b="";!strpos($b,"\r\n");$b.=fread($o,1));fputs($o,"20 text/gemini\r\n$b");fclose($o);}}
A hacky Mastodon-post sized PHP Gemini echo server.
Found an old working TonidoPlug v1 in a closet just to discover that the Tonido project "ended" last year and I can't find anything to reset, restore, or - better - replace its OS. 🤦 It would have been nice to put him back on his feet and fiddle with Gemini a bit. Better luck next time. 🤷
Browsing the Geminispace using the Lagrange client on both desktop and Android feels like living in an alternate cyberpunk timeline: everything looks like a minimal Corp. homepage, a fixer jobs board, or a hacking group manifesto. 🔫😎
Ciao! 👋