From 67ff41b6aacf31a6b804e9c205ecc6907842ce9e Mon Sep 17 00:00:00 2001 From: krau <71133316+krau@users.noreply.github.com> Date: Thu, 10 Oct 2024 23:39:47 +0800 Subject: [PATCH] feat: Add example configuration file --- config.example.toml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 config.example.toml diff --git a/config.example.toml b/config.example.toml new file mode 100644 index 0000000..5a4ec29 --- /dev/null +++ b/config.example.toml @@ -0,0 +1,23 @@ +[telegram] +token = "" +admins = [] + +[log] +level = "DEBUG" + +[temp] +base_path = "cache/" +cache_ttl = 30 + +[storage] +[storage.alist] +enable = true +base_path = "/telegram" +username = "admin" +password = "password" +url = "https://alist.com" +token_exp = 86400 + +[storage.local] +enable = true +base_path = "downloads/"