2020-05-08 15:45:43 +02:00
|
|
|
# a line starting with a '#' is a comment
|
|
|
|
# The server instance name
|
|
|
|
# add this entry to your file (the one in your home)
|
2021-07-31 14:09:10 +02:00
|
|
|
# server = test.server.org
|
2020-05-08 15:45:43 +02:00
|
|
|
|
|
|
|
# your username
|
|
|
|
# add this entry to your file (the one in your home)
|
2021-07-31 14:09:10 +02:00
|
|
|
# username = username
|
2020-05-08 15:45:43 +02:00
|
|
|
|
|
|
|
# theme
|
|
|
|
|
|
|
|
use "default-theme.conf"
|
|
|
|
|
|
|
|
# maximum number of attachments allowed for a single toot
|
|
|
|
# default is 4
|
2021-07-31 14:09:10 +02:00
|
|
|
#max-numbers-allowed-attachments = 4
|
2020-05-08 15:45:43 +02:00
|
|
|
|
|
|
|
# maximum number of characters allowed for a single toot
|
|
|
|
# default is 500
|
2021-07-31 14:09:10 +02:00
|
|
|
#max-message-length = 500
|
2020-05-08 15:45:43 +02:00
|
|
|
|
|
|
|
# maximum number of characters allowed for reporting an user to
|
|
|
|
# instance's admin
|
|
|
|
#default is 100
|
2021-07-31 14:09:10 +02:00
|
|
|
#max-report-comment-length = 100
|
2020-05-08 15:45:43 +02:00
|
|
|
|
|
|
|
# Character to use when replying to a message
|
2021-07-31 14:09:10 +02:00
|
|
|
reply-quoted-character = "> "
|
2020-05-08 15:45:43 +02:00
|
|
|
|
|
|
|
# delete the command history entries that are older than this number
|
|
|
|
# of days
|
2024-09-27 19:57:01 +02:00
|
|
|
purge-history-days-offset = 30
|
2020-05-08 15:45:43 +02:00
|
|
|
|
|
|
|
# delete the cache entries that are older than this number of days
|
2024-09-27 19:57:01 +02:00
|
|
|
purge-cache-days-offset = 7
|
|
|
|
|
|
|
|
# delete the cache entries that are older than this number of days
|
|
|
|
purge-gemlog-seen-post-days-offset = 255
|
|
|
|
|
|
|
|
# delete the mentions from database that has not been used after this number of days
|
|
|
|
purge-post-mention-days-offset = 200
|
2020-05-08 15:45:43 +02:00
|
|
|
|
|
|
|
# chosen editor (as shell command line) for compose a message
|
2021-07-31 14:09:10 +02:00
|
|
|
editor = "nano --locking"
|
2020-05-08 15:45:43 +02:00
|
|
|
|
2024-08-31 21:24:47 +02:00
|
|
|
# prefix for comments line when composing a post
|
|
|
|
# line starting with this prefix will *not* be sent to the server
|
2021-10-13 15:01:15 +02:00
|
|
|
|
2024-09-03 22:04:17 +02:00
|
|
|
post.comment-line.prefix = "#"
|
2024-08-31 21:24:47 +02:00
|
|
|
|
|
|
|
# allowed languages post, if the regex does not match the post's
|
|
|
|
# language the post is discarded
|
|
|
|
|
|
|
|
post.allowed.language = ".*"
|
2021-10-13 15:01:15 +02:00
|
|
|
|
2023-09-13 15:00:31 +02:00
|
|
|
# default language code por posts sent, the list can be found here:
|
|
|
|
# https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
|
|
|
|
|
|
|
|
default.post.language = "en"
|
|
|
|
|
2021-07-31 11:04:18 +02:00
|
|
|
# update gemlog subscriptions when program starts
|
|
|
|
# (default 'no', change to 'yes' if desired)
|
2021-11-10 19:35:52 +01:00
|
|
|
start.update.gemlog = no
|
2021-07-31 14:09:10 +02:00
|
|
|
|
2022-11-27 13:37:50 +01:00
|
|
|
# delete mentions fetched from the server
|
|
|
|
|
|
|
|
delete.fetched.mentions = yes
|
|
|
|
|
2021-08-26 16:35:16 +02:00
|
|
|
# directory to scan for gempub files, default the same as
|
2021-08-26 16:34:40 +02:00
|
|
|
# $XDG_DATA_HOME (usually something like %HOME/.local/share/tinmop/").
|
2021-08-23 18:20:11 +02:00
|
|
|
|
2021-08-26 16:34:40 +02:00
|
|
|
# gempub.directory.library = /absolute/path/to/your/gempub/library
|
2021-08-23 18:20:11 +02:00
|
|
|
|
2021-07-31 14:09:10 +02:00
|
|
|
# close links window when opening the selected link
|
|
|
|
|
2021-08-16 21:39:59 +02:00
|
|
|
open-message-link-window.close-after-select = yes
|
2021-07-31 11:04:18 +02:00
|
|
|
|
2024-06-26 12:49:36 +02:00
|
|
|
gemini.search-engine.uri = "gemini://kennedy.gemi.dev/search"
|
|
|
|
|
|
|
|
# gemini proxy, forward all the gemini and http requests to the servel
|
|
|
|
# below, the response is converted, by the proxy, in a format fitted
|
|
|
|
# for a gemini client (e.g HTML is converted to gemtext)
|
|
|
|
|
|
|
|
gemini.proxy.uri = ""
|
|
|
|
|
2021-11-12 21:06:28 +01:00
|
|
|
# The width of the generated table of contents for gemini pages when
|
|
|
|
# tinmop is ran as exclusive gemini client (command line option "-G")
|
|
|
|
|
2022-02-25 16:37:43 +01:00
|
|
|
gemini.exclusive.mode.toc.width = 1/5
|
|
|
|
|
|
|
|
# The height of the links window for gemini pages when tinmop is ran as
|
|
|
|
# exclusive gemini client (command line option "-G")
|
|
|
|
|
|
|
|
gemini.exclusive.mode.links.height = 1/4
|
2021-11-12 21:06:28 +01:00
|
|
|
|
2020-06-24 19:42:05 +02:00
|
|
|
# the signature file path relative to $HOME
|
2020-06-22 13:58:04 +02:00
|
|
|
|
2020-06-24 19:42:05 +02:00
|
|
|
# signature-file = ".signature"
|
2020-06-22 13:58:04 +02:00
|
|
|
|
2020-06-11 17:28:39 +02:00
|
|
|
# you can filter off users using regexp
|
|
|
|
|
|
|
|
# ignore-user-regexp = "@domain-name$"
|
|
|
|
|
2021-02-13 12:37:37 +01:00
|
|
|
# ignore-user-regexp = "^user-name@domain-name"
|
|
|
|
|
|
|
|
# you can instruct the program to open some non gemini link with a
|
|
|
|
# program installed with your system like below
|
|
|
|
# syntax open "REGEXP" with "PROGRAM-NAME" [use cache]
|
|
|
|
# example:
|
|
|
|
#
|
|
|
|
# open "https?://.+mp3" with "mpv"
|
2021-07-25 12:20:17 +02:00
|
|
|
|
2021-02-13 12:37:37 +01:00
|
|
|
# you can open mpv in a new terminal this way:
|
|
|
|
#
|
|
|
|
# open "https?://.+mp3" with "xterm -e mpv"
|
2021-07-25 12:20:17 +02:00
|
|
|
# open "mp3$" with "xterm -e mpv"
|
|
|
|
# open "m3u8$" with "xterm -e mpv"
|
|
|
|
# open "ogg$" with "xterm -e mpv"
|
|
|
|
|
2021-02-13 12:37:37 +01:00
|
|
|
# open png files with gimp but cache them before
|
|
|
|
# ▼▼▼▼▼▼▼▼▼
|
|
|
|
# open "https?://png$" with "gimp" use cache
|
2021-07-25 18:36:06 +02:00
|
|
|
|
|
|
|
# using "no wait" allow for content to be opened before download is
|
|
|
|
# completed; note that not all file types can be opened before the
|
|
|
|
# whole file is available to the opening program
|
|
|
|
# ▼▼▼▼▼▼▼
|
|
|
|
# open "mp3$" with "xterm -e mpv" no wait
|
|
|
|
#
|
|
|
|
|
2021-11-10 16:12:08 +01:00
|
|
|
# using "buffer NUMBER" after "no wait" allow to customize the cache
|
|
|
|
# (in Mib) to be cached before opening the partial downloaded data
|
2022-01-06 13:00:16 +01:00
|
|
|
# ▼▼▼▼▼▼▼▼▼ buffer 20 Mib
|
2021-11-10 16:12:08 +01:00
|
|
|
# open "mp4$" with "xterm -e mpv" no wait buffer 20
|
|
|
|
|
2022-01-06 17:59:22 +01:00
|
|
|
# to open some kind of files use "editor" as program name
|
|
|
|
# ▼▼▼▼▼▼▼▼
|
|
|
|
#open "txt$" with "editor"
|
|
|
|
|
2021-07-25 18:36:06 +02:00
|
|
|
# finally if you want to open some kind of file with tinmop try the
|
|
|
|
# following: valid values are "tinmop" "me" "internal"
|
2021-07-25 12:20:17 +02:00
|
|
|
# ▼▼▼▼▼▼▼▼
|
2021-06-16 16:14:09 +02:00
|
|
|
open "^((gemini://)|(\\.)|(/)).+gmi$" with "tinmop"
|
2024-02-28 19:49:39 +01:00
|
|
|
open "^((gemini://)|(\\.)|(/)).+txt$" with "tinmop"
|
2021-07-25 18:36:06 +02:00
|
|
|
open "^((gemini://)|(\\.)|(/)).+sh$" with "tinmop"
|
2021-08-20 17:35:45 +02:00
|
|
|
open ".gpub$" with "tinmop"
|
2021-10-17 17:40:18 +02:00
|
|
|
|
2023-05-17 18:24:11 +02:00
|
|
|
gemini.images.montage.geometry = "640x480"
|
|
|
|
|
|
|
|
gemini.images.montage.tile = "1"
|
|
|
|
|
2021-11-07 10:31:01 +01:00
|
|
|
#########################
|
|
|
|
# ⚠ EXPERIMENTAL ZONE ⚠ #
|
|
|
|
#########################
|
2021-10-17 17:40:18 +02:00
|
|
|
|
|
|
|
# use fragment of a gemini IRI/URI as a searching criteria for the downloaded page
|
2024-09-01 10:48:44 +02:00
|
|
|
# E.g. gemini://foo/bar.gmi#baz will jump to the first occurrence of "baz".
|
2021-11-07 10:31:01 +01:00
|
|
|
# The fragment is used as a, perl compatible, regular expression
|
2021-10-17 17:40:18 +02:00
|
|
|
|
2021-11-12 21:06:28 +01:00
|
|
|
experimental.gemini.iri.fragment.regex = no
|
|
|
|
|
|
|
|
# Use gemini favicon?
|
|
|
|
# see gemini://mozz.us/files/rfc_gemini_favicon.gmi
|
|
|
|
gemini.fetch.favicon = no
|