-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
46 lines (46 loc) · 2.04 KB
/
package.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": "ChatGPToot",
"version": "2.0.0",
"description": "A Mastodon social bot powered by OpenAI.",
"main": "app/chatgptoot.js",
"scripts": {
"setup": "node app/setup.js",
"bot": "nohup node app/chatgptoot.js > logs/bot-log.log 2>&1 &",
"bot-mention": "nohup node app/chatgptoot.js --no-toot --no-image >> logs/bot-log.log 2>&1 &",
"bot-image": "nohup node app/chatgptoot.js --no-toot --no-mention >> logs/bot-log.log 2>&1 &",
"bot-toot": "nohup node app/chatgptoot.js --no-image --no-mention >> logs/bot-log.log 2>&1 &",
"single-toot": "node app/chatgptoot.js --no-loop --no-image --no-mention --toot-now",
"single-image": "node app/chatgptoot.js --no-loop --no-mention --no-toot --image-now",
"single-mention": "node app/chatgptoot.js --no-loop --no-toot --no-image",
"single-rss": "node app/chatgptoot.js --no-loop --no-toot --no-image --no-mention --rss-now",
"tail-logs": "tail -f logs/bot-log.log",
"bot-tail": "npm run bot && npm run tail-logs",
"usage": "node app/usage_log_summary.js",
"status-server-local": "nohup node app/status_http_server.js >> logs/local-status-log.log 2>&1 &",
"status-server-ngrok": "nohup ngrok http --domain=selected-minnow-aware.ngrok-free.app 3000 >> logs/ngrok-log.log 2>&1 &",
"status-server": "npm run status-server-local && npm run status-server-ngrok",
"ingest-feeds": "node app/rss_handler.js"
},
"keywords": [
"mastodon",
"openai",
"bot"
],
"author": "Joe Peterson (@[email protected])",
"license": "MIT",
"dependencies": {
"axios": "^1.6.0",
"bottleneck": "^2.19.5",
"date-fns": "^2.30.0",
"dotenv-safe": "^8.2.0",
"express": "^4.19.2",
"express-rate-limit": "^7.1.0",
"helmet": "^6.2.0",
"moment-timezone": "^0.5.43",
"node-cron": "^3.0.2",
"openai": "^4.0.0",
"redis": "^4.6.9",
"tusk-mastodon": "^2.0.2",
"xml2js": "^0.6.2"
}
}