The Mortalitron
As I continue on in mad scientist mode, Scriptonite has a new function that allows programs to access gemini resources over the network (with some limitations).
The first parameter is a Gemini URL. At the moment, the resource must have a mime type of text/gemini. This may change. The second parameter is a boolean true or false indicating whether you want the server to resolve relative links in the document.
You can call the function multiple times but once you've received more the 64k of data, an error is returned. For example, the first call to fetchGemini might return 128k of data as the underlying page limit is higher. At that point, you're done. Subsequent calls will fail as the 64k limit has been met. These values are subject to change.
Oh. You also can't call another Scriptonite URL. Nothing good could ever come of that.
Example
Enter The Mortalitron, a Scriptonite program that reads the Wikipedia 2025 Deaths page (via Gemipedia) and reveals how you're faring based on your age.
If Gemipedia is down, the script will timeout.