.\" .\" Kristall man page .\" . .TH KRISTALL 1 Unix "User manuals" .SH NAME .PP .B kristall \- a cross-platform graphical small-internet client. . .SH SYNOPSIS .B kristall [\fI\,FLAGS\/\fR]... [\fI\,URL\/\fR] . .SH DESCRIPTION .P .B kristall is a small-Internet browser primarily designed for browsing geminispace, but also supports gopher, finger, and basic HTTP/S. It tries to fill the hole of graphical browsers for these alternative Internet protocols, with a high usability, feature richness, and somewhat familiar interface for newcomers. . .SH FLAGS .TP \fB\-h\fR, \fB\-\-help\fR Displays help information . .TP \fB\-v\fR, \fB\-\-version\fR Displays version information . .\" Stuff after this is converted from the Gemtext about:help file .PP ## The main interface . .PP The main interface of Kristall consists of three parts: . .PP * the navigation bar on top, .PP * the content view in the center .PP * and the status bar on the bottom . .PP ### Navigation bar . .PP In the navigation bar, you have some buttons and your URL bar. . .PP You can enter any supported URL in the URL bar, press \fIReturn\fR and Kristall will then load the page in the content view. You usually need to specify the url scheme to navigate to a specific site, but you can omit the gemini:// prefix for gemini pages. If you enter a URL with no scheme, and it looks like a URL (e.g "tilde.pink"), Kristall will assume that it is in fact a gemini URL. If you enter something in the URL bar that \fIdoesn't\fR look like a URL (e.g "i like dogs"), it will be assumed a search query, and will be forwarded to the search engine that is set in the Settings. . .PP The two buttons on the left of the navigation bar that give you the ability to navigate back and forth in your browsing history. The button with the round arrow is the refresh button and allows you to reload the currently displayed site. While a site is loading, it is replaced with the stop button (square icon) that allows you to cancel the current request. Tip: Some additional buttons can also be enabled in the settings, to quickly navigate to the home page, and even the 'root' and 'parent' of the current URL! (See \fBAdditional Toolbar Items\fR in Settings) . .PP On the right side of the URL bar you will find two buttons: .PP * The button with the small heart icon in it will add or remove this page to your favourites, this can be done as well by pressing \fICtrl-D\fR. When the heart on the button is filled, the site is contained in your favourites. If not, the heart has only a outline display. Clicking this button will open a small menu to allow you to quickly place the favourite in a folder of your choosing (by default 'Unsorted'). You can press \fIReturn\fR in this menu to quickly affirm the options displayed in it. .PP * The button with the shield icon toggles the use of client certificates. Pressing it when no client certificate is enabled, a dialog will pop up asking you to select or create a certificate. When a certificate is enabled, the button will have a filled shield with a small lock in it. Pressing the button now will disable the currently used certificate. Note that if you're using a transient certificate, Kristall will ask you a safety question before destroying the certificate. . .PP ### Content view . .PP The content view renders the requested document. For hypertext documents (i.e gemtext, markdown, etc), you get a nicely rendered version of those documents, other text files are displayed in monospace. Audio and video files are played in a small built-in media player that allows you to play/pause the media, scroll around in the time line and mute/unmute audio. Images are rendered in an interactive view where you can drag the image around and zoom in/out with the mouse wheel. . .PP Documents that can't be rendered will be displayed with file size and mime type, so you can save them to disk and open the files with another program. . .PP Right-clicking in the content view will produce a menu which allows you to copy text, navigate back/forward in history, and copy or open links which are being hovered over. If you right click a HTTP/S link you will also see an option "Open with external web browser" which allows you to open these pages in your default WWW browser. . .PP ### Status bar . .PP The status bar displays auxiliary information: .PP On the left, you can see the link target when you hover a link. On the right, you can see the document size, time needed to load the document and the mime type of the content. This is especially important when Kristall is not able to render the document nicely. A "(cached)" indicator will appear to the left of the mime type, indicating that the page has been read from cache. . .PP ## Menus . .PP This chapter explains what each menu button does. I hope that most stuff isn't surprising πŸ˜‰ . .PP ### File . .PP \fBNew Tab\fR will open a new tab to surf. . .PP \fBSave as\fR allows you to save the currently displayed file to your disk. . .PP \fBClose Tab\fR will close the current tab. Does the same as clicking the small (Γ—) button on the tab itself. . .PP \fBManage Certificates\fR will bring up a dialog that allows you to create, delete or change client certificates. . .PP \fBSettings\fR will open a dialog that helps you configure Kristall to your likings. . .PP \fBQuit\fR will close Kristall. . .PP ### Navigation . .PP This menu contains means to navigate the internet. . .PP \fBGo to home\fR will navigate your current tab to your home page. . .PP \fBBackward\fR will navigate one page back in your history. . .PP \fBForeward\fR will navigate one page foreward in your history. . .PP \fBRoot\fR will take you to the root directory of the current site. e.g if you are currently at gemini://example.com/gemlog/some-document.gmi, you will be taken to gemini://example.com/ . .PP \fBParent\fR will take you to the 'parent' directory of the current site. e.g if you are at gemini://example.com/parent/some-document.gmi, you will be taken to gemini://example.com/parent/ . .PP \fBRefresh\fR will reload the current page. This may be necessary for CGI scripts or other interactive content. . .PP \fBAdd to favourites\fR will add or remove the current page to/from your list of favourites. . .PP ### View . .PP This menu allows you to show/hide dockable dialogs. . .PP \fBDocument Outline\fR toggles the document outline. Documents with text/gemini get an automatic outline generation that can be used to navigate larger documents quicker. If you're reading this help document inside of Kristall, this is a good place to try this feature out! . .PP \fBFavourites\fR opens a dock containing a list of all your favourite (a.k.a bookmarked) sites. Open your favourites into a new tab by double-clicking the entries. If you right click on an entry you will be presented with a menu in which you can edit the name or location of the entry, or delete it. Right-clicking in the window (not on an entry, not on a group) will allow you to create a new "group" of entries. Right clicking on a group will allow you to rename the group, or recursively delete it (be careful!). . .PP \fBHistory\fR shows the surfing history of the current tab. Double-clicking an entry navigates back and forth in your history without disturbing the list. . .PP ### Help . .PP This menu contains some stuff that provides help or information about Kristall. . .PP \fBHelp\fR displays the help manual (this document). . .PP \fBChangelog\fR will open a document that lists the changes in Kristall in a bulleted list. . .PP \fBAbout\fR shows a dialog with some information about Kristall. . .PP \fBAbout Qt\fR shows a dialog containing legal information about the Qt version used. . .PP ## Settings . .PP Kristall offers a vast amount of settings. You can style the documents to your liking, changing fonts and colors. You can also fine-tune the behaviour of Kristall to match your likings and keep track of your trusted pages. Please note that Kristall has been designed mostly for browsing geminispace, thus many of these settings are specific or exclusive to Gemini only. . .PP ### Generic . .PP This tab contains an unsorted list of settings that allow you to tweak Kristalls behaviour. . .PP \fBUI Theme\fR controls whether the Qt interface is displayed in a dark or a light theme. Selecting \fBLight\fR or \fBDark\fR will use the provided Qt light/dark themes. \fBOS Default\fR will use your system theme. . .PP \fBIcon Theme\fR controls the specific icon set that the Qt interface will use. Usually, the default \fBAuto\fR option should be good enough, however for those using the \fBOS Default\fR UI theme, this option may be useful. . .PP \fBStart Page\fR is the URL to the page that will be loaded for new tabs. Default is \fBabout:favourites\fR. . .PP \fBSearch Engine\fR is the search engine to use when typing non-URLs in the URL bar. A handful of Gemini search engines are provided as a drop-down. If you would like to specify your own, specify it in a format similar to the following: . .RS .PP gemini://example.com/search?%1 .RE . .PP Note the "%1" at the end of the URL. This is where search queries will be inserted. This \fImust\fR be provided in order for Kristall to work with the search engine correctly. Be aware that search engine URLs can vary. For example, a different search engine may appear like so: . .RS .PP gemini://example2.com/search/another/%1 .RE . .PP \fBEnabled Protocols\fR allows you to fine-tune which protocols are fetched by Kristall. By default, only Gemini is enabled, all other protocols are disabled. Disabled protocols are either not served, and produce an error message, or are forwarded to your OS handler for that URL scheme. . .PP \fBText Rendering\fR allows one to control whether Kristall parses text input files or not. This is usually set to \fBFancy\fR which renders text/html, text/gemini, text/markdown and text/gophermap to a nice, hyperlinked display. When set to \fBAlways plain text\fR, Kristall will display all text/* files as plaintext files instead. This may be inconvenient, but necessary for misparsed sites. . .PP \fBEnable text highlights\fR allows you to enable \fIbolding\fR and \fIunderlining\fR in text/gemini documents. Bolding **like this** also works. . .PP \fBGopher Map\fR allows you to chose a modern iconized style for gopher maps or, if you are an old schooler, just use a textual description of the item types in the map. . .PP \fBUnknown Scheme\fR changes the behaviour how Kristall handles unknown/disabled URL schemes. \fBUse OS default handler\fR will invoke your OS default, \fBDisplay error message\fR will just pop up a message box and tell you that Kristall cannot handle this URL. . .PP \fBHidden files in file:// directories\fR determines whether hidden files will display in local directory listings (i.e file:// URLs which do not point to a specific document but rather a directory). . .PP \fBURL bar highlights\fR sets whether the URL bar should use "fancy" highlights. The highlighting simply makes the domain of the site more prominent/visible, and the text around it slightly dimmed. This is purely a cosmetic feature. . .PP \fBUse typographer's quotes\fR sets whether to replace regular quotation marks, that is: .RS .PP "these", and 'these' .RE .PP with fancy Unicode quotes, which include the following: .RS .PP β€œthese”, and β€˜these’ .RE .PP This is a purely cosmetic feature that may aid in readability. . .PP \fBRender emojis\fR allows you to toggle whether to render emojis using installed emoji fonts. Disabling this can help prevent text rendering issues due to emojis. Note that emojis are only supported in Kristall builds with Qt 5.13 or later. . .PP \fBMax. Number of Redirections\fR is a setting that allows you to restrict sites to redirect you only a certain number of times before erroring out. Setting this to 0 will disable redirections completely, displaying an error with the target URL. . .PP \fBRedirection Handling\fR allows you to fine-tune the way Kristall allows redirections. Each of the options defines if Kristall should ask you to allow the redirect or do it silently. \fBAsk for cross-scheme redirection\fR will pop up a message box if a host tries to redirect you from one URL scheme to another, e.g. when a web server redirects you from HTTP to HTTPS. \fBAsk for cross-host redirection\fR will pop up the message box for all redirections through host boundaries, e.g. when example.com redirects you to www.example.com. \fBAsk for cross-scheme or cross-host redirection\fR will enable both of the previous behaviours, asking when any cross-boundary redirection happens. \fBAsk for all redirections\fR will pop up a message box every time a server tries to redirect you, keeping you in full control over all redirections. \fBSilently redirect everything\fR is the exact oppositve of that, accepting all redirections without warning or notice. . .PP \fBNetwork Timeout\fR is the time a server is allowed to \fInot respond anything\fR before a error message appears. As long as a server dripples some bytes to Kristall, no timeout will happen, so having a slow or bad connection shouldn't yield timeouts. . .PP \fBAdditional Toolbar Items\fR contains various additional toolbar items which some may find useful. . .PP * \fBHome\fR button opens the configured home page in the current tab. .PP * \fBNew tab\fR button appears to the right of the tab bar. This simply adds a new tab. .PP * \fBRoot\fR button takes you to the root directory of the current site. (See Menus>Navigation section for explanation of what this does). .PP * \fBParent\fR button takes you to the parent directory of the current site. (See Menus>Navigation section for explanation of what this does). . .PP \fBTotal cache size limit\fR sets the total amount of memory that can be used by Kristall to cache pages. By default this is set to 500 KiB, but can be set to 0 to completely disable the caching system. The larger this number is, the more memory you are allowing Kristall to use. . .PP \fBCached item size threshold\fR is the maximum size of a single cached item. By default this is set to 400 KiB. This prevents Kristall from caching any pages that are large from clogging up the in-memory cache. . .PP \fBCached item life\fR is the amount of time in minutes before a single cached item is considered "expired." When a cached item is "expired", it is not read from cache, but instead re-retreived from the server. Cache life can be disabled by enabling the \fBUnlimited item life\fR option. Note: \fBCached item life\fR is only recommended if you desperately want to keep your memory usage to a minimum, otherwise, having \fBUnlimited item life\fR is usually a great convenience, and due to the usually very small size of pages in geminispace, gopherspace, etc - it doesn't require much memory. . .PP ### Style . .PP In this tab, you can customise the document rendering in Kristall. The left pane contains a vast array of options to tweak, and the right pane displays a preview of your currently-selected style. .PP Many items in the \fIStyle\fR category have either a \fBFont\fR, \fBColor\fR, or both buttons. Click these to change the respective value. . .PP \fBBackground Color\fR is the color that fills the empty space in a document. . .PP \fBStandard Font\fR allows you to change the font that is used for all non-preformatted and non-heading text. Choose the color and font family/size/style. . .PP \fBPreformatted Font\fR is the font and text color that is used for all
 tags in HTML or preformatted blocks in text/gemini. This should be a monospace font, otherwise ASCII art will break horribly. Note to MacOS X users: "Andale Mono" is a good font choice here.
