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.
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.
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.
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.
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.
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.
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.
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.
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.
Added Siray to the list of supported AI inference providers in documentation and configuration. This enables API acceleration for Siray via the platform configuration.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.