summaryrefslogtreecommitdiff
path: root/res/about/help.gmi
diff options
context:
space:
mode:
Diffstat (limited to 'res/about/help.gmi')
-rw-r--r--res/about/help.gmi55
1 files changed, 38 insertions, 17 deletions
diff --git a/res/about/help.gmi b/res/about/help.gmi
index 591f4d61..0a498613 100644
--- a/res/about/help.gmi
+++ b/res/about/help.gmi
@@ -93,7 +93,7 @@ Search within cached pages is limited to the (small) set of pages that Lagrange
93 93
94Note that the navigation stack is saved to a file when Lagrange is shut down and restored on the next launch. This means the next time you launch Lagrange, you can still search the contents of past pages. However, navigation stacks are tab-specific, so closing a tab will delete its history as well. 94Note that the navigation stack is saved to a file when Lagrange is shut down and restored on the next launch. This means the next time you launch Lagrange, you can still search the contents of past pages. However, navigation stacks are tab-specific, so closing a tab will delete its history as well.
95 95
96You can also make online search queries via the URL input field. When a search URL is configured on the "Network" tab of Preferences, text entered in the URL field is passed to the search URL as a query parameter. A search query will only occur when Enter is pressed while the [⇒ Search Query] indicator is visible. 96You can also make online search queries via the URL input field. When a search URL is configured on the "Network" tab of Preferences, text entered in the URL field is passed to the search URL as a query parameter. A search query will only occur when Enter is pressed while the [Search Query] indicator is visible.
97 97
98### 1.1.2 Links 98### 1.1.2 Links
99 99
@@ -158,7 +158,7 @@ The feature can be found in the page context menu: right-click and select "Set A
158 158
159The sidebars can be toggled via menus or by pressing ${SHIFT+}${CTRL+}L or ${SHIFT+}${CTRL+}P (for the left/right sidebar, respectively). Both sidebars have five tabs: 159The sidebars can be toggled via menus or by pressing ${SHIFT+}${CTRL+}L or ${SHIFT+}${CTRL+}P (for the left/right sidebar, respectively). Both sidebars have five tabs:
160 160
161* Bookmarks: List of bookmarks that you've created. These appear first in search results for quick and easy access. 161* Bookmarks: List of bookmarks that you've created, organized into folders. Bookmarks appear first in search results for quick and easy access.
162* Feeds: Entries found on subscribed pages. 162* Feeds: Entries found on subscribed pages.
163* History: Chronological list of visited URLs. This is not a full history of all the URLs you've accessed over time — only unique URLs are shown at the latest access time. 163* History: Chronological list of visited URLs. This is not a full history of all the URLs you've accessed over time — only unique URLs are shown at the latest access time.
164* Identities: TLS client certificates. 164* Identities: TLS client certificates.
@@ -170,13 +170,19 @@ ${CTRL+}1 through ${CTRL+}5 switch between the left sidebar tabs, or hide the si
170 170
171Press ${CTRL+}D to bookmark the currently open URL. 171Press ${CTRL+}D to bookmark the currently open URL.
172 172
173Bookmarks are listed in alphabetic order in the sidebar. There is no support for folders or manual sorting. 173Newly added bookmarks appear at the bottom of the Bookmarks sidebar. You can drag and drop items in the list to change their order.
174 174
175In addition to a title, bookmarks can have tags. Some tags have a special meaning, but you are free to enter whatever you want in the tags field. In quick search results, tags are given extra weight so they appear higher in results. 175In addition to a title, bookmarks can have tags. Some tags have a special meaning, but you are free to enter whatever you want in the tags field. In quick search results, tags are given extra weight so they appear higher in results.
176 176
177By default bookmarks are assigned random icons. You can enter a custom icon for a bookmark in the bookmark edit dialog to make it easier to recognize a particular site at a glance. The icon must be a single Unicode character. It will appear in the bookmark list, tab titles, feed entry list, quick search results, and page top banners. 177By default, bookmarks are assigned random icons. You can enter a custom icon for a bookmark in the bookmark edit dialog to make it easier to recognize a particular site at a glance. The icon must be a single Unicode character. It will appear in the bookmark list, tab titles, feed entry list, quick search results, and page top banners.
178 178
179### 1.4.1 Exporting and importing 179### 1.4.1 Folders
180
181Press ${SHIFT+}N to create a new bookmark folder. Newly added folders appear in the bottom of the bookmark list.
182
183You can drag and drop bookmarks in and out of folders. Folders can also be nested inside each other. Clicking on a folder heading will toggle its fold state, either hiding or showing its contents. The fold state is remembered across sessions.
184
185### 1.4.2 Exporting and importing
180 186
181=> about:bookmarks The special page "about:bookmarks" is used for exporting bookmarks out of Lagrange. 187=> about:bookmarks The special page "about:bookmarks" is used for exporting bookmarks out of Lagrange.
182It has three different modes that can be opened via menus: 188It has three different modes that can be opened via menus:
@@ -189,7 +195,9 @@ The generated page can be saved to Downloads or you can copy all or parts of it
189 195
190To import all links on a page as bookmarks, use the page context menu to select "Import Links as Bookmarks...". You can also right-click on individual links and select "Bookmark Link...". 196To import all links on a page as bookmarks, use the page context menu to select "Import Links as Bookmarks...". You can also right-click on individual links and select "Bookmark Link...".
191 197
192### 1.4.2 Remote bookmarks 198Importing links on a page will not cause any folders to be (re)created. To fully transfer your bookmarks, tags, custom icons, and folders, consider copying the entire "bookmarks.ini" file (see section 3.5).
199
200### 1.4.3 Remote bookmarks
193 201
194This version of Lagrange does not support automatic bookmark synchronization. By default all bookmarks are stored locally. However, a remote bookmarks feature is provided to allow accessing a set of bookmarks from everywhere. This way you can set up your own centralized bookmark pages or use any public Gemini page as a source of bookmarks. 202This version of Lagrange does not support automatic bookmark synchronization. By default all bookmarks are stored locally. However, a remote bookmarks feature is provided to allow accessing a set of bookmarks from everywhere. This way you can set up your own centralized bookmark pages or use any public Gemini page as a source of bookmarks.
195 203
@@ -199,7 +207,7 @@ All links found in the remote sources become remote bookmarks and are included i
199 207
200Note that remote bookmarks are read-only: they cannot be edited or tagged. This means you cannot subscribe to a remote bookmark without first making a local duplicate of it. If you want to make local copies of all the links in the remote source, open the remote source page and use the "Import Links as Bookmarks..." context menu item on it. After refreshing remote sources, the remote copies of the bookmarks will not be shown any more. 208Note that remote bookmarks are read-only: they cannot be edited or tagged. This means you cannot subscribe to a remote bookmark without first making a local duplicate of it. If you want to make local copies of all the links in the remote source, open the remote source page and use the "Import Links as Bookmarks..." context menu item on it. After refreshing remote sources, the remote copies of the bookmarks will not be shown any more.
201 209
202### 1.4.3 Special tags 210### 1.4.4 Special tags
203 211
204* Set a "homepage" tag on a bookmark to make it one of the pages that will be opened when pressing the 🏠 button. If multiple bookmarks are tagged as homepages, a random one is selected. 212* Set a "homepage" tag on a bookmark to make it one of the pages that will be opened when pressing the 🏠 button. If multiple bookmarks are tagged as homepages, a random one is selected.
205* A "subscribed" tag means that Lagrange will periodically fetch the bookmarked page and look for Gemini feed links. All the found links that match the required style ("YYYY-MM-DD Entry title") will appear in the Feeds sidebar tab. 213* A "subscribed" tag means that Lagrange will periodically fetch the bookmarked page and look for Gemini feed links. All the found links that match the required style ("YYYY-MM-DD Entry title") will appear in the Feeds sidebar tab.
@@ -457,7 +465,7 @@ If there already is a running instance you can still use the command line to int
457 465
458Lagrange stores user-specific persistent files in one of the following locations (depending on the operating system): 466Lagrange stores user-specific persistent files in one of the following locations (depending on the operating system):
459 467
460```User file directories on different operating systems 468```Location of user-specific files on different operating systems (table)
461 Windows : C:\Users\Name\AppData\Roaming\fi.skyjake.Lagrange 469 Windows : C:\Users\Name\AppData\Roaming\fi.skyjake.Lagrange
462 macOS : ~/Library/Application Support/fi.skyjake.Lagrange/ 470 macOS : ~/Library/Application Support/fi.skyjake.Lagrange/
463Other Unix : ~/.config/lagrange/ 471Other Unix : ~/.config/lagrange/
@@ -477,14 +485,24 @@ g : Gui (Windows/Command/Meta key)
477k : Caps Lock 485k : Caps Lock
478``` 486```
479 487
480### bookmarks.txt 488### bookmarks.ini
481Each bookmark is stored as three consecutive lines: 489This file stores all bookmarks and bookmark folders. The format is a subset of TOML: the only supported value types are strings and integers.
482> {icon} {creation-timestamp} {url} 490```Example bookmark
483> {title} 491[51]
484> {tags} 492url = "gemini://gemini.circumlunar.space/"
485* The icon is one UTF-32 codepoint as a hexadecimal number, prefixed with zeroes to be always eight bytes long. 493title = "Project Gemini"
486* Creation time is stored as a UNIX timestamp. 494tags = ""
487* URL, title, and tags are UTF-8 text strings terminated at the newline. 495icon = 0x264a
496created = 1609936844 # 2021-01-06
497parent = 99
498order = 288
499```
500* The table name (51) is the unique identifier of the bookmark.
501* "url", "title", and "tags" are used as-is. C-style backslash escapes must be used for quotes (for example: \"), and may optionally be used for Unicode characters as well.
502* "icon" is a UTF-32 codepoint as a hexadecimal number.
503* "created" is a UNIX timestamp for when the bookmark was created. Following the timestamp, a human-readable date is also provided but it is just a comment — that part will be ignored when parsing the file.
504* "parent" is the ID of the parent folder. Folders are stored as similar bookmark entries, but their URL value is always an empty string.
505* "order" is for sorting the bookmarks list. The list is sorted by ascending order. This value is updated automatically when bookmarks are reordered in the sidebar.
488 506
489### feeds.txt 507### feeds.txt
490Cached state of feed subscriptions. The file may be deleted while the application is not running to force a reset of feed contents. Subscriptions themselves are tracked via bookmark tags so deleting the file does not affect which pages are subscribed. 508Cached state of feed subscriptions. The file may be deleted while the application is not running to force a reset of feed contents. Subscriptions themselves are tracked via bookmark tags so deleting the file does not affect which pages are subscribed.
@@ -600,12 +618,15 @@ The combined navigation history of all tabs. Each line specifies one URL:
600> {last-visited} {flags} {url} 618> {last-visited} {flags} {url}
601* The last visited time is stored as a UNIX timestamp. 619* The last visited time is stored as a UNIX timestamp.
602* Flags is always four bytes long: 620* Flags is always four bytes long:
603``` 621```URL flags (table)
6040000 : No flags set 6220000 : No flags set
6050001 : Transient 6230001 : Transient
6240002 : Kept
606``` 625```
607The Transient flag is used to indicate redirections and for marking feed entries as read without actually visiting the URL. URLs with the Transient flag do not appear in the History sidebar tab. 626The Transient flag is used to indicate redirections and for marking feed entries as read without actually visiting the URL. URLs with the Transient flag do not appear in the History sidebar tab.
608 627
628The Kept flag is used for preventing the URL from being discarded due to old age. Normally URLs in the navigation history become stale after several months and are removed from the file.
629
609## 3.6 Environment variables 630## 3.6 Environment variables
610 631
611### LAGRANGE_OVERRIDE_DPI 632### LAGRANGE_OVERRIDE_DPI