Commit Graph
292 Commits
Author SHA1 Message Date
Claude f94c8b0115 Update documentation with Docker Hub container registry support
This commit updates all documentation to reflect the new Docker Hub support:

Documentation updates:
- Add Docker Hub to container registry tables in README.md and README.en.md
- Add Docker Hub examples showing both official and user images
- Update CLAUDE.md with Docker Hub platform category and special handling notes

Docker Hub usage examples:
- Official images: /cr/docker/v2/nginx/manifests/latest
- User images: /cr/docker/v2/nginxinc/nginx-unprivileged/manifests/latest

Docker Hub is now listed as the first container registry in documentation tables, reflecting its position as the most widely used container registry.
2025-11-09 07:21:31 +00:00
Claude 57e30e8aaa Add Docker Hub container registry support with library prefix handling
This commit adds support for Docker Hub (registry-1.docker.io) as a container registry platform with special authentication handling for official images.

Changes:
- Add 'cr-docker' platform pointing to https://registry-1.docker.io in platforms.js
- Implement special authentication scope handling for Docker Hub official images
- Docker Hub stores official images (nginx, redis, etc.) as library/nginx, library/redis
- Single-component image names are automatically prefixed with 'library/' for authentication
- Multi-component names (user/image) are passed through unchanged
- Add comprehensive tests for Docker Hub support

This resolves the issue where pulling public images from Docker Hub would prompt for authentication incorrectly. The library prefix is now automatically added to the authentication scope for single-name images, allowing proper anonymous access to public official images.

Test coverage:
- Official images (single-name): /cr/docker/v2/nginx/manifests/latest
- User images (namespaced): /cr/docker/v2/nginxinc/nginx-unprivileged/manifests/latest
- GET and HEAD request methods verified

