s/Gemini
A place for all topics related to the Gemini protocol, e.g., applications, capsule setup/maintenance, software development, libraries/languages, and questions about the specification.
Posts
oddities with gemini
How much are emoji and non-ASCII used in Geminspace over all? I'm currently trying to allow WebTVs to use Gemini, and one major limitation is that it only supports ASCII and a subset of Windows-1252. I'm can use Twemoji in my proxy to substitute emoji, and Unifont for other things in the basic multilingual plane. How much stuff would that miss? Text presentation emoji-like things might be missed unless in the basic multilingual plane, and Twemoji likes turning text presentation characters...
Can the metadata in a Gemini response be completely arbitrary? Like can I include custom parameters other than the lang attribute? I'm aware I can return whatever text I want, but is arbitrary metadata allowed by the spec?
CGI: I am interested in CGI tutorials for Gemini applications. I have basic knowledge but need some best practice tutorials. maybe to get more insights on common pitfalls. would be very interested in getting some hints. thankx
Examples of handling TOFU and client certificates with mbedTLS (in C)? — As a rite of passage I've decided to make a Gemini client in C, and as I'm new to SSL/networking, I have no idea how to handle TOFU or client certificates with mbedTLS. Has anyone else specifically made a gemini client with it? Or would you recommend that I try to figure out another SSL library? I avoided OpenSSL because the documentation seemed incomprehensible, but mbedTLS' documentation isn't much better. As an aside, I...
Valid Gemini response with invalid media type? — Valid Gemini response with invalid media type? This is an interesting URL: [gemini link] It returns a status code 20, and a META of "text/plain\n" with a literal new line. A \r\n follows this, so per the Gemini spec, the META field contains a trailing \n character. The Gemini spec says that "For [SUCCESS status] responses, <META> is a MIME media type as defined in RFC 2046." RFC-2046 defines the media type as part of the grammar for a `...
Gemini on old platforms. — With AmiGemini existing for the Amiga platform. What other old platforms does have Gemini client? With my limited knowledge I think that SSL is the limiting factor, right? I would love to see a MS-DOS/FreeDOS etc. client.
Apollo Days by Solderpunk — new post about Gemini from solderpunk.
Gemini on bare IPs — So, in case there are more people who know this stuff here, is it *in practice* possible to have a Gemini server on a bare IP? So far I haven't seen a single server that can do it, but then again I haven't checked in a while. Currently I've chosen to use Gemini-like simple HTML pages (over Yggdrasil), but still curious if things changed.
hello everybody i got a question to ask. what are some cool places to look at on the gemini protocol? i like gemini but im trying to find places to explore on here.
Telescope by OP added initial certificate support! <3 — Hello folks, good news! Telescope introduced initial support for certificate in the development branch. So far only PEM certificates are allowed and the whole UX needs to be improved. Nonetheless is a great beginning and very long waited! This announce was written from Telescope :D
Gemini capsule with basic server (Agate) but managed with scripts — Amazed about how much I've learned by managing my Gemini capsule with bash scripts which I can run from a SSH connection. Today, I made improvements to the comments mechanism, yes you can get comments with Agate server.
One-line ncat Gemini server ncat --ssl -l -k -p 1965 -c "/usr/bin/echo -e \"20 text/gemini\r\nhi\r\n\"" [`] Then go to [gemini link] to view. It should display "hi". If you would like to create a certificate for your server instead of having it generate a new one every time (and thus get security warnings every time) you can do the following: 1) Create a certificate in Lagrange called localhost (or whatever the name of your server is.) 2) Click on it and choose "Show in File Manager". 3)...
Gemini using ncat: ncat --ssl --crlf example.com 1965 then when connected, type: [gemini link] and press enter Easier than using openssl. The Windows version of ncat has some problems though.
Surveillance in Gemini — Adversary can tell very specifically which one gemini page a user is requesting, based on the size of server response. There is no need to decrypt the channel to learn which page is transmitted there, the only thing that matters is the size of that message. The same thing works all the way around, if someone has submitting a picture or a text to the gemini forum, adversary can see corresponding portion of encripted traffic going from specific user. Again, there is no...
Gemini & PHP — Is there a good way to integrate/use PHP with a Gemini server and what server should I choose for that? Can I use Agate for this?
With levior it's now possible to include URL rules from external config files. I'll be slowly building a library of rules that can be used to trim down the gemtext output of "heavy" webpages. Rules contributions are appreciated. Here's an example: [https link] [https link]
Big files over Gemini (was Video over Gemini) — I was thinking of how you could do Video over the Gemini protocol. And to quell any fears of bloat, I don't mean to embed video but a way to deliver video (and larger audio). My proposal is to use a playlist like file that includes the location of the video segments and timestamps of said segments, so if you want to jump around you only have to download the particular segment and not the whole file. I probably just over engineered something that...
Can a gemini response redirect to another protocol? — The spec just mentions that <META> is "a new URL", so technically any URL is fine, but I wonder if we all understand the same thing.
Gemini Mention in Python — I implemented Bacardi55's Gemini mention RFC in Python on my capsule this past weekend. Chxk out links for more
gemlogssh a script for gemlogging at gemini — gemlogssh is a script assistant which helps me with my capsule management (posting and keep records in my indexes and archive gems across four gemlogs hosted in there). Since today, I'm sharing it via git repository at Codeberg.
Idea for Remini: Add a "Gemini feed" link to subreddit pages that would provide a feed that could one could subscribe to in Lagrange, for example. Don't know how doable this would be, but there are a couple of subreddits that I still follow and it'd be awesome to follow them from Gemini (best possible user experience of Reddit tbh).
Article about Gemini for Habrahabr
Encryption is a hell — Gemini encription is somewhat unusual. It relies on TOFU (trust on first use) principle. Suppose my provider is a jackass and he is implementing a MitM attack on all gemini connections, then my gemini program will not notice and all gemini capsules from this network perspective will be compromised. And if I use VPN after that, I will get warnings about certificate change. Than I have to guess where MitM attack was happened? Is it my provider messing with that, or is it a...
Any experience with data scraping / crawler here on GEMINI? Can it be verified? I became aware of DARK VISITORS and wonder if it is worth implementing something from there. [https link] ( A list of known AI agents on the internet)
Page 7 of 10