-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Other protocols #320
Comments
Config option "connection.ssl.client_cert.file" or the environment variable X509_CLIENT_CERT point to the file with the client certificate. It did not check it. If you want more protocols, the fastest method is to prepare patches and add pull requests. |
Can you help recommend how to view images, pdfs, and other content on the gemini protocol? I don't want to save the file, then open it manually. I've attemped this:
But although this works when testing a terminal (i.e. it downloads the image across the gemini:// protocol), when I try browse to an image on gemini in elinks, no output is shown. What am I missing? |
If you have compiled elinks with libsixel and mailcap support, and your terminal supports sixel and AFAIR, you ticked sixel support in terminal options of elinks, you can add to your ~/.mailcap one of these: convert is in ImageMagick, img2sixel in sixel package. Then images can be visible in elinks. |
Thanks that works! |
You can implement some other protocols too.
Gemini (this is implemented already but the documentation does not mention it (so the documentation should be improved); and I don't know if client certificates can be used)
Spartan (uses the same file format as Gemini, but is a somewhat different protocol and does not include TLS)
Scorpion (both TLS and non-TLS, with a different URI scheme in each case)
Nightfall Express (probably the simplest one, although a mapping from file name suffixes to file formats will be needed like you would with local files, possibly can use the same mapping)
I had written brief notes about all of the above (and more) in scorpion://zzo38computer.org/smallweb.txt which is also mirrored at https://dbohdan.com/archive/scorpion/zzo38computer.org/smallweb.txt
The specification of Scorpion file format is also mirrored on GitHub, and I had also written implementations of all four of the above protocols, in the same repository. A few other implementations of the above listed protocols also exist.
Client certificates are possible with any protocol that uses TLS, but are not commonly used except for Gemini.
The text was updated successfully, but these errors were encountered: