show additional info when trusting CA
[diohsc.git] / diohscrc.sample
blob748a62ef6ce13f32d6e18d2560e2237bf60f1d4a
1 #### Sample diohsc configuration:
2 # Copy this to ~/.diohsc/diohscrc and edit it appropriately.
3 # Each line is a diohsc command which will be run at startup.
6 ## Proxies
7 # To allow diohsc to access gopher:// URIs:
8 # run an Agena https://tildegit.org/solderpunk/agena instance locally
9 # and uncomment the following option (you may want to change the port if
10 # you're also running a gemini server locally).
11 #set proxy gopher 127.0.0.1:1965
13 # To allow diohsc to access http:// and https:// URIs:
14 # run a Duckling https://github.com/LukeEmmet/duckling-proxy instance locally
15 # and uncomment the following options (you may want to change the port if
16 # you're running a gemini server or agena instance)
17 #set proxy http  127.0.0.1:1965
18 #set proxy https 127.0.0.1:1965
19 # By default, duckling-proxy automatically converts text/html using html2gmi;
20 # you may prefer to use the --unfiltered option and set a geminator as below,
21 # This gives you more control over the conversion, and lets you access the
22 # html source in diohsc.
25 ## Geminators
26 # The following "geminator" options will allow display of various mimetypes;
27 # install the corresponding software, and uncomment the corresponding line.
29 # https://github.com/makeworld-the-better-one/md2gemini/
30 #set geminator text/markdown md2gemini -l paragraph
32 # https://github.com/LukeEmmet/html2gmi
33 #set geminator (text|application)/(html|xml|xhtml.*) html2gmi -me
35 # These lines use jp2a and imagemagick, which are probably packages in your
36 # distro, to produce nice ascii art previews of image files:
37 #set geminator image/jpeg echo '```' && jp2a --colors - && echo '```'
38 #set geminator image/.* echo '```' && convert - jpeg:- | jp2a --colors - && echo '```'
41 ## Render filter
42 # This will do a best effort translation of utf8 to ascii when rendering text:
43 #set render_filter stdbuf -o0 uni2ascii -BPq
46 ## Aliases
47 # You can set aliases as shorthands for commands. e.g.:
48 #alias up ..
49 #alias Search 'search query
50 #alias QueueNew at *- add
51 #alias Mpv |mpv --cache-secs 5 -
52 #alias CS br screen -X register '%s'  # copy URI to GNU screen buffer
53 #alias CX br xsel -i <<< '%s'         # copy URI to X selection buffer
54 #alias GPGImport |gpg --import
55 #alias Read ||- espeak -s 300 --stdin --stdout | aplay
56 #alias BGRead ||- espeak -s 300 --stdin --stdout | aplay &
58 # For use with https://alexschroeder.ch/cgit/gemini-titan/
59 # Invoke as "TARGET Ti TOKEN [FILE]"
60 #alias Titan br titan %s
62 ## Identification
63 # You may want to configure certain cryptographic identities to always be used
64 # for certain sites. e.g. if you've created an identity "astrobotany" for use
65 # on astrobotany.mozz.us, you may want to uncomment the following line.
66 #gemini://astrobotany.mozz.us identify astrobotany