Diferencias
Muestra las diferencias entre dos versiones de la página.
| Ambos lados, revisión anteriorRevisión previaPróxima revisión | Revisión previa | ||
| config.toml [2022/05/06 18:56] – peron | config.toml [2026/04/21 16:05] (actual) – editor externo 127.0.0.1 | ||
|---|---|---|---|
| Línea 3: | Línea 3: | ||
| # It also shows all the default values, if you don't create the file. | # It also shows all the default values, if you don't create the file. | ||
| # You can edit this file to set your own configuration for Amfora. | # You can edit this file to set your own configuration for Amfora. | ||
| + | |||
| # When Amfora updates, defaults may change, but this file on your drive will not. | # When Amfora updates, defaults may change, but this file on your drive will not. | ||
| # You can always get the latest defaults on GitHub. | # You can always get the latest defaults on GitHub. | ||
| # https:// | # https:// | ||
| + | |||
| # Por favor consulta la Amfora Wiki para mas ayuda | # Por favor consulta la Amfora Wiki para mas ayuda | ||
| # https:// | # https:// | ||
| # gemini:// | # gemini:// | ||
| - | + | ||
| - | + | ||
| + | |||
| # Todos los valores URL pueden omitir esquema y puerto | # Todos los valores URL pueden omitir esquema y puerto | ||
| # Ejemplos válidos: | # Ejemplos válidos: | ||
| Línea 20: | Línea 20: | ||
| # ejemplo.com | # ejemplo.com | ||
| # ejemplo.com: | # ejemplo.com: | ||
| - | + | ||
| + | |||
| [a-general] | [a-general] | ||
| # Presiona Ctrl-H para acceder | # Presiona Ctrl-H para acceder | ||
| home = " | home = " | ||
| + | |||
| # Sigue hasta 5 redirecciones Gemini sin preguntar. | # Sigue hasta 5 redirecciones Gemini sin preguntar. | ||
| # Aparecerá una pregunta siempre de la 5ta redirección y para redirecciones a protocolos distintos a Gemini. | # Aparecerá una pregunta siempre de la 5ta redirección y para redirecciones a protocolos distintos a Gemini. | ||
| # Si está en false, aparecerá la pregunta antes de redirigir. | # Si está en false, aparecerá la pregunta antes de redirigir. | ||
| auto_redirect = false | auto_redirect = false | ||
| + | |||
| # What command to run to open a HTTP(S) URL. | # What command to run to open a HTTP(S) URL. | ||
| # Set to " | # Set to " | ||
| Línea 38: | Línea 38: | ||
| # The best to define a command is using a string array. | # The best to define a command is using a string array. | ||
| # Examples: | # Examples: | ||
| - | http = [' | + | # http = [' |
| # http = [' | # http = [' | ||
| # http = ['/ | # http = ['/ | ||
| Línea 45: | Línea 45: | ||
| # Using just a string will also work, but it is deprecated, and will degrade if | # Using just a string will also work, but it is deprecated, and will degrade if | ||
| # you use paths with spaces. | # you use paths with spaces. | ||
| - | + | ||
| - | http = 'default' | + | #http = 'gemini:// |
| - | + | ||
| - | # Any URL that will accept a query string can be put here | + | # Cualquier |
| search = " | search = " | ||
| + | |||
| # Si se usarán colores en la terminal | # Si se usarán colores en la terminal | ||
| color = true | color = true | ||
| + | |||
| # Whether ANSI color codes from the page content should be rendered | # Whether ANSI color codes from the page content should be rendered | ||
| ansi = true | ansi = true | ||
| + | |||
| # Si se reemplazarán los astericos con bullets unicode | # Si se reemplazarán los astericos con bullets unicode | ||
| bullets = true | bullets = true | ||
| + | |||
| # Si se muestra en enlace después del texto de enlace | # Si se muestra en enlace después del texto de enlace | ||
| show_link = false | show_link = false | ||
| - | + | ||
| - | # A number from 0 to 1, indicating what percentage of the terminal width the left margin should take up. | + | # Número entre 0 to 1, que indica porcentaje de márgen izquierdo. |
| left_margin = 0.15 | left_margin = 0.15 | ||
| + | |||
| # The max number of columns to wrap a page's text to. Preformatted blocks are not wrapped. | # The max number of columns to wrap a page's text to. Preformatted blocks are not wrapped. | ||
| max_width = 100 | max_width = 100 | ||
| + | |||
| # ' | # ' | ||
| # An empty value means the code will find the default downloads folder for your system. | # An empty value means the code will find the default downloads folder for your system. | ||
| Línea 74: | Línea 74: | ||
| # Note the use of single quotes, so that backslashes will not be escaped. | # Note the use of single quotes, so that backslashes will not be escaped. | ||
| downloads = '' | downloads = '' | ||
| + | |||
| # Max size for displayable content in bytes - after that size a download window pops up | # Max size for displayable content in bytes - after that size a download window pops up | ||
| page_max_size = 2097152 | page_max_size = 2097152 | ||
| # Max time it takes to load a page in seconds - after that a download window pops up | # Max time it takes to load a page in seconds - after that a download window pops up | ||
| page_max_time = 10 | page_max_time = 10 | ||
| + | |||
| # Cuando aparece la barra de desplazamiento. " | # Cuando aparece la barra de desplazamiento. " | ||
| # " | # " | ||
| scrollbar = " | scrollbar = " | ||
| + | |||
| # Subrayar URLs no-gemini | # Subrayar URLs no-gemini | ||
| # This is done to help color blind users | # This is done to help color blind users | ||
| underline = true | underline = true | ||
| - | + | ||
| + | |||
| [auth] | [auth] | ||
| # Authentication settings | # Authentication settings | ||
| # Note the use of single quotes for values, so that backslashes will not be escaped. | # Note the use of single quotes for values, so that backslashes will not be escaped. | ||
| + | |||
| [auth.certs] | [auth.certs] | ||
| # Client certificates | # Client certificates | ||
| # Set domain name equal to path to client cert | # Set domain name equal to path to client cert | ||
| # " | # " | ||
| + | |||
| [auth.keys] | [auth.keys] | ||
| # Client certificate keys | # Client certificate keys | ||
| # Set domain name equal to path to key for the client cert above | # Set domain name equal to path to key for the client cert above | ||
| # " | # " | ||
| - | + | ||
| + | |||
| [keybindings] | [keybindings] | ||
| # Si tiene teclado español, use de bind_tab1 a bind_tab0 para | # Si tiene teclado español, use de bind_tab1 a bind_tab0 para | ||
| Línea 117: | Línea 117: | ||
| bind_tab9 = " | bind_tab9 = " | ||
| bind_tab0 = " | bind_tab0 = " | ||
| + | |||
| # Whitespace is not allowed in any of the keybindings! Use ' | # Whitespace is not allowed in any of the keybindings! Use ' | ||
| # Multiple keys can be bound to one command, just use a TOML array. | # Multiple keys can be bound to one command, just use a TOML array. | ||
| Línea 123: | Línea 123: | ||
| # Ctrl- won't work on all keys, see this for a list: | # Ctrl- won't work on all keys, see this for a list: | ||
| # https:// | # https:// | ||
| + | |||
| # An example of a TOML array for multiple keys being bound to one command is the default | # An example of a TOML array for multiple keys being bound to one command is the default | ||
| # binding for reload: | # binding for reload: | ||
| Línea 130: | Línea 130: | ||
| # " | # " | ||
| # an ANSI terminal) | # an ANSI terminal) | ||
| + | |||
| # The default binding for opening the bottom bar for entering a URL or link number is: | # The default binding for opening the bottom bar for entering a URL or link number is: | ||
| # bind_bottom = " | # bind_bottom = " | ||
| Línea 137: | Línea 137: | ||
| # bind_edit = " | # bind_edit = " | ||
| # This binds the " | # This binds the " | ||
| + | |||
| # The bind_link[1-90] options are for the commands to go to the first 10 links on a page, | # The bind_link[1-90] options are for the commands to go to the first 10 links on a page, | ||
| # typically these are bound to the number keys: | # typically these are bound to the number keys: | ||
| Línea 150: | Línea 150: | ||
| # bind_link9 = " | # bind_link9 = " | ||
| # bind_link0 = " | # bind_link0 = " | ||
| + | |||
| # All keybindings: | # All keybindings: | ||
| # | # | ||
| # bind_bottom | # bind_bottom | ||
| - | # bind_edit | + | bind_edit |
| - | # bind_home | + | bind_home |
| - | # bind_bookmarks = " | + | bind_bookmarks = " |
| - | # bind_add_bookmark = "a" | + | bind_add_bookmark = [" |
| # bind_save | # bind_save | ||
| - | # bind_reload | + | bind_reload |
| - | # bind_back | + | bind_back |
| # bind_forward | # bind_forward | ||
| # bind_moveup | # bind_moveup | ||
| Línea 180: | Línea 180: | ||
| # bind_beginning: | # bind_beginning: | ||
| # bind_end: same but the for the end (bottom left) | # bind_end: same but the for the end (bottom left) | ||
| + | |||
| [url-handlers] | [url-handlers] | ||
| # Allows setting the commands to run for various URL schemes. | # Allows setting the commands to run for various URL schemes. | ||
| Línea 193: | Línea 193: | ||
| # NOTE: These settings are overrided by the ones in the proxies section. | # NOTE: These settings are overrided by the ones in the proxies section. | ||
| # Note the use of single quotes, so that backslashes will not be escaped. | # Note the use of single quotes, so that backslashes will not be escaped. | ||
| + | |||
| # This is a special key that defines the handler for all URL schemes for which | # This is a special key that defines the handler for all URL schemes for which | ||
| # no handler is defined. | # no handler is defined. | ||
| other = ' | other = ' | ||
| - | + | ||
| + | |||
| # [[mediatype-handlers]] section | # [[mediatype-handlers]] section | ||
| # --------------------------------- | # --------------------------------- | ||
| Línea 266: | Línea 266: | ||
| # 2. Just type: " | # 2. Just type: " | ||
| # 3. Catch-all: " | # 3. Catch-all: " | ||
| - | + | ||
| + | |||
| [cache] | [cache] | ||
| # Options for page cache - which is only for text pages | # Options for page cache - which is only for text pages | ||
| # Increase the cache size to speed up browsing at the expense of memory | # Increase the cache size to speed up browsing at the expense of memory | ||
| # Zero values mean there is no limit | # Zero values mean there is no limit | ||
| + | |||
| max_size = 0 # Size in bytes | max_size = 0 # Size in bytes | ||
| max_pages = 30 # The maximum number of pages the cache will store | max_pages = 30 # The maximum number of pages the cache will store | ||
| + | |||
| # How long a page will stay in cache, in seconds. | # How long a page will stay in cache, in seconds. | ||
| timeout = 1800 # 30 mins | timeout = 1800 # 30 mins | ||
| + | |||
| [proxies] | [proxies] | ||
| # Allows setting a Gemini proxy for different schemes. | # Allows setting a Gemini proxy for different schemes. | ||
| Línea 291: | Línea 291: | ||
| # | # | ||
| # Note that HTTP and HTTPS are treated as separate protocols here. | # Note that HTTP and HTTPS are treated as separate protocols here. | ||
| - | + | ||
| + | |||
| [subscriptions] | [subscriptions] | ||
| # For tracking feeds and pages | # For tracking feeds and pages | ||
| + | |||
| # Whether a pop-up appears when viewing a potential feed | # Whether a pop-up appears when viewing a potential feed | ||
| popup = true | popup = true | ||
| + | |||
| # How often to check for updates to subscriptions in the background, in seconds. | # How often to check for updates to subscriptions in the background, in seconds. | ||
| # Set it to 0 to disable this feature. You can still update individual feeds | # Set it to 0 to disable this feature. You can still update individual feeds | ||
| Línea 305: | Línea 305: | ||
| # Note Amfora will check for updates on browser start no matter what this setting is. | # Note Amfora will check for updates on browser start no matter what this setting is. | ||
| update_interval = 1800 # 30 mins | update_interval = 1800 # 30 mins | ||
| + | |||
| # How many subscriptions can be checked at the same time when updating. | # How many subscriptions can be checked at the same time when updating. | ||
| # If you have many subscriptions you may want to increase this for faster | # If you have many subscriptions you may want to increase this for faster | ||
| # update times. Any value below 1 will be corrected to 1. | # update times. Any value below 1 will be corrected to 1. | ||
| workers = 3 | workers = 3 | ||
| + | |||
| # The number of subscription updates displayed per page. | # The number of subscription updates displayed per page. | ||
| entries_per_page = 20 | entries_per_page = 20 | ||
| - | + | ||
| + | |||
| [theme] | [theme] | ||
| # This section is for changing the COLORS used in Amfora. | # This section is for changing the COLORS used in Amfora. | ||
| Línea 323: | Línea 323: | ||
| # The key " | # The key " | ||
| # like for modals. | # like for modals. | ||
| + | |||
| # Note that not all colors will work on terminals that do not have truecolor support. | # Note that not all colors will work on terminals that do not have truecolor support. | ||
| # If you want to stick to the standard 16 or 256 colors, you can get | # If you want to stick to the standard 16 or 256 colors, you can get | ||
| # a list of those here: https:// | # a list of those here: https:// | ||
| # DO NOT use the names from that site, just the hex codes. | # DO NOT use the names from that site, just the hex codes. | ||
| + | |||
| # Definitions: | # Definitions: | ||
| # bg = background | # bg = background | ||
| Línea 337: | Línea 337: | ||
| # bkmk = bookmark | # bkmk = bookmark | ||
| # modal = a popup window/box in the middle of the screen | # modal = a popup window/box in the middle of the screen | ||
| + | |||
| # EXAMPLES: | # EXAMPLES: | ||
| # hdg_1 = " | # hdg_1 = " | ||
| # hdg_2 = "# | # hdg_2 = "# | ||
| # bg = " | # bg = " | ||
| + | |||
| # Available keys to set: | # Available keys to set: | ||
| + | |||
| # bg: background for pages, tab row, app in general | # bg: background for pages, tab row, app in general | ||
| # tab_num: The number/ | # tab_num: The number/ | ||
| Línea 352: | Línea 352: | ||
| # bottombar_bg | # bottombar_bg | ||
| # scrollbar: The scrollbar that appears on the right for long pages | # scrollbar: The scrollbar that appears on the right for long pages | ||
| + | |||
| # hdg_1 | # hdg_1 | ||
| # hdg_2 | # hdg_2 | ||
| Línea 363: | Línea 363: | ||
| # preformatted_text | # preformatted_text | ||
| # list_text | # list_text | ||
| + | |||
| # btn_bg: The bg color for all modal buttons | # btn_bg: The bg color for all modal buttons | ||
| # btn_text: The text color for all modal buttons | # btn_text: The text color for all modal buttons | ||
| + | |||
| # dl_choice_modal_bg | # dl_choice_modal_bg | ||
| # dl_choice_modal_text | # dl_choice_modal_text | ||
| Línea 381: | Línea 381: | ||
| # subscription_modal_bg | # subscription_modal_bg | ||
| # subscription_modal_text | # subscription_modal_text | ||
| + | |||
| # input_modal_bg | # input_modal_bg | ||
| # input_modal_text | # input_modal_text | ||
| # input_modal_field_bg: | # input_modal_field_bg: | ||
| # input_modal_field_text: | # input_modal_field_text: | ||
| + | |||
| # bkmk_modal_bg | # bkmk_modal_bg | ||
| # bkmk_modal_text | # bkmk_modal_text | ||
