The script borrows code from gcat, many thanks to its authors!
The XDG Base Directory Specification is supported but the default directory paths are used for simplicity.
Set custom keybindings for opening Gemini URLs by adding the following lines
# Open in the current tab config.bind(';g', 'hint links userscript qute-gemini') # Open in a new tab config.bind(';G', 'hint links userscript qute-gemini-tab')
The script only processes
gemini:// URLs and opens all other URLs using
qutebrowser, so opening a non-
gemini:// should also work.
Re-source the qutebrowser config by running
config-source or restart
qutebrowser and visit the
Gemini spec homepage
to ensure that everything works.
You can create a CSS file
~/.local/share/qutebrowser/userscripts/qute-gemini.css and qute-gemini will
use it to style Gemini pages shown in qutebrowser. The
Gemini homepage CSS styles both work well.
text/geminicontent is shown. Any other MIME types received over Gemini are considered an error.
gemini://URLs with the userscript might not work correctly in rare cases.
gemini://URLs from the URL bar does not work. It is only possible to open URL in the current page via the hints.
gemini://URLs by clicking on them does not work, only opening them via the keybinding is possible.
Copyright 2019 Solderpunk, 2020 Aaron Janse, 2020 petedussin, 2020-2021 Sotiris Papatheodorou
This program is Free Software: You can use, study share and improve it at your will. Specifically you can redistribute and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
gcat is distributed under the BSD 2-Clause license.