-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.json
46 lines (45 loc) · 1.5 KB
/
app.json
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
{
"name": "Automated Carousell Alerting System",
"description": "Check for listings, scrapes new listings automatically and alerts you on Telegram",
"repository": "https://github.com/2gavy/carousellalert",
"logo": "https://storage.googleapis.com/carousell-wordpress-files/1/2019/09/Carousell-logo-square.png",
"keywords": ["node", "puppeteer", "static", "cron"],
"stack": "heroku-16",
"buildpacks": [
{
"url": "https://github.com/jontewks/puppeteer-heroku-buildpack"
},
{
"url": "heroku/nodejs"
}
],
"formation": {
"worker": {
"quantity": 1
},
"web": {
"quantity": 0
}
},
"env": {
"BOT_TOKEN": {
"description": "Telegram Bot Token. Take note there is a colon in between Telegram token."
},
"BOT_CHATID": {
"description": "Telegram Chat to receive alerts. Depending on whether you created a group or a channel, minus sign might or might not be part of chat_id."
},
"ITEM": {
"description": "Item (Search term) you want to monitor.",
"value": "macbook"
},
"RESELLERS": {
"description": "[OPTIONAL] Seller usernames you want to filter away. Separated by a comma and space.",
"value": "sellername1, sellername2",
"required": false
},
"SLEEP_TIME": {
"description": "Refreshes every 5 minute. Change 5 to adjust the duration of poll. It MUST be in this format. Please poll responsibly as we do not want to flood Carousell servers!",
"value": "*/5 * * * *"
}
}
}