Files
gdrive-upload-robot/package.json
T
xixu-me 79a25966d4 Refactor bot logic and add tests for file uploads
Refactored src/index.js to modularize and simplify Telegram file and photo upload handling to Google Drive. Enhanced Google authentication and file upload logic, improved error handling, and added unit tests in test/index.test.js. Updated package.json with metadata and made the package public. Adjusted wrangler.jsonc to set CPU limits and add environment variables.
2025-07-04 13:32:24 +08:00

35 lines
824 B
JSON

{
"author": "Xi Xu",
"description": "A Telegram bot built on Cloudflare Workers that automatically uploads files and photos sent to it directly to Google Drive",
"devDependencies": {
"@cloudflare/vitest-pool-workers": "^0.8.19",
"vitest": "~3.2.0",
"wrangler": "^4.23.0"
},
"homepage": "https://github.com/xixu-me/gdrive-upload-robot",
"keywords": [
"telegram",
"bot",
"google-drive",
"cloudflare-workers",
"file-upload",
"serverless",
"automation"
],
"license": "GPL-3.0",
"main": "src/index.js",
"name": "gdrive-upload-robot",
"private": false,
"repository": {
"type": "git",
"url": "git+https://github.com/xixu-me/gdrive-upload-robot.git"
},
"scripts": {
"deploy": "wrangler deploy",
"dev": "wrangler dev",
"start": "wrangler dev",
"test": "vitest"
},
"version": "1.0.0"
}