Commit Graph
5 Commits
Author SHA1 Message Date
xixu-me 0660978ef1 Remove comments from wrangler.jsonc
Deleted introductory comments from the wrangler.jsonc configuration file to clean up the file.
2025-07-04 14:29:15 +08:00
xixu-me 3bc9d13615 Remove CPU limit from wrangler config
Deleted the 'limits.cpu_ms' setting from wrangler.jsonc to allow default CPU usage. This may be to enable longer execution times or to rely on platform defaults.
2025-07-04 13:48:45 +08:00
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
xixu-me 3d4a352f63 Add resumable upload for large files to Google Drive
Enhanced the uploadToDrive function to support resumable uploads for files larger than 20MB, improving reliability for large file transfers. Also updated wrangler.jsonc to enable smart placement and cleaned up configuration comments.
2025-07-03 22:34:00 +08:00
xixu-me b712232b5e Initial commit (by create-cloudflare CLI)
Details:
  C3 = create-cloudflare@2.50.2
  project name = gdrive-upload-robot
  package manager = npm@11.2.0
  wrangler = wrangler@4.22.0
  git = 2.45.2.windows.1
2025-07-03 22:00:11 +08:00