Commit Graph
100 Commits
Author SHA1 Message Date
xixu-me 5281b33bcc Add Docker support and server entrypoint
Introduced Dockerfile, .dockerignore, and GitHub Actions workflow for building and publishing Docker images. Added server.js as the Express entrypoint for standalone deployment. Updated README with Docker, Docker Compose, and Kubernetes deployment instructions.
2025-08-19 20:37:29 +08:00
xixu-me 0e767e9200 Remove VERCEL_DEPLOYMENT.md reference from README
Updated both English and Chinese README files to remove the reference to VERCEL_DEPLOYMENT.md in the Vercel deployment section.
2025-08-17 17:56:13 +08:00
xixu-me 34c0827113 Add Vercel Edge Function support for Xget
Introduces Vercel deployment support by adding Edge Function handlers in the api directory, Vercel configuration files, and related ignore rules. Updates documentation to include Vercel one-click deployment instructions and badges. Adds Vercel-specific scripts to package.json for development and deployment workflows.
2025-08-17 17:41:34 +08:00
xixu-me 03df08998f Update README with URL converter info
Added information about the new URL converter (xuc.xi-xu.me) to both English and Chinese README files. Also adjusted formatting for public instance mentions for consistency.
2025-08-17 17:30:17 +08:00
xixu-me 9e802ed10d Update Wrangler login command in README files
Replaces 'npx wrangler auth login' with 'npx wrangler login' in both English and Chinese README files to reflect the updated Wrangler CLI authentication command.
2025-08-17 11:50:16 +08:00
xixu-me 936e48f4a8 Add smart placement mode to wrangler.toml
Added a [placement] section with mode set to 'smart' in wrangler.toml to configure deployment placement strategy.
2025-08-16 14:18:51 +08:00
xixu-me 60dfef4e98 Update Xget OpenAI API base_url in README files
Changed the example base_url for Xget-accelerated OpenAI API from '/ip/openai' to '/ip/openai/v1' in both English and Chinese README files to reflect the correct endpoint.
2025-08-14 19:09:20 +08:00
xixu-me fe6640e76a Revise and enhance English README for clarity and accuracy
Improved language, consistency, and technical accuracy throughout the README.en.md file. Updated terminology (e.g., 'link' to 'URL', 'conversion' to 'transformation'), clarified instructions, corrected section titles, and enhanced example explanations. Streamlined descriptions for platform support, usage scenarios, and configuration steps to provide a clearer and more professional guide for users.
2025-08-14 18:32:29 +08:00
xixu-me 1bf4a51ffa Add AI inference provider acceleration to README
Expanded the README to document support for AI inference API acceleration, including a new badge, provider table, usage examples, environment variable configuration, and performance comparisons. This update details how to use Xget to accelerate API calls to over 25 mainstream AI inference providers, with code samples and production deployment recommendations.
2025-08-14 17:30:00 +08:00
xixu-me 8089a30b96 Update AI API references and Gemini test case
Revised README to clarify 'AI 推理 API' terminology, updated Gemini API example URLs to use 'gemini-2.5-flash', and adjusted the related test case in platforms.test.js to match the new Gemini API path.
2025-08-14 17:09:58 +08:00
xixu-me 144da6a0e7 Update AI provider keys and docs for consistency
Renamed several AI provider keys and references (e.g., 'ip-google' to 'ip-gemini', 'ip-mistral' to 'ip-mistralai', etc.) in the codebase, documentation, and tests for improved clarity and alignment with provider branding. Updated README usage examples and provider tables to match the new keys.
2025-08-14 16:52:14 +08:00
xixu-me 7016ead887 Update README wording for acceleration experience
Replaces 'download experience' with 'acceleration experience' in both English and Chinese README files for clarity and consistency.
2025-08-14 16:27:41 +08:00
xixu-me 0d1dfbc430 Replace '链接' with 'URL' for clarity in docs
Updated documentation and templates to consistently use 'URL' instead of '链接' when referring to web addresses. This improves clarity and aligns terminology across the README, issue, and pull request templates.
2025-08-14 16:11:10 +08:00
xixu-me 9b7ee52274 Add AI inference providers support and docs
Expanded README with detailed documentation and usage examples for AI inference provider acceleration, including a new badge, platform table entries, and code samples for Python and JavaScript. Updated src/config/platforms.js to use the correct Hugging Face inference API endpoint.
2025-08-14 16:05:50 +08:00
xixu-me 9edb80e619 Update AI inference providers list and tests
Expanded and reordered the list of AI inference providers in the platform configuration to include new providers such as ip-github, ip-nvidia, ip-braintrust, ip-jina, ip-voyageai, ip-burncloud, and ip-poe. Updated the corresponding test to match the new provider list and order.
2025-08-14 15:09:20 +08:00
xixu-me c15e08be1a Add AI inference request handling to proxy
Introduces isAIInferenceRequest to detect AI inference API requests and updates request validation, caching, and header logic to support AI endpoints. Ensures proper content type and User-Agent headers for AI requests and skips caching for these operations, similar to Git and Docker requests.
2025-08-14 14:47:13 +08:00
xixu-me 313f338489 Add OpenRouter to AI inference providers
Added 'ip-openrouter' with its URL to the PLATFORMS config and updated related tests to include OpenRouter as a supported AI inference provider.
2025-08-14 14:35:41 +08:00
xixu-me 2cab404223 Add AI inference providers to platform config and tests
Added major AI/ML inference providers to the PLATFORMS config. Introduced comprehensive tests to ensure all providers are defined, their paths are transformed correctly, and valid URLs are constructed.
2025-08-14 13:59:18 +08:00
xixu-me 2ae8ce15be Add Homebrew mirror support and usage instructions
Updated README.en.md to include Homebrew badge, mirror table entries, usage examples, and detailed configuration instructions for accelerating Homebrew with Xget. Removed Homebrew performance comparison section from README.md.
2025-08-11 09:46:03 +08:00
xixu-me 8e3f75e7a4 Add Homebrew support and tests
Added Homebrew, Homebrew API, and Homebrew Bottles platform support in the configuration. Updated the README with Homebrew usage instructions and examples. Introduced comprehensive tests for Homebrew path transformations to ensure correct behavior.
2025-08-11 09:38:17 +08:00
xixu-me 6e183040ec Update README.en.md 2025-08-10 23:00:19 +08:00
xixu-me f91e266588 Update README.md 2025-08-10 22:59:01 +08:00
xixu-me 87ad6206a9 Update README.md 2025-08-10 22:58:17 +08:00
xixu-me 763152bd1c Update README.md 2025-08-10 22:57:27 +08:00
xixu-me bd36cb75e3 Fix CTAN badge anchor links in README files
Updated the CTAN badge anchor links in both English and Chinese README files to use the correct section IDs, ensuring proper navigation.
2025-08-08 19:04:39 +08:00
xixu-me 689ea2ebee Add Apache software download acceleration support
Added Apache as a supported platform in the documentation and configuration. Updated both English and Chinese README files with instructions and examples for accelerating Apache software downloads via Xget, and registered the Apache platform in the platforms.js config.
2025-08-08 18:52:00 +08:00
xixu-me 6f0914e001 Add AOSP, CPAN, and CTAN platform support
Added support and documentation for AOSP (Android Open Source Project), CPAN (Perl), and CTAN (TeX/LaTeX) mirrors in both English and Chinese README files. Updated src/config/platforms.js to include these platforms. No functional changes to request handling logic.
2025-08-08 18:44:39 +08:00
xixu-me 1878b5dce4 Ensure Content-Length header for HEAD requests
Adds special handling for HEAD requests to guarantee the Content-Length header is present. If the initial HEAD response lacks this header, a GET request is performed to retrieve or calculate the correct Content-Length value.
2025-08-08 17:33:09 +08:00
xixu-me ae67123de3 Remove PyTorch platform support and related tests
This commit removes all code, documentation, and tests related to the PyTorch platform. PyTorch is no longer listed as a supported platform in the configuration, README files, or test suites.
2025-08-07 14:53:47 +08:00
xixu-me 3c7ed0a985 Improve PyTorch wheel index URL rewriting and tests
Refactors PyTorch path transformation logic and enhances URL rewriting for PyTorch wheel index pages to handle both absolute and relative links. Removes unnecessary cache skipping for PyTorch index pages and adds dedicated tests for PyTorch URL rewriting and path transformation.
2025-08-07 14:44:33 +08:00
xixu-me e5bff20908 Improve PyTorch pip index handling and caching
Added special handling for PyTorch pip index requests to skip cache and set shorter cache duration for index pages. Updated URL rewriting logic to correctly rewrite PyTorch download URLs in HTML responses. Refactored code to distinguish between npm and PyTorch URL rewriting and clarified path transformation for PyTorch in the config.
2025-08-07 14:29:42 +08:00
xixu-me 7336649595 Add PyTorch platform support and URL rewriting
Introduces PyTorch platform support with URL rewriting for wheel index pages in src/index.js. Updates documentation in both English and Chinese READMEs to reflect new PyTorch installation URLs and verification steps. Adds comprehensive tests for PyTorch proxying, URL transformation, and error handling in test/index.test.js and new test/pytorch.test.js.
2025-08-07 14:07:09 +08:00
xixu-me b4af10603a Add PyTorch platform support and documentation
Introduces PyTorch as a supported platform in the configuration, updates test utilities and test cases for PyTorch URLs, and adds detailed usage and acceleration instructions for PyTorch in both English and Chinese README files.
2025-08-07 13:51:28 +08:00
xixu-me ae3f41b4f4 Clarify container registry names in documentation
Updated both English and Chinese README files to use more precise and consistent names for various container registries in the supported registries table and related documentation sections. This improves clarity for users by specifying full registry names and aligning terminology across both language versions.
2025-08-07 13:38:22 +08:00
xixu-me caf004db94 Update config.yml 2025-08-07 00:28:23 +08:00
xixu-me 056ff7dd46 Add environment-based config and improve error handling
Introduces a createConfig function to generate configuration from environment variables, enabling dynamic overrides for deployment environments. Refactors request validation and error responses to use the new config and a standardized error response helper. Updates caching logic to only cache GET and HEAD requests, and rewrites response body handling for platform-specific URL rewrites. Sets package type to 'module' in package.json.
2025-08-06 13:43:20 +08:00
xixu-me 16a7ace5b0 Update package.json 2025-08-04 14:05:31 +08:00
xixu-me 781357fa6d Update CRAN ggplot2 version in docs and tests
Changed references of ggplot2 from version 3.4.4 to 3.5.2 in both English and Chinese README files and updated related test cases in cran.test.js to ensure consistency with the latest package version.
2025-07-31 18:14:55 +08:00
xixu-me 0dc07a01f3 Update Gitea archive path from main.zip to master.zip
Changed documentation and test cases to use 'master.zip' instead of 'main.zip' for Gitea archive URLs to reflect the correct branch naming.
2025-07-31 18:01:30 +08:00
xixu-me 647caa6823 Update Gradle plugin example URLs in README files
Replaced outdated Gradle plugin and metadata example URLs with new plugin examples in both English and Chinese README files to provide more relevant and up-to-date references.
2025-07-31 17:47:22 +08:00
xixu-me 9d8c924adb Expand README with CRAN, Rust, openSUSE, and F-Droid support
Added badges, conversion examples, and configuration instructions for CRAN (R), Rust Crates, openSUSE, and F-Droid mirrors. Improved and clarified documentation for multi-platform integration, updated section titles, and enhanced usage examples for new platforms. Various language and formatting improvements for clarity and consistency.
2025-07-31 17:28:45 +08:00
xixu-me e8394d54d9 Remove APKMirror support and update F-Droid docs
Removed all references and documentation for APKMirror from the README and dropped APKMirror from the supported platforms in platforms.js. Expanded and improved the F-Droid mirror documentation, including usage examples and developer integration instructions.
2025-07-31 15:56:02 +08:00
xixu-me f06712efb6 Add F-Droid and APKMirror platform support
Added F-Droid and APKMirror to the supported platforms in both the documentation and the platform configuration. Updated the README with usage instructions, examples, and automation scripts for accelerating Android app downloads from F-Droid and APKMirror.
2025-07-31 15:08:12 +08:00
xixu-me 7a6bc08929 Update Linux badge links in README
Changed the badge links for various Linux distributions in the README to point to their specific configuration sections instead of a general section. This improves navigation and clarity for users seeking distribution-specific instructions.
2025-07-31 14:46:15 +08:00
xixu-me 3bc67f3e9b Add openSUSE platform support and tests
Added openSUSE to the supported platforms in the documentation and configuration. Updated README with openSUSE usage instructions and examples. Introduced tests to verify openSUSE path transformation logic.
2025-07-31 14:40:48 +08:00
xixu-me ee9d44911c Add CRAN platform support and documentation
Added CRAN (R package repository) support to the platform configuration and updated the README with usage instructions and examples for CRAN. Introduced tests for CRAN path transformation and configuration in a new test/cran.test.js file.
2025-07-31 14:09:47 +08:00
xixu-me f0d449fdec Add Rust crates.io support and path transformation
Added Rust crates.io platform support in the documentation and platforms config. Implemented special path transformation logic for crates.io API endpoints in transformPath. Added tests to verify correct path transformation for various crates.io API routes.
2025-07-31 13:23:30 +08:00
xixu-me da7d0b3188 Add Buy Me a Coffee sponsor to FUNDING.yml
Added Buy Me a Coffee username to the funding configuration to provide an additional sponsorship option.
2025-07-29 17:26:07 +08:00
xixu-me da98197fdb Update README description for resource coverage
Added 'etc.' to the list of supported resource types in the project description to clarify broader coverage.
2025-07-29 13:42:11 +08:00
xixu-me 641e3756a6 Move academic resource acceleration section up
Relocated the academic resource acceleration (arXiv download) section above the container image acceleration section in both English and Chinese README files for improved documentation structure and visibility.
2025-07-29 10:07:15 +08:00
xixu-me 47e5882346 Expand README with more platforms and usage examples
Added support and documentation for additional platforms including Gitea, Codeberg, SourceForge, Maven, Gradle, RubyGems, Go, NuGet, Packagist, and various Linux distributions. Expanded usage examples and configuration instructions for these platforms, improved clarity and consistency in language, and updated sections on Git global acceleration, academic resource acceleration, and package manager integration. Minor language and formatting improvements throughout. Also updated a test README for clearer language.
2025-07-28 21:45:19 +08:00
xixu-me d6347ce264 Add arXiv platform support and documentation
Added arXiv as a supported platform in the platforms configuration and updated the README with usage instructions, badge, and examples for accelerating arXiv paper downloads.
2025-07-28 21:30:53 +08:00
xixu-me bdbac4a1c0 Add support for more package and OS platforms
Expanded documentation and platform config to include RubyGems, Go modules, NuGet, Packagist, and major Linux distributions (Debian, Ubuntu, Fedora, Rocky Linux, Arch Linux). Updated README with usage instructions and examples for these new platforms.
2025-07-28 20:27:09 +08:00
xixu-me e3ca1bc667 Add Maven and Gradle support and documentation
Added Maven and Gradle badges, usage instructions, and conversion examples to the README. Updated platforms.js to include Maven and Gradle platform URLs for enhanced package management support.
2025-07-28 19:54:44 +08:00
xixu-me 313660e75f Refactor Git acceleration config in README
Merged and reorganized Git全局加速配置 section into the main Git操作与配置 section for clarity. Removed redundant development environment configuration and IDE integration instructions to streamline documentation.
2025-07-28 19:01:47 +08:00
xixu-me 09b1a3ec40 Add Gitea, Codeberg, and SourceForge platform support
Extended platform support by adding Gitea, Codeberg, and SourceForge to the configuration and documentation. Updated tests to cover new platforms and their path transformations, and enhanced README with usage examples and badges for the new platforms.
2025-07-28 18:49:06 +08:00
xixu-me ef4362ea50 Remove Docker Hub specific support and code
Eliminated Docker Hub-specific configuration, path/scope transforms, and related documentation. Deleted src/config/docker.js and its tests, removed Docker Hub from supported platforms, and refactored code to use generic container registry logic. This simplifies the codebase by dropping special handling for Docker Hub library images.
2025-07-28 17:24:03 +08:00
xixu-me 75338601db Update imports and Docker request handling logic
Changed import statements to use explicit .js extensions for ES module compatibility. Updated Docker request detection to include '/cr/' paths and improved logic to avoid duplicating '/v2' prefix when constructing target paths.
2025-07-28 17:18:46 +08:00
xixu-me eef204ab49 Add Docker Hub support with path and scope handling
Introduces Docker Hub-specific configuration and utilities, including path and scope transformation for library images. Updates the main logic to handle Docker Hub authentication and path rewriting. Adds tests for Docker Hub path, scope, and authentication header parsing. Updates documentation to reflect Docker Hub support and usage examples.
2025-07-28 17:04:07 +08:00
xixu-me 2680618594 Improve star history chart with dark mode support
Replaced the static star history chart image with a <picture> element that supports both dark and light themes in README.en.md and README.md. This enhances the visual experience for users with different color scheme preferences.
2025-07-28 15:39:46 +08:00
xixu-me d637fd9a2e Update README wording for 'star' suggestion
Changed 'Star' to 'star' in both English and Chinese README files for consistency and improved readability.
2025-07-27 18:35:03 +08:00
xixu-me 790c142edc Remove experimental preview_url from wrangler.toml
Deleted the [experimental] section and preview_url setting from wrangler.toml, likely to clean up unused or deprecated configuration.
2025-07-27 16:01:48 +08:00
xixu-me c5950a36eb Add experimental preview_url setting to wrangler.toml
Introduces the [experimental] section with preview_url set to false in wrangler.toml, allowing configuration of preview URL behavior for development and testing purposes.
2025-07-27 15:59:48 +08:00
xixu-me 89d257e5c0 Update README.en.md 2025-07-27 12:12:25 +08:00
xixu-me fd446f2661 Update README.md 2025-07-27 12:12:00 +08:00
xixu-me 3aba42b1c3 Translate and expand CODE_OF_CONDUCT.md and SECURITY.md
CODE_OF_CONDUCT.md and SECURITY.md have been translated into Chinese and significantly expanded. The security policy now includes detailed vulnerability reporting instructions, supported versions, security features, best practices, checklists, update procedures, and emergency contact information. The code of conduct is now fully localized and retains all original guidelines and enforcement procedures.
2025-07-27 00:21:56 +08:00
xixu-me 54b059fe32 Revise and expand README documentation
Improved clarity, consistency, and accuracy throughout both English and Chinese README files. Enhanced descriptions, updated terminology, added new usage examples, expanded integration and configuration sections, and corrected minor errors. These changes provide more comprehensive guidance for users and contributors.
2025-07-26 22:23:35 +08:00
xixu-me 20f702793b Clarify HTTP Range request support in README
Updated both English and Chinese README files to specify 'HTTP Range request' instead of just 'Range request' for improved clarity regarding parallel chunked downloads.
2025-07-26 21:24:24 +08:00
xixu-me 34728ce10f Update README.en.md 2025-07-26 15:12:45 +08:00
xixu-me 9d3ebf4039 Update README.md 2025-07-26 15:12:03 +08:00
xixu-me 2f3a84b75c Update README.en.md 2025-07-26 14:38:39 +08:00
xixu-me c626408c0a Update README.md 2025-07-26 14:37:31 +08:00
xixu-me be52b0620f Update README.en.md 2025-07-26 13:16:12 +08:00
xixu-me e200afc5b2 Update README.md 2025-07-26 13:13:39 +08:00
xixu-me 8dc7f3c293 Update README.en.md 2025-07-26 08:27:33 +08:00
xixu-me aa1a885ecb Update README.en.md 2025-07-26 08:26:19 +08:00
xixu-me 66d48af353 Update README.md 2025-07-26 08:19:48 +08:00
xixu-me 0ff39eb835 Update README.md 2025-07-26 08:15:15 +08:00
xixu-me e3e6b9f0e6 Update README.md 2025-07-26 08:13:03 +08:00
xixu-me 972c560bf8 Disable workers_dev in wrangler.toml
Set workers_dev to false in wrangler.toml to prevent deployment to the workers.dev subdomain. This change is likely for production or custom domain deployment.
2025-07-25 21:32:54 +08:00
xixu-me 9b8703c79c Add English documentation and cross-link in README
Added README.en.md with comprehensive English documentation for Xget. Updated README.md to include a link to the English version for improved accessibility.
2025-07-25 20:08:45 +08:00
xixu-me 5fa143a245 Fix code block formatting in README
Corrected misplaced code block delimiters and added missing bash code block for containerd restart instructions.
2025-07-25 19:49:11 +08:00
xixu-me f9ffdf54e1 Add distroless base image pull command to README
Added instructions for pulling the distroless base image from Google Container Registry using the registry mirror. This helps users quickly access the image via the documented mirror.
2025-07-25 19:48:18 +08:00
xixu-me 7e2fc46e88 Refactor container registry support and docs
Updated README to clarify container registry usage and examples, including new supported registries and configuration instructions. Removed NVIDIA NGC from supported registries in code and tests. Standardized test cases and examples to use 'nginxinc/nginx-unprivileged' for container registry paths, improving consistency across documentation and tests.
2025-07-25 19:47:44 +08:00
xixu-me ba5b728b2f Remove Docker Hub registry support and references
Eliminates support for Docker Hub ('cr-docker') from platform configuration, request handling logic, and all related tests. Updates terminology and test cases to use other container registries (e.g., GHCR) and removes Docker-specific path and scope transformations. This simplifies container registry support and focuses on currently supported platforms.
2025-07-25 19:02:40 +08:00
xixu-me 46288a92da Refactor Docker registry request handling
Simplifies Docker authentication and registry path handling by removing redundant logic and enforcing /cr/ prefix for Docker registry requests. Updates allowed HTTP methods for Git and Docker, streamlines DockerHub library image path transformation, and improves unauthorized response handling.
2025-07-25 18:07:00 +08:00
xixu-me af22287f2f Refactor Docker authentication handling logic
Moves Docker authentication handling to the beginning of request processing for priority and clarity. Improves error handling and response formatting for Docker auth endpoint, and removes duplicate logic from later in the function.
2025-07-25 17:53:42 +08:00
xixu-me 61f0d21439 Improve Docker registry proxy authentication and routing
Enhances Docker registry proxy logic to better handle authentication challenges, support DELETE method, and improve path transformations for Docker Hub library images. Adds more robust handling for /v2/auth endpoint, upstream authentication checks, and anonymous token fetching for public repositories. Also refines error messaging and routing for Docker requests.
2025-07-25 17:27:50 +08:00
xixu-me 9cc2baee1e Refactor Docker registry 401 authentication handling
Simplifies and improves handling of 401 Unauthorized responses for Docker registry requests by passing through the authentication challenge with a modified WWW-Authenticate header, allowing the Docker client to handle authentication. Removes token fetching logic and ensures relevant headers are preserved in the response.
2025-07-25 16:52:02 +08:00
xixu-me c0a5f43f4c Refactor Docker registry authentication handling
Simplifies unauthorized response structure and updates the service name in the WWW-Authenticate header. Refactors Docker registry path handling to require /cr/ prefix for all requests, removes special handling for /v2/auth, and improves token fetching logic for public repositories. Unauthorized errors now return a more helpful message when authentication fails.
2025-07-25 16:37:56 +08:00
xixu-me a723f1b18f Improve Docker registry and auth endpoint handling
Adds special handling for the Docker /v2/auth endpoint, allowing requests without the /cr/ prefix. Refines anonymous token retrieval for Docker Hub public images and ensures proper scope extraction for manifests and blobs. If anonymous access fails, the original authentication challenge is passed through instead of returning a custom unauthorized response.
2025-07-25 16:31:12 +08:00
xixu-me 7a619e0edc Improve Docker registry authentication handling
Enhanced the unauthorized response to include proper headers and JSON error details. Added logic to attempt anonymous token retrieval for public Docker images and retry requests with the token if available, improving support for unauthenticated access.
2025-07-25 16:24:17 +08:00
xixu-me 7355cd3fce Improve Docker registry path validation
Updates Docker request handling to allow both /cr/ and /v2/cr/ prefixes, and clarifies path normalization for Docker registry API consistency.
2025-07-25 16:14:31 +08:00
xixu-me 3e3eab5867 Add Docker registry proxy support and tests
Implements Docker registry request detection, authentication handling, and proxy logic in src/index.js. Adds comprehensive tests for Docker registry support, including API version checks, URL transformation, authentication, HTTP methods, error handling, header preservation, and platform support in test/docker-registry.test.js.
2025-07-25 16:08:02 +08:00
xixu-me f755f9ebbc Pass 401 challenge for Docker authentication
When handling Docker authentication, the 401 challenge response is now passed through to the client to support proper authentication flows.
2025-07-25 15:07:56 +08:00
xixu-me 3661da22c7 Add Docker request handling to proxy logic
Introduces detection and special handling for Docker API requests, including protocol compliance and header management. Docker requests are now proxied similarly to Git operations, with caching and header logic adjusted to avoid interfering with protocol-sensitive requests.
2025-07-25 14:54:19 +08:00
xixu-me a6d7991c35 Refactor platform config and error handling logic
Removes transformPath from CONFIG and imports it directly where needed. Updates platform configuration to use a simpler mapping. Improves error handling by checking for Error instances before accessing message properties.
2025-07-25 14:28:27 +08:00
xixu-me df16d0806a Refactor platform config and unify path transformation
Simplifies PLATFORMS to map platform keys to base URLs and introduces a unified transformPath function for path normalization. Updates usage in src/index.js and refactors tests to validate the new structure and container registry support.
2025-07-25 14:16:26 +08:00
xixu-me 2104ffa96e Reformat config files to use spaces and single quotes
Updated tsconfig.json and vitest.config.js to use consistent 2-space indentation and single quotes for strings, improving code style and readability.
2025-07-25 12:05:35 +08:00
xixu-me 78ebc49a4b Refactor ESLint config for improved readability
Reformatted the ESLint configuration file to use consistent array/object formatting and removed unnecessary quotes from rule names. No functional changes were made; this improves maintainability and clarity. Other config files had only minor formatting updates.
2025-07-25 12:01:29 +08:00