xixu-me
00c940633d
Merge pull request #5 from xixu-me/dependabot/npm_and_yarn/npm_and_yarn-b2936519f3
...
Bump rollup from 4.44.1 to 4.59.0 in the npm_and_yarn group across 1 directory
2026-02-28 16:03:09 +08:00
dependabot[bot]
5d0d0cd8d0
Bump rollup in the npm_and_yarn group across 1 directory
...
Bumps the npm_and_yarn group with 1 update in the / directory: [rollup](https://github.com/rollup/rollup ).
Updates `rollup` from 4.44.1 to 4.59.0
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v4.44.1...v4.59.0 )
---
updated-dependencies:
- dependency-name: rollup
dependency-version: 4.59.0
dependency-type: indirect
dependency-group: npm_and_yarn
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-02-28 07:30:08 +00:00
xixu-me
69c7958bc7
Merge pull request #4 from xixu-me/dependabot/npm_and_yarn/npm_and_yarn-74ecd9d969
...
Bump wrangler from 4.35.0 to 4.59.3 in the npm_and_yarn group across 1 directory
2026-01-22 12:21:02 +08:00
dependabot[bot]
aa3a0b5a51
Bump wrangler in the npm_and_yarn group across 1 directory
...
Bumps the npm_and_yarn group with 1 update in the / directory: [wrangler](https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler ).
Updates `wrangler` from 4.35.0 to 4.59.3
- [Release notes](https://github.com/cloudflare/workers-sdk/releases )
- [Commits](https://github.com/cloudflare/workers-sdk/commits/wrangler@4.59.3/packages/wrangler )
---
updated-dependencies:
- dependency-name: wrangler
dependency-version: 4.59.3
dependency-type: direct:development
dependency-group: npm_and_yarn
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-01-21 23:30:42 +00:00
xixu-me
54708682f1
Merge pull request #3 from xixu-me/dependabot/npm_and_yarn/npm_and_yarn-1b92d517bd
...
Bump devalue from 5.3.2 to 5.6.2 in the npm_and_yarn group across 1 directory
2026-01-16 03:26:10 +08:00
dependabot[bot]
4f6ed65568
Bump devalue in the npm_and_yarn group across 1 directory
...
Bumps the npm_and_yarn group with 1 update in the / directory: [devalue](https://github.com/sveltejs/devalue ).
Updates `devalue` from 5.3.2 to 5.6.2
- [Release notes](https://github.com/sveltejs/devalue/releases )
- [Changelog](https://github.com/sveltejs/devalue/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sveltejs/devalue/compare/v5.3.2...v5.6.2 )
---
updated-dependencies:
- dependency-name: devalue
dependency-version: 5.6.2
dependency-type: indirect
dependency-group: npm_and_yarn
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-01-15 18:19:31 +00:00
xixu-me
9e74a49dc5
Add Chinese README for Google Drive upload bot
2025-12-04 17:18:32 +08:00
xixu-me
49d3bac6e2
Merge pull request #2 from xixu-me/dependabot/npm_and_yarn/npm_and_yarn-37df895856
...
Bump vite from 7.1.5 to 7.2.6 in the npm_and_yarn group across 1 directory
2025-12-04 16:45:56 +08:00
dependabot[bot]
4fad28c094
Bump vite in the npm_and_yarn group across 1 directory
...
Bumps the npm_and_yarn group with 1 update in the / directory: [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ).
Updates `vite` from 7.1.5 to 7.2.6
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v7.2.6/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-version: 7.2.6
dependency-type: indirect
dependency-group: npm_and_yarn
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-04 08:37:41 +00:00
xixu-me
e232520cd4
Merge pull request #1 from xixu-me/dependabot/npm_and_yarn/npm_and_yarn-81b345e4d9
...
Bump the npm_and_yarn group across 1 directory with 3 updates
2025-12-04 16:36:44 +08:00
dependabot[bot]
5475b8be77
Bump the npm_and_yarn group across 1 directory with 3 updates
...
Bumps the npm_and_yarn group with 3 updates in the / directory: [devalue](https://github.com/sveltejs/devalue ), [@cloudflare/vitest-pool-workers](https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/vitest-pool-workers ) and [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ).
Updates `devalue` from 4.3.3 to 5.3.2
- [Release notes](https://github.com/sveltejs/devalue/releases )
- [Changelog](https://github.com/sveltejs/devalue/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sveltejs/devalue/compare/v4.3.3...v5.3.2 )
Updates `@cloudflare/vitest-pool-workers` from 0.8.49 to 0.8.71
- [Release notes](https://github.com/cloudflare/workers-sdk/releases )
- [Changelog](https://github.com/cloudflare/workers-sdk/blob/main/packages/vitest-pool-workers/CHANGELOG.md )
- [Commits](https://github.com/cloudflare/workers-sdk/commits/@cloudflare/vitest-pool-workers@0.8.71/packages/vitest-pool-workers )
Updates `vite` from 7.0.1 to 7.1.5
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v7.1.5/packages/vite )
---
updated-dependencies:
- dependency-name: devalue
dependency-version: 5.3.2
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: "@cloudflare/vitest-pool-workers"
dependency-version: 0.8.71
dependency-type: direct:development
dependency-group: npm_and_yarn
- dependency-name: vite
dependency-version: 7.1.5
dependency-type: indirect
dependency-group: npm_and_yarn
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-09 21:05:45 +00:00
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
cc11968df9
Refactor Google Drive upload to use only multipart upload
...
Removed support for resumable and chunked uploads, as well as file type advice and related helper functions. The upload process now always uses multipart upload for all file sizes, simplifying the code and error handling.
2025-07-04 14:29:07 +08:00
xixu-me
6f4651e283
Add large file handling and resumable uploads
...
Introduces checks for Telegram's 20MB file size limit and provides user guidance for oversized files. Implements Google Drive resumable uploads for files larger than 5MB, and adds helper functions for chunked file processing and file type-specific compression advice. Exports helper functions for testing.
2025-07-04 14:16:29 +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
1935f306d3
Add project README with setup instructions
...
Introduces a comprehensive README.md detailing features, setup steps for Google Drive and Telegram, environment variables, deployment instructions, API payload examples, security considerations, and acknowledgments for the Google Drive Upload Robot project.
2025-07-04 13:46:21 +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
651a7a03ea
Refactor Worker to support resumable Google Drive uploads
...
Rewrites the Cloudflare Worker to handle Telegram file uploads to Google Drive using the resumable upload API for large files. Adds detailed error handling, progress tracking, and modularizes authentication and upload logic. Removes legacy code for multipart uploads and streamlines the file handling process.
2025-07-04 13:13:21 +08:00
xixu-me
eac9e037e2
Refactor upload logic and remove upload tests
...
Refactored file upload logic to pass file size directly and streamline handling of large files with a new resumableUpload function. Removed the upload.test.js file.
2025-07-04 13:02:24 +08:00
xixu-me
cb5b329a5b
Refactor upload logic and add upload tests
...
Refactored file upload logic to Google Drive by separating small and large file handling, improving resumable upload with chunking and progress updates. Added unit tests for upload logic, including file size checks and chunking behavior.
2025-07-03 22:49:57 +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
2aa82df6b5
Create LICENSE
2025-07-03 22:10:29 +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