aboutsummaryrefslogtreecommitdiff
path: root/fastbangs.yaml
blob: 19277612ab228719c9ad775cea10bca5d5b08fce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# values need to be strings, so put quotes where appropriate (everywhere, if in doubt)
# if environment variables are used as well, they overwrite settings from the config

# port to bind to
port:        "20546"
# address to bind to. can be a concrete address like 127.0.0.1, or *6 to indicate any ipv4/ipv6 address
bind-addr:   "*6"

# information used for the search description
# the base-url MUSTN'T include a trailing slash,
# and the favicon-url should lead to a 16x16 image/x-icon file
base-url:    http://localhost:20546
favicon-url: http://69owo.de/favicon.ico

# access to the UI for accepting/rejecting user-submitted bangs.
# for help with the admin-pw-hash please read the README.md
admin-user:    bleb
admin-pw-hash: ""

# Users can leave their email in order to be notified when their bang is
# accepted/rejected. In order to send emails, the following command (if not
# commented out) will receive as arguments, in order: recipient, subject, body
# HUGE WARNING: THE ARGUMENTS ARE UNTRUSTED USER INPUT. Users can enter almost
# everything as their email address, so not being careful can easily lead to SQLI-type
# vulnerabilities, and possibly remote command execution, so be careful.
#email-command: "/path/to/your/email/script"