refactor!: rewrite bot core; add AI (Ollama, Gemini), DB, new commands

This commit is contained in:
2026-01-12 15:32:50 +03:00
parent 9d74ad9861
commit df9471a7e4
137 changed files with 11341 additions and 2025 deletions
+32 -7
View File
@@ -1,12 +1,37 @@
{
"name": "tg-ts-bot",
"name": "tg-chat-bot",
"main": "src/index.ts",
"version": "1.0.0",
"scripts": {
"build": "tsc",
"start": "node dist/index.js",
"bun:build": "bun run src/index.ts",
"bun:start": "bun run dist/index.js"
},
"dependencies": {
"@types/node": "^14.14.31",
"fs": "0.0.1-security",
"node-fetch": "^2.6.1",
"systeminfo": "0.0.1",
"systeminformation": "^5.6.1",
"telebot": "^1.4.1"
"@google/genai": "^1.34.0",
"@libsql/client": "^0.15.15",
"@napi-rs/canvas": "^0.1.88",
"@types/bun": "^1.3.5",
"@types/node": "^25.0.3",
"axios": "^1.13.2",
"dotenv": "^17.2.3",
"drizzle-orm": "^1.0.0-beta.9-e89174b",
"emoji-regex": "^10.6.0",
"ollama": "^0.6.3",
"qrcode": "^1.5.4",
"sharp": "^0.34.5",
"systeminformation": "^5.27.14",
"twemoji": "^14.0.2",
"typescript-telegram-bot-api": "^0.11.0"
},
"devDependencies": {
"@types/qrcode": "^1.5.6",
"@typescript-eslint/eslint-plugin": "8.46.3",
"@typescript-eslint/parser": "8.46.3",
"drizzle-kit": "^0.31.8",
"eslint": "9.39.1",
"tsx": "^4.21.0",
"typescript": "^5.9.3"
}
}