.
.PP
\fBH1 Font\fR allows you to change the font and color for primary headings in documents.
.
.PP
\fBH2 Font\fR allows you to change the font and color for secondary headings in documents.
.
.PP
\fBH3 Font\fR allows you to change the font and color for ternary headings in documents.
.
.PP
\fBBlockquote Font\fR allows you to change the font and colour for blockquotes in documents.
.
.PP
\fBLocal Link Color\fR is the color in which links that refer to the same host \fIand\fR protocol are rendered.
.
.PP
\fBForeign Link Color\fR is the color in which links that refer to another host, but the same protocol are rendered. This helps to recognize when you change the content provider with a link.
.
.PP
\fBCross-Scheme-Color\fR is used for all links that change protocol. For example: If you are currently visiting a gemini-served page and are referred to a page in gopher space, this color will be used. This gives you more control over your surfing experience.
.
.PP
\fBLocal Link Prefix\fR is a small string that is placed before a link to the same host.
.
.PP
\fBExtern Link Prefix\fR is a small string that is placed before a link to a different host.
.
.PP
\fBBlock Quote Color\fR is the background color that allows you to highlight block quotes.
.
.PP
\fBAuto-Theme Generation\fR is an experimental feature that can be set to \fBDisabled\fR, \fBLight Theme\fR and \fBDark Theme\fR. When not set to \fBDisabled\fR, Kristall will ignore all your beautiful color settings and tries to create a color scheme based on the current pages host name. This allows different styles for each host visited and brings some recognizability in gemini and gopher space.
.
.PP
\fBLeft/right Page Margin\fR is the distance of horizontal page content to the left/right borders. If you have \fBEnable text width limit\fR enabled this value is only used when the window size is less than the set maximum text width.
.
.PP
\fBTop/bottom Page Margin\fR is the distance of vertical page content to the top/bottom borders.
.
.PP
\fBOther options\fR are a set of extra options to enhance your reading experience (and just look cool in general).
.
.PP
* \fBJustify text\fR will make text fill the lines they are on. Note that this only works on gemtext pages.
.PP
* \fBCentre first H1\fR will centre-align the first top-level heading in gemtext pages. This can look really cool with \fBText width limit\fR enabled!
.
.PP
\fBText width limit\fR sets the maximum line length of text. By default this is set to 900px. If the window itself is smaller in width than the text width limit, the text width limit is "adjusted" to fit inside the window. As mentioned above, horizontal margins will also be applied here. The \fBEnabled\fR checkbox to the right of this option toggles whether this option is enabled or not. (Enabled by default)
.
.PP
\fBLine height (paragraph)\fR is an additional spacing between paragraph text lines. By default this is set to 5px, and can help with readability. (Gemtext-only feature)
.
.PP
\fBLine height (header)\fR is an additional spacing between header text lines. By default this is set to 5px. (Gemtext-only feature)
.
.PP
\fBIndentation\fR is a set of options that control the level of indent in certain text parts in Gemini pages.
.
.PP
* \fBPar\fR controls indent size of paragraphs (default: 1)
.PP
* \fBHea\fR controls indent size of headings (default: 0)
.PP
* \fBQuo\fR controls indent size of blockquotes (default: 1)
.PP
* \fBLst\fR controls indent size of unordered lists (default: 2)
.
.PP
\fBIndent Size\fR is the size in pixels of a single indent. This affects how much of an effect the above \fBIndentation\fR settings have on the layout (default 15).
.
.PP
\fBList item marker\fR simply lets you set what symbol is used in list items. By default this is set to Filled Circle.
.
.PP
\fBPresets\fR is a cool feature to save, restore and share your color themes. The dropdown contains a list of all previously created colors schemes. With the \fB+\fR button you can create a scheme with a unique name. The floppy disk button will override the currently selected preset with all the settings displayed above. The folder button will restore a previously saved preset. The last two buttons allow you to import/export presets to disk and share them with your friends! Share all your beautiful color schemes with the world!
.
.PP
The lone text with with the \fBhost.name\fR text in it can be used to preview some auto-generated themes. It only refreshes the preview and seeds the auto generator with a new host name.
.
.PP
### Gemini TLS and HTTPS TLS
.
.PP
These two sites contain the TLS settings for either Gemini or HTTPS. Both protocols are handled in the same way, but with different data sets, so each one has its own settings page.
.
.PP
\fBTrust Level\fR defines how you trust hosts. \fBTrust on first encounter\fR is also known as \fITrust On First Use\fR (or TOFU) and will store the servers public key in Kristalls database of trusted hosts. If a host is later encountered that has changed its public key, an error will be displayed to the user that this host may be compromised (as the changing of a public key can be a man-in-the-middle attack). \fBTrust everything\fR will just happily accept every TLS server, ignoring the certificate issuer completely. \fBManually verify fingerprints\fR allows you to chose whether you trust a server or not based on its fingerprint. This will be displayed in the error page as well as the option to add that server to your list of trusted hosts.
.
.PP
\fBCertificate Authorities\fR allows you to enable/disable the use of your systems CA trust store. Sites that can be enabled via the CA system will not be added to the list of trusted hosts (as it is only meant for TOFU/manual implementation), but will not error out. \fBUse local certificate authorities\fR will enable that behaviour, \fBDon't use local certificate authorities\fR will disable it.
.
.PP
\fBTrusted Hosts\fR displays your database of currently trusted hosts for either Gemini or HTTPS servers. You can see the host name (which is used for identification), the date when you trusted the server and the type of the key that server is using.
.
.PP
\fBRevoke trust\fR allows you to remove a server from your database. Select a server in the list and click the button. Kristall will now act as it hasn't ever seen that server before and will now handle the server as an unknown one.
.
.PP
## Certificate Manager
.
.PP
This dialog allows you to manage your client certificates. There are options to import, export, delete and create new certificates as well as manage your existing ones.
.
.PP
The window is separated in two halves:
.PP
The left half is the overview over your certificates and your available actions.
.PP
The right half contains information about the currently selected certificate.
.
.PP
The overview displays your certificates managed in groups. Each certificate is contained in a group that allows you to structure your certificates better. Good groups for example is \fIAccounts\fR, \fIAccess Token\fR, \fIGames\fR, ... You can move certificates between different groups by using drag'n'drop. Just click the certificate and drag it over into another group.
.PP
When selecting a certificate, its details are displayed on the right side of the screen:
.PP
\fBDisplay Name\fR is the text you will see in the overview on the left and on the smaller dialog selection screen. You can type in here whatever you want, it's just for you. It's possible to edit this value.
.PP
\fBCommon Name\fR is the CN value that was used when creating the certificate. Its used as a identifier and the only required field when creating the cert. You cannot change this.
.PP
\fBExpiration Date\fR is the date when your certificate expires.
.PP
\fBExpires in\fR shows the numbe of days until your certificate expires. This may be more intuitive to work with, but communicating the expiration date is recommended.
.PP
\fBHost Filter\fR is a security-measurement to shield you from accidental identity exposure. You can type in a URL with wildcards, using ? for a single character, * for any number of characters, including zero and \fB…\fR for allowing a set of certain characters to be matched. When you try activating the certificate on a URL that does not match your Host Filter, Kristall will ask you if you really want to enable the certificate. This prevents you from accidentally using the certificate on a host or URL where it shouldn't be used.
.PP
\fBAuto-Enable Certificate\fR is built on top of the Host Filter. When you don't have a client certificate enabled \fIand\fR you visit a URL that matches the Host Filter property, Kristall will ask you if you want to enable that certificate. This is convenient when you need a certificate to visit that location anyways and this allows you to quickly enable your default certificate.
.PP
\fBFingerprint\fR is the SHA256 fingerprint of this certificate.
.PP
\fBNotes\fR is a free-form text field for your private use. Kristall does not use this value what-so-ever. Use this field to make notes about that certificate.
.
.PP
You can find more information about the wildcard syntax here:
.IP
 Wildcard Matching: https://doc.qt.io/qt-5/qregexp.html#qregexp-wildcard-matching
