-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathapp.json
More file actions
50 lines (50 loc) · 1.4 KB
/
Copy pathapp.json
File metadata and controls
50 lines (50 loc) · 1.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
{
"name": "KustRobot",
"description": "Open-source Telegram Group Management Bot — modular, webhook-based, MongoDB-powered.",
"repository": "https://github.com/kustbots/KustRobot",
"keywords": ["telegram", "bot", "group-management", "python", "mongodb", "flask"],
"env": {
"BOT_TOKEN": {
"description": "Your Telegram bot token from @BotFather",
"required": true
},
"WEBHOOK_SECRET": {
"description": "A random secret string used to secure your webhook endpoint",
"required": true,
"generator": "secret"
},
"MONGO_URI": {
"description": "MongoDB connection URI — use MongoDB Atlas for a free cloud database: https://mongodb.com/atlas",
"required": true
},
"ADMIN_IDS": {
"description": "Your Telegram user ID(s), comma-separated. Get yours by messaging @userinfobot",
"required": true
},
"DB_NAME": {
"description": "MongoDB database name",
"value": "kustrobot",
"required": false
},
"PORT": {
"description": "Port for the web server",
"value": "5000",
"required": false
}
},
"buildpacks": [
{
"url": "heroku/python"
}
],
"formation": {
"web": {
"quantity": 1,
"size": "free"
}
},
"addons": [],
"scripts": {
"postdeploy": "echo KustRobot deployed! Set your webhook to https://YOUR_APP.herokuapp.com/webhook/$WEBHOOK_SECRET"
}
}