Commit Graph
204 Commits
Author SHA1 Message Date
xixu-me f01acfa0bb Add id-token write permission to Docker workflow
Grants the workflow 'id-token: write' permission, which may be required for certain authentication steps or integrations in the Docker build and publish process.
2025-08-19 20:55:47 +08:00
xixu-me f46e89cba2 Update package-lock.json dependencies
Updated various dependencies in package-lock.json, including esbuild and related platform-specific packages, to newer versions. This ensures compatibility and includes the latest bug fixes and improvements from upstream packages.
2025-08-19 20:52:35 +08:00
xixu-me 16be610502 Add express to dependencies and improve Dockerfile
Added express as a production dependency in package.json and updated the Dockerfile to install dependencies more efficiently using npm ci when package-lock.json is present. This streamlines the build process and ensures express is available in production environments.
2025-08-19 20:41:19 +08:00
xixu-me 4d47c42084 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 3cf924c677 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 5bc82d35ea 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 137ee66796 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 3bf33a8f3b 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 f7f5ec8548 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 7b3fc0b8ae 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 5774f49f74 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 ca180c67db 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 4b0eb5ecd3 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 74a7ea6201 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 0c23dc5966 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 f7cdcb8b12 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 c20c1a2551 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 0e28c3e1ee 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 079a7deccb 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 b6f9589f08 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 932a5d413a 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 7cf0c2c017 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 88b1f9461f 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 3645d42f98 Update README.en.md 2025-08-10 23:00:19 +08:00
xixu-me 1b40d96548 Update README.md 2025-08-10 22:59:01 +08:00
xixu-me 2d3a1856ff Update README.md 2025-08-10 22:58:17 +08:00
xixu-me dc30535d33 Update README.md 2025-08-10 22:57:27 +08:00
xixu-me 0ed5e351c4 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 e933672dc6 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 3fe0d169ce 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 cd38f7fe3d 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 65f9d32946 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 07cbfa4177 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 34fbe584d7 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 8560e42905 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 aa60a32307 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 2516602565 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 d5baf7e90e Update config.yml 2025-08-07 00:28:23 +08:00
xixu-me 832d41774e 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 a29895e1a6 Update package.json 2025-08-04 14:05:31 +08:00
xixu-me 684e29c763 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 30aa0f9af9 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 6ca61fa38b 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 643a6370b9 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 68f5c33925 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 52c5fbf71d 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 39f84646f5 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 1e18fce3b0 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 3872b063c2 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 f4ea8dc4a3 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