This repository has been archived by the owner on Jul 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.example.toml
49 lines (41 loc) · 2.11 KB
/
config.example.toml
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
max_downloads = 10
[db]
path = "./bolt.db"
timeout = "1s"
[gapps]
time_format = "20060102"
prefix = "open_gapps"
renew_period = "60m"
local_path = "/path/to/gapps/mirror/storage/"
local_url = "https://your.web.server/%s"
local_host = "your.web.server"
remote_url = "https://remote.web.server/%s"
remote_host = "remote.web.server"
[github]
repo = "opengapps"
token = "your_github_token"
[telegram]
token = "YOUR:TELEGRAMBOTTOKEN"
timeout = 60
debug = false
[commands]
start = "/start"
help = "/help"
mirror = "/mirror"
[messages]
hello = "Greetings, my friend!\nPlease use the /mirror command to get the OpenGApps package mirror.\nUse /help command if you need any assistance.\nFor any questions, feel free to contact the admin."
help = "Possible /mirror command arguments:\n- platform: `arm`|`arm64`|`x86`|`x86_64`\n- Android version: `4.4`...`9.0`\n- package variant: `pico`|`nano`|`micro`|`mini`|`full`|`stock`|`super`|`aroma`|`tvstock`\n- _(optional)_ date of the release: `YYYYMMDD`\n\nCheck the official [wiki](https://github.com/opengapps/opengapps/wiki) for more info.\n\nExamples:\n `/mirror arm64 9.0 nano`\n `/mirror arm 8.1 aroma 20181127`"
[messages.mirror]
in_progress = "Looking up the package, please wait..."
found = "Found the package `%s`\nOfficial link: [Github](%s)\nMD5 checksum: `%s`\n\n%s"
not_found = "Sorry, there's no such package available. Please try another one.\nUse /help for more info."
missing = "There's no mirror yet, uploading..."
ok = "Here're your mirrors: %s"
fail = "Sorry, I was unable to create a mirror.\nPlease try again later.\nUse /help for more info."
[messages.errors]
platform = "Please provide the proper platform (use /help for more info)"
android = "Please provide the proper Android version (use /help for more info)"
variant = "Please provide the proper package variant (use /help for more info)"
date = "Please provide the proper date (use /help for more info)"
mirror = "Please provide the platform, Android version, package variant and date of the release (optional)."
unknown = "Oops! Something happened. Please contact the developer."