.
.PP
Below the certificate overview are four buttons, described from left to the right:
.PP
\fBCreate certificate\fR will open up the certificate creation dialog and allows you to create a new certificate.
.PP
\fBImport certificate\fR will open up the certificate i/o dialog. This allows you to import a existing certificate/key pair, supporting RSA and EC cryptography as well as PEM/DER encoded files.
.PP
\fBExport certificate\fR will open up the certificate i/o dialog. This allows you to export the currently selected certificate into a certificate/key pair. This allows PEM/DER encoded files and you should remember/note what kind of format your key has. Exporting allows you to back up you keys, change to another browser or share them with your friends (don't!).
.PP
\fBDelete certificate\fR will delete the currently selected certificate or group. You will get a security pop-up when deleting a certificate as this is a non-reversable operation (unless you made a back-up). Deleting empty groups is always allowed without pop-up, deleting non-empty groups is not allowed.
.
.PP
Using passphrases for importing/exporting certificates is currently not supported.
.
.PP
Please note that changes in this dialog are immediaty applied and there is no way back when doing an action. This may change in the future, but will stay like this for now.
.
.PP
## Certificate Selection Dialog
.
.PP
This dialog allows you to enable client certificates. It is opened by clicking the shield button in the navigation bar or it will automatically pop up when a site requests the use of a client certificate.
.
.PP
In the upper part, this dialog provides you with a list of all your persistent certificates. If you want to use one of those, select the certificate and click \fBUse\fR. Or simply double-click a certificate to chose it.
.PP
You can also ad-hoc create a new certificate with the click on \fBCreate new identity\fR. This will open up the certificate creation dialog which allows you to create new identities.
.PP
On the lower part you can create temporary certificates that have a short lifespan and will be destroyed as soon as you disable the certificate or close your client.
.
.PP
## Certificate Creation Dialog
.
.PP
This dialog provides means to create a new persistent identity.
.
.PP
\fBGroup\fR is the name of the group where this certificate should be stored. You can either chose an existing group from the drop down or just enter a non-existing name to create a new group ad-hoc.
.PP
\fBDisplay Name\fR is the title of the certificate that Kristall will show you. It will not be sent to a server ever.
.PP
\fBCommon Name\fR is the CN field in the X509 certificate. It's required for identitication to the hosts.
.PP
\fBExpiration Date\fR is the date when your certificate becomes invalid. Kristall choses a default of "1 year from now on", but you can chose any time you want, even just 30 minutes. Better chose a long time though if you don't know how long you need that certificate.
.
.PP
With a click on \fBOK\fR, Kristall will create a new certificate and put it in your certificate store. It can then be selected from the certificate selection dialog or certificate manager.
.
.PP
## Certificate I/O Dialog
.
.PP
This dialog enables you to import or export certificate-key-pairs into or from Kristall.
.
.PP
\fBKey Type\fR contains the type of your key. If you import, you need to select the correct key type there, if you export, it will be disabled, but shows the correct type of key for your identity.
.PP
\fBKey File\fR needs to be a full path to either a .der or .pem file where Kristall will load/store the key from/to.
.PP
\fBCertificate File\fR needs to be a full path to either a .der or .pem file where Kristall will load/store the certificate from/to.
.
.PP
## Shortcuts
.
.PP
The following list contains all of Kristall's built-in shortcuts:
.
.PP
* Ctrl+T β‡’ New tab
.PP
* Ctrl+W β‡’ Close tab
.PP
* Ctrl+D β‡’ Quick add/remove from favourites
.PP
* Ctrl+L β‡’ Focus URL bar
.PP
* Ctrl+S β‡’ Save current file
.PP
* Ctrl+B β‡’ Toggle favourites dock
.PP
* Ctrl+H β‡’ Toggle history dock
.PP
* Ctrl+M β‡’ Toggle document outline dock
.PP
* Ctrl+U β‡’ View document source
.PP
* Ctrl+Q β‡’ Quit Kristall
.PP
* Ctrl+, β‡’ Open settings window
.PP
* Alt+Left β‡’ Navigate one page back
.PP
* Alt+Right β‡’ Navigate one page forward
.PP
* Alt+Up β‡’ Navigate to parent directory
.PP
* Alt+Home β‡’ Go to home page
.PP
* Alt+/ β‡’ Navigate to root directory
.PP
* F1 β‡’ Open help manual
.PP
* F5 β‡’ Refresh current tab
.
.PP
## Protocol support
.
.PP
These protocols are currently supported via their respective URL schemes:
.IP
 Gemini: https://gemini.circumlunar.space/
.IP
 HTTP/HTTPS: https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol
.IP
 Gopher: https://en.wikipedia.org/wiki/Gopher_(protocol)
.IP
 Finger: https://en.wikipedia.org/wiki/Finger_protocol
.
.PP
### Gemini
.
.PP
Kristall tries to implement the current feature set of the gemini specification. All response types of a gemini server are relayed to the user and the user choses when to do certain actions or not. Redirections are followed automatically, and you will be prompted depending on your configured Settings.
.
.PP
### Gopher
.
.PP
Kristall provides access to gopherspace and supports most modern/common file types:
.PP
* Gophermaps / Directories
.PP
* Text
.PP
* Sound / Audio / Music
.PP
* Images / GIFs
.PP
* HTML
.PP
* Mirrors
.
.PP
There is currently no support for automatic redirection on URL: resources or special/oldschool file types like DOS/HexBin/UUencoded data.
.
.PP
### Local file browsing
.
.PP
The file:// scheme can be used to browse local files and directories on your system. (This feature has not been well-tested on Windows systems)
.
.PP
Browsing to a local directory, such as file:///home/user will create a "directory listing", with links allowing you to navigate the file structure.
.
.PP
Browsing to an actual file, such as file:///home/user/file.txt will cause Kristall to attempt to display that file.
.
.PP
### Built-in sites
.
.PP
There is also the scheme about: which can be used to access internal sites for configuration, usability or help (this is one of them!):
.IP
about:blank
.IP
about:favourites
.IP
about:help
.IP
about:updates
.IP
about:style-preview
.IP
about:cache
.
.PP
## Security Concept
.
.PP
Kristall has some built-in security measures to make your browsing experience safe and sane.
.
.PP
### Philosophy
.
.PP
Kristall will always try to warn or ask you if anything critical will happen.
.PP
Sneakily redirecting you to another host?
.PP
You missed disabling your client certficiate when switching hosts?
.PP
Kristall will ask you whether you want to keep your current settings and continue or if you want to disable that feature. These security measures are quite non-intrusive and help you "not missing the click".
.
.PP
It will also make some artificial hurdles when you can \fIreally\fR make something that is critical, like visiting a host with a mistrusted certificate or deleting your client certificates.
.
.PP
### Security Measures
.
.PP
* Client certificates will be disabled when doing a host or protocol switch
.PP
* Client certificates allow host filtering to double-opt-in for non-planned hosts
.PP
* Redirects check for cross-scheme or cross-host redirections.
.PP
* Fine-grained customizations
.PP
* Trusting TLS connections based on manually built lists, TOFU method or using the certificate authority system
.
.PP
## Caching
.
.PP
Kristall has an in-memory page caching system enabled by default. This allows for quick loading of pages that have already been visited. Currently, this cache is cleared when Kristall is exited.
.
.PP
The caching system is fairly basic; when a page is loaded, it is pushed to the cache (if it is smaller than \fBCached item size threshold\fR). If the cache exceeds the \fBTotal cache size limit\fR, the oldest item in the cache is removed. The \fBCached item life\fR determines how long this cached pages will be valid for.
.
.PP
When a page is read from cache, it is indicated in the Status Bar, to the left of the mime type.
.
.PP
If you would like to disable page caching, set the \fBTotal cache size limit\fR to 0. See \fISettings\fR for more information
.
.PP
## Supported Media Types
.
.PP
* text/plain
.PP
* text/gemini
.PP
* text/html
.PP
* text/markdown
.PP
* text/gophermap
.PP
* image/*
.PP
* audio/* via Qt multimedia
.PP
* video/* via Qt multimedia
.
.PP
All unrecognized text files will be rendered as text/plain documents with a monospaced font.
.\" End of converted Gemtext
.
.SH BUGS
Bug tracker:
.IP
https://github.com/MasterQ32/kristall/issues