hoist/yoink

is a proof of concept system for uploading files over gemini.

yoink

is a cgi script that downloads files from a location specified by the

query string

hoist

is a shell script that:

1. hosts a gemini server

2. serves a single file

3. sends a request to a yoink server to download that file

4. terminates

by using these together one can transfer files to the server hosting yoink, all

through the gemini protocol, without the need for scp, sftp, smtp, etc.

hoist source and instructions (http)

yoink source and instructions (http)

there is also a yoink server hosted here, at gemini://illegaldrugs.net/cgi-bin/yoink

------------------

on Sat Jun 13 21:56:35 BST 2020 solderpunk@sdf.org wrote:

(51 lines ommitted)
...
> 7. It's of no practical use today, here and now, for "everyday users",
> but I just want to get it on the record that in a hypothetical future
> where IPv6 or something else has provided us all with abundant
> publically reachable addresses, the obvious and elegant way for a
> client to upload to a Gemini "server" is actually to just host the
> resource itself, on a random, one-use-only URL, and then send that URL
> as a query to a well-known uploading endpoint on the other end,
> whereupon the "server" briefly becomes a client and fetches the resource
> in the usual way.  Nothing extra needed in the protocol at all!

the second experiment.