bunbun/bunbun.default.yaml

25 lines
682 B
YAML
Raw Normal View History

2019-12-22 23:25:41 +00:00
# The location which your server is listening on and binds to. You must restart
# bunbun for changes to take effect for this config option.
2019-12-15 16:07:36 +00:00
bind_address: "127.0.0.1:8080"
2019-12-15 20:07:26 +00:00
# The root location where people can access your instance of bunbun
2019-12-15 17:49:16 +00:00
public_address: "localhost:8080"
2019-12-15 20:07:26 +00:00
# A default route, if no route is was matched. If none were matched, the entire
# query is used as the query for the default route. This field is optional.
2019-12-15 17:49:16 +00:00
default_route: "g"
2019-12-15 16:07:36 +00:00
routes:
2019-12-24 03:59:12 +00:00
groups:
meta:
2019-12-15 16:07:36 +00:00
# Meta
ls: "/ls"
2019-12-15 17:49:16 +00:00
help: "/ls"
list: "/ls"
2019-12-15 16:07:36 +00:00
# Google
g: "https://google.com/search?q={{query}}"
yt: "https://www.youtube.com/results?search_query={{query}}"
2019-12-15 19:57:42 +00:00
r: "https://reddit.com/r/{{query}}"