All Docker Hub specific tests pass.
2025-11-09 07:16:03 +00:00
xixu-me d67bbc819a Emphasize link to technical analysis article in README
Updated the formatting of the technical analysis article link in the README to use bold and italics for greater emphasis.
2025-11-07 15:49:32 +08:00
xixu-me c813293c87 Update Cloudflare deployment instructions in README
Improved the deployment steps in both English and Chinese README files by adding direct links for forking the repository and updating the instructions for obtaining Cloudflare credentials and configuring GitHub secrets for clarity.
2025-11-07 15:43:36 +08:00
xixu-me 783ae8f3bd Update deployment steps formatting in README files
Streamlined the formatting of deployment steps in both English and Chinese README files by merging multi-line list items into single lines for improved readability.
2025-11-07 15:01:47 +08:00
xixu-me 1f28ee87d6 Update README docs and remove test script
Improved and clarified English documentation in README.en.md and README.md, including badge labels, section titles, and usage instructions for better accuracy and readability. Removed the obsolete scripts/test.js file.
2025-11-07 14:47:43 +08:00
xixu-me 3ef1720f35 Update wrangler.toml observability and placement settings
Added detailed observability configuration for logs and traces, including persistence and invocation logs. Moved placement mode to a dedicated section and adjusted observability flags for improved monitoring and deployment control.
2025-11-07 13:46:16 +08:00
xixu-me e7044aaf55 Merge pull request #88 from xixu-me/alert-autofix-8
Potential fix for code scanning alert no. 8: Workflow does not contain permissions
2025-11-07 13:38:59 +08:00
xixu-meandCopilot Autofix powered by AI 24ad72e796 Potential fix for code scanning alert no. 8: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-11-07 13:36:51 +08:00
xixu-me 98fbbceadf Revert "chore(deps): bump the npm_and_yarn group with 6 updates"
This reverts commit 4d95863e54.
2025-11-07 13:34:36 +08:00
xixu-me 2b2f1beafe Remove npm dependency updates from Dependabot config
This commit deletes the configuration for npm dependency updates in .github/dependabot.yml, leaving only GitHub Actions workflow updates. This streamlines automated dependency management to focus on GitHub Actions.
2025-11-07 13:34:27 +08:00
xixu-me acd81078b6 Merge pull request #83 from xixu-me/dependabot/github_actions/actions/attest-build-provenance-3
ci(deps): bump actions/attest-build-provenance from 1 to 3
2025-11-07 13:30:33 +08:00
xixu-me 11578f9a20 Merge pull request #84 from xixu-me/dependabot/github_actions/actions/checkout-5
ci(deps): bump actions/checkout from 4 to 5
2025-11-07 13:30:10 +08:00
xixu-me a3b293492a Merge pull request #85 from xixu-me/dependabot/github_actions/github/codeql-action-4
ci(deps): bump github/codeql-action from 3 to 4
2025-11-07 13:29:49 +08:00
xixu-me 25fa66d655 Merge pull request #86 from xixu-me/dependabot/github_actions/docker/build-push-action-6
ci(deps): bump docker/build-push-action from 5 to 6
2025-11-07 13:29:34 +08:00
xixu-me 5c7241c003 Merge pull request #87 from xixu-me/dependabot/npm_and_yarn/npm_and_yarn-d1266c6540
chore(deps): bump the npm_and_yarn group with 6 updates
2025-11-07 13:29:16 +08:00
dependabot[bot] 4d95863e54 chore(deps): bump the npm_and_yarn group with 6 updates
Bumps the npm_and_yarn group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [express](https://github.com/expressjs/express) | `4.21.2` | `5.1.0` |
| [@cloudflare/vitest-pool-workers](https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/vitest-pool-workers) | `0.8.71` | `0.10.5` |
| [@cloudflare/workers-types](https://github.com/cloudflare/workerd) | `4.20250909.0` | `4.20251106.1` |
| [eslint](https://github.com/eslint/eslint) | `9.34.0` | `9.39.1` |
| [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) | `3.2.4` | `4.0.7` |
| [wrangler](https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler) | `4.35.0` | `4.46.0` |


Updates `express` from 4.21.2 to 5.1.0
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.21.2...v5.1.0)

Updates `@cloudflare/vitest-pool-workers` from 0.8.71 to 0.10.5
- [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.10.5/packages/vitest-pool-workers)

Updates `@cloudflare/workers-types` from 4.20250909.0 to 4.20251106.1
- [Release notes](https://github.com/cloudflare/workerd/releases)
- [Changelog](https://github.com/cloudflare/workerd/blob/main/Dockerfile.release)
- [Commits](https://github.com/cloudflare/workerd/commits)

Updates `eslint` from 9.34.0 to 9.39.1
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](https://github.com/eslint/eslint/compare/v9.34.0...v9.39.1)

Updates `vitest` from 3.2.4 to 4.0.7
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.0.7/packages/vitest)

Updates `wrangler` from 4.35.0 to 4.46.0
- [Release notes](https://github.com/cloudflare/workers-sdk/releases)
- [Changelog](https://github.com/cloudflare/workers-sdk/blob/main/packages/wrangler/CHANGELOG.md)
- [Commits](https://github.com/cloudflare/workers-sdk/commits/wrangler@4.46.0/packages/wrangler)

---
updated-dependencies:
- dependency-name: express
  dependency-version: 5.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: npm_and_yarn
- dependency-name: "@cloudflare/vitest-pool-workers"
  dependency-version: 0.10.5
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm_and_yarn
- dependency-name: "@cloudflare/workers-types"
  dependency-version: 4.20251106.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm_and_yarn
- dependency-name: eslint
  dependency-version: 9.39.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm_and_yarn
- dependency-name: vitest
  dependency-version: 4.0.7
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: npm_and_yarn
- dependency-name: wrangler
  dependency-version: 4.46.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-07 05:27:58 +00:00
dependabot[bot] 490a9efd7e ci(deps): bump docker/build-push-action from 5 to 6
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5 to 6.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v5...v6)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-07 05:27:20 +00:00
dependabot[bot] 7f9da404a6 ci(deps): bump github/codeql-action from 3 to 4
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3 to 4.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-07 05:27:16 +00:00
dependabot[bot] 8a18290a2a ci(deps): bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-07 05:27:12 +00:00
dependabot[bot] 2a181b9859 ci(deps): bump actions/attest-build-provenance from 1 to 3
Bumps [actions/attest-build-provenance](https://github.com/actions/attest-build-provenance) from 1 to 3.
- [Release notes](https://github.com/actions/attest-build-provenance/releases)
- [Changelog](https://github.com/actions/attest-build-provenance/blob/main/RELEASE.md)
- [Commits](https://github.com/actions/attest-build-provenance/compare/v1...v3)

---
updated-dependencies:
- dependency-name: actions/attest-build-provenance
  dependency-version: '3'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-07 05:27:08 +00:00
xixu-me 2774dabe27 Add Dependabot config and simplify deploy workflow
Introduces .github/dependabot.yml to automate dependency updates for npm and GitHub Actions. Streamlines the deploy job in depoly.yml by removing setup, install, lint, type-check, and test steps, focusing only on code checkout and deployment via Wrangler.
2025-11-07 13:26:23 +08:00
xixu-me 755abc127d Add GitHub Actions deploy workflow and update docs
Introduced a new GitHub Actions workflow for automatic deployment to Cloudflare Workers. Added CLAUDE.md for Claude Code guidance. Updated deployment instructions in both English and Chinese README files to reflect the new GitHub Actions-based deployment process.
2025-11-07 13:19:24 +08:00
xixu-me e66ae893d9 Add Siray platform support
Added Siray to the list of supported AI inference providers in documentation and configuration. This enables API acceleration for Siray via the platform configuration.
2025-11-06 18:12:21 +08:00
xixu-me ec8ca64b8a Merge pull request #78 from xixu-me/dependabot/npm_and_yarn/npm_and_yarn-fd296dbd23
Bump vite from 7.1.5 to 7.1.11 in the npm_and_yarn group across 1 directory
2025-10-21 19:58:53 +08:00
dependabot[bot] 2fe6bfb116 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.1.11
- [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.11/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 7.1.11
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-20 23:06:33 +00:00
xixu-me 034db6a9e5 Add badges and links to README.en.md 2025-10-20 13:30:53 +08:00
xixu-me 1484a8c481 Update README with links and badges
Added links and badges for external resources and integrations.
2025-10-20 13:30:34 +08:00
xixu-me 59a7fc9b34 Update README to clarify repository cloning step
Removed the Project Mission section from the English README and updated the quick start instructions in both English and Chinese READMEs to use 'Clone Repository' instead of 'Clone Project' for clarity.
2025-10-07 22:16:42 +08:00
xixu-me 33f608a420 Emphasize technical article links in README files
Updated the formatting of the technical in-depth analysis article links in both English and Chinese README files to use bold or bold-italic markdown for greater emphasis.
2025-10-07 22:13:06 +08:00
xixu-me 65ed430430 Update project description in README files
Refined the project description in both English and Chinese README files for improved clarity and readability.
2025-10-07 22:09:23 +08:00
xixu-me 88ab58a98f Update README instructions and add technical article link
Revised the English README to improve the project description and added a link to a technical deep-dive article. Simplified Jenkins update site instructions in both English and Chinese READMEs for clarity.
2025-10-07 21:49:28 +08:00
xixu-me 351741255f Update README with technical article and wording improvements
Added a link to a deep-dive technical article about Xget. Improved wording for clarity and consistency, changing '仓库' to '存储库' and refining descriptions of accelerated resources.
2025-10-07 16:15:18 +08:00
xixu-me 6faa51d3aa Add DeepWiki badge to README files
Introduced a DeepWiki badge with link to both English and Chinese README files to highlight integration with DeepWiki.
2025-10-01 15:38:00 +08:00
xixu-me f9ed38e219 Update product description in README
Revised the README to clarify the product as a developer resource acceleration engine, improving accuracy in the description.
2025-09-30 15:51:43 +08:00
xixu-me 91775d33a4 Add English README and update main README
Added a comprehensive English documentation file (README.en.md) for Xget, detailing features, usage, and platform integration. Updated the main README.md to reference the new English version.
2025-09-30 15:48:55 +08:00
xixu-me d9741ccb37 Add Ask Zread badge to README
Introduced an Ask Zread badge with a link to the Zread page for Xget at the top of the README for improved visibility and navigation.
2025-09-30 13:10:51 +08:00
xixu-me f4bddf7a09 Update and expand disclaimer section in README
The disclaimer in the README has been rewritten for greater clarity and comprehensiveness. It now covers legal compliance, non-affiliation, liability limitations, user obligations, third-party platform rules, intellectual property, data and security, support expectations, naming usage, and update applicability.
2025-09-10 20:45:58 +08:00
xixu-me 24b3c932be Merge pull request #58 from xixu-me/dependabot/npm_and_yarn/npm_and_yarn-81b345e4d9
Bump the npm_and_yarn group across 1 directory with 3 updates
2025-09-10 08:33:54 +08:00
dependabot[bot] 25e1d6ede9 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.68 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.1.3 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:09:56 +00:00
xixu-me 3c012a3625 Remove server.js and update deployment instructions
Deleted server.js to deprecate the standalone Express server. Updated the README to focus on Cloudflare Workers deployment, removing Docker and Kubernetes instructions to streamline setup and clarify that Xget is optimized for Cloudflare Workers.
2025-09-08 21:18:58 +08:00
xixu-me f4d45e0690 Revise project description in README.md 2025-09-08 08:18:16 +08:00
xixu-me 7d50e9e788 Improve range request caching and media file handling
Enhances caching strategy to only cache 200 responses (not 206), supports serving range requests from cached full content, and avoids compression for media files to ensure proper byte-range support. Adds comprehensive tests for range request caching, media file handling, cache key management, and performance metrics.
2025-09-03 03:26:01 +08:00
xixu-me d231a61528 Remove test README and update format scripts
Deleted test/README.md and updated the Prettier format scripts in package.json to exclude markdown files from formatting.
2025-09-03 02:42:58 +08:00
xixu-me 0a5ef94d81 Add Jenkins plugin mirror support
Introduces Jenkins plugin and update center mirror support in README and platform config. Updates transformPath logic for Jenkins endpoints and adds comprehensive tests for Jenkins path handling and URL construction.
2025-09-03 01:47:23 +08:00
xixu-me 8c3b8c7362 Remove Vercel deployment support and related files
This commit removes all Vercel-specific files and configuration, including API handlers, configuration files, ignore files, and documentation references. Scripts related to Vercel deployment and development have also been deleted from package.json. The project is no longer intended to be deployed or run on Vercel.
2025-09-01 05:31:57 +08:00
xixu-me 9d027af300 Update package-lock.json with new registry URLs and deps
Switched all package 'resolved' URLs from a custom registry to the official npmjs.org registry. Also updated several dependencies to newer versions, including @cloudflare/unenv-preset, @cloudflare/vitest-pool-workers, @cloudflare/workers-types, @emnapi/runtime, and multiple @rollup/rollup platform-specific packages.
2025-09-01 03:58:09 +08:00
xixu-me 09880c9efd Remove edge runtime config from vercel.json
Deleted the 'functions' section specifying the edge runtime for api/[...path].js in vercel.json. This simplifies the configuration and may reflect a change in deployment strategy or function location.
2025-09-01 03:28:33 +08:00
xixu-me 2e396333a8 Reformat vercel.json with consistent indentation
Updated the indentation in vercel.json to use tabs instead of spaces for improved consistency and readability. No functional changes were made.
2025-09-01 03:21:31 +08:00
xixu-me 41928c2eeb Revert "Update edge function runtime in vercel.json"
This reverts commit 62dc0e76f1.
2025-09-01 03:18:41 +08:00