-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapp.json
More file actions
91 lines (91 loc) · 2.4 KB
/
Copy pathapp.json
File metadata and controls
91 lines (91 loc) · 2.4 KB
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"name": "FileToLink",
"description": "Send a file, get an instant streaming + download link.",
"repository": "https://github.com/GouthamSER/FileToLink",
"logo": "https://img.icons8.com/fluency/96/link.png",
"keywords": ["telegram", "bot", "pyrogram", "file-to-link", "streaming"],
"stack": "container",
"env": {
"API_ID": {
"description": "from my.telegram.org",
"required": true
},
"API_HASH": {
"description": "from my.telegram.org",
"required": true
},
"BOT_TOKEN": {
"description": "from @BotFather",
"required": true
},
"LOG_CHANNEL": {
"description": "private channel id used as file storage backend, bot must be admin",
"required": true
},
"DATABASE_URI": {
"description": "MongoDB connection string",
"required": true
},
"DATABASE_NAME": {
"description": "MongoDB database name",
"required": true
},
"URL": {
"description": "public base URL of this deployment, e.g. https://yourapp.herokuapp.com/",
"required": true
},
"ADMINS": {
"description": "space-separated admin user IDs",
"required": false
},
"FSUB_CHANNEL": {
"description": "force-subscribe channel id, 0 = disabled",
"required": false,
"value": "0"
},
"PORT": {
"description": "web server port",
"required": false,
"value": "8080"
},
"SLEEP_THRESHOLD": {
"description": "pyrogram flood sleep threshold",
"required": false,
"value": "60"
},
"PING_INTERVAL": {
"description": "self-ping keepalive interval in seconds",
"required": false,
"value": "1200"
},
"AUTO_RESTART": {
"description": "auto-restart every 12 hours, True/False",
"required": false,
"value": "True"
},
"SHORTLINK": {
"description": "use Shortzy-based shortener, True/False",
"required": false,
"value": "False"
},
"SHORTLINK_URL": {
"description": "shortener base site, required if SHORTLINK=True",
"required": false
},
"SHORTLINK_API": {
"description": "shortener API key, required if SHORTLINK=True",
"required": false
},
"ISGD": {
"description": "use is.gd shortener (no key needed), True/False",
"required": false,
"value": "False"
}
},
"formation": {
"web": {
"quantity": 1,
"size": "basic"
}
}
}