Commit Graph
242 Commits
Author SHA1 Message Date
xixu-me 9bbdc97272 Revert "Remove edge runtime from Vercel config"
This reverts commit 42a86c3b16.
2025-09-01 03:11:57 +08:00
xixu-me 42a86c3b16 Remove edge runtime from Vercel config
The 'runtime: edge' property was removed from the Vercel Edge Function configuration, possibly to use the default runtime or address deployment requirements. The regions configuration remains unchanged.
2025-09-01 03:08:24 +08:00
xixu-me 62dc0e76f1 Update edge function runtime in vercel.json
Changed the edge function runtime from 'edge' to '@vercel/edge' in vercel.json to align with the latest Vercel configuration requirements.
2025-09-01 03:05:50 +08:00
xixu-me 481e5a6672 Revert "Add support for major JS CDN platforms"
This reverts commit 498ca5676a.
2025-09-01 00:50:02 +08:00
xixu-me 498ca5676a Add support for major JS CDN platforms
Added Google Hosted Libraries (ghl), unpkg, Skypack, and esm.sh to the supported platforms in both the README and the configuration file. Updated documentation with usage examples and badge links for these CDNs to improve clarity and user guidance.
2025-09-01 00:26:28 +08:00
xixu-me 9b461bf271 Remove English README and translation workflow
Deleted the auto-translation GitHub Actions workflow and the generated README.en.md file. Updated README.md, likely to remove references to the English version and translation automation.
2025-08-31 21:52:46 +08:00
xixu-me f540bf1f1f Improve README translation workflow with chunked processing
Replaces the previous DeepL GitHub Action with a custom Node.js script that splits README.md into chunks for translation, improving handling of large files and preserving structure. Adds steps to set up Node.js, install dependencies, and process translation in segments, with enhanced commit messages reflecting translation statistics and features.
2025-08-31 21:43:02 +08:00
xixu-me f2fb15c8e9 Update DeepL translate action to v2.2.0
Bump lyqht/deepl-translate-github-action from v2.1.1 to v2.2.0 in the translate-readme workflow for improved features and fixes.
2025-08-31 21:27:42 +08:00
xixu-me 4fd50be0c3 Add workflow to auto-translate README and enable arxiv platform
Introduces a GitHub Actions workflow to automatically translate README.md to English using DeepL, update language links, and add a translation disclaimer. Also enables the 'arxiv' platform in the platforms configuration.
2025-08-31 21:16:03 +08:00
xixu-me 288f7438ea Update README wording and remove CI/CD integration section
Refines wording throughout the README for clarity and consistency, replacing terms like '加速服务' with '加速体验' and updating references to the public instance. Removes the detailed CI/CD integration section, including GitHub Actions, GitLab CI, and Docker build optimization examples. Also updates disclaimers and minor formatting for improved accuracy and readability.
2025-08-31 18:12:13 +08:00
xixu-me 17b9915f60 Update README legal compliance and badge links
Improved wording on legal compliance and user responsibility in both English and Chinese README files. Updated Cloudflare Workers badge links to point to the correct section anchors.
2025-08-31 17:41:50 +08:00
xixu-me 3dcbe599e9 Update documentation with vision and deployment details
Added a new 'Repository Vision' section to the English README, clarifying the project's goals and benefits. Expanded deployment instructions with more details and recommendations, especially for Cloudflare Workers. Minor wording improvements and consistency updates in the Chinese README and SECURITY.md.
2025-08-31 17:24:39 +08:00
xixu-me d5e31bd9db Update README with project purpose and deployment details
Added a new section explaining the project's purpose and goals, emphasizing legal and efficiency aspects for developers in mainland China. Expanded deployment instructions, highlighting Cloudflare Workers as the recommended method and reorganizing alternative deployment options for clarity.
2025-08-31 17:15:56 +08:00
xixu-me 382824fe2e Update deployment and platform notes in README files
Emphasized Cloudflare Workers as highly recommended, adjusted Docker image recommendation wording, and clarified third-party platform respect statements in both English and Chinese README files. Updated references to container registries and removed Docker Hub from the list for consistency.
2025-08-31 16:55:21 +08:00
xixu-me 017d331d6e Update language label in README
Changed the language label from '中文' to '汉语' in the English README for clarity.
2025-08-31 15:45:05 +08:00
xixu-me cecd623bda Update project description in README
Revised the project description to clarify that it is an open-source resource access acceleration engine, improving accuracy and clarity.
2025-08-31 15:44:42 +08:00
xixu-me 2eaef9735d Update platforms.js 2025-08-31 00:15:43 +08:00
xixu-me c54a54b43b Update and expand disclaimer in README files
Revised the disclaimer sections in both English and Chinese README files to provide more comprehensive information on legal compliance, service availability, data privacy, liability, third-party platform respect, intellectual property, and security risks. The updates clarify usage boundaries and user responsibilities.
2025-08-30 13:23:19 +08:00
xixu-me 6c35c2c654 Update dependencies in package.json and lockfile
Upgraded several development dependencies including @cloudflare/vitest-pool-workers, @cloudflare/unenv-preset, @cloudflare/workers-types, and related packages. This ensures compatibility with the latest features and bug fixes from upstream packages.
2025-08-27 14:21:57 +08:00
xixu-me 9586ef010c Update FUNDING.yml 2025-08-24 17:39:37 +08:00
xixu-me 575acd674f Update config.yml 2025-08-23 09:43:51 +08:00
xixu-me 9718fec55d Update config.yml 2025-08-23 09:39:48 +08:00
xixu-me 16edbd841d Revert "Add Kaggle platform support and path transformation"
This reverts commit 1480595fbc.
2025-08-20 22:30:06 +08:00
xixu-me 1480595fbc Add Kaggle platform support and path transformation
Introduces Kaggle as a supported platform in the configuration and health check. Implements special path transformation logic for Kaggle API endpoints in transformPath, and adds comprehensive tests to verify correct path handling for various Kaggle API routes.
2025-08-20 22:17:48 +08:00
xixu-me fc2c02f6ae Fix Civitai badge URL and minor formatting in README files
Removed unused logo parameters from the Civitai badge in both English and Chinese README files. Also fixed minor whitespace formatting in code examples in the Chinese README.
2025-08-20 21:52:38 +08:00
xixu-me 44e31aa5bd Add Civitai support and usage examples to README
Added Civitai badge, URL transformation instructions, and Python usage examples for the Civitai AI model platform to both English and Chinese README files. This update documents how to accelerate Civitai model downloads and API access via the Xget service.
2025-08-20 21:43:27 +08:00
xixu-me a9843ab948 Add Civitai platform support
Added 'civitai' to the PLATFORMS config and updated tests to include Civitai path transformations. This enables handling of Civitai URLs in the platform configuration and ensures correct path transformation logic.
2025-08-20 21:37:57 +08:00
xixu-me 1826aceef5 Update config to use environment variables
Replaced hardcoded configuration values in src/config/index.js with environment variable lookups to improve flexibility and security.
2025-08-20 13:33:35 +08:00
xixu-me 44d550ce16 Update deployment badge links in README files
Changed the badge links for Cloudflare Workers, Vercel, and Docker in both English and Chinese README files to point to their respective sections directly, improving navigation.
2025-08-19 21:51:49 +08:00
xixu-me 83d2dfb322 Simplify deployment section in README files
Streamlined the deployment instructions in both English and Chinese README files by removing the manual deployment section and consolidating the headings for Cloudflare Workers, Vercel, and Docker. This makes the deployment options clearer and reduces redundancy.
2025-08-19 21:50:22 +08:00
xixu-me 1813f5bbe9 Ignore docs and config files in CI workflow triggers
Updated the GitHub Actions workflow to ignore changes in markdown files, documentation, test, scripts, and common config files when triggering on push and pull_request events. This reduces unnecessary workflow runs for non-code changes.
2025-08-19 21:44:49 +08:00
xixu-me fdff94fa4d Add Docker deployment instructions to README
Added a new section to the README with detailed instructions for deploying using Docker, Docker Compose, and Kubernetes. Also updated badges to include Docker and made minor formatting improvements throughout the file.
2025-08-19 21:38:38 +08:00
xixu-me 3454180797 Rename docker workflow to image and update labels
Renamed the workflow file from docker.yml to image.yml and updated workflow and step names to use 'Image' instead of 'Docker'. This improves clarity and generalizes the workflow for building and pushing images.
2025-08-19 21:35:43 +08:00
xixu-me 6b97ac28cc Fix Trivy scan to use correct image tag
Introduced a step to extract the first image tag from build outputs and use it as the image reference for the Trivy vulnerability scanner. This ensures the scanner analyzes the correct image version.
2025-08-19 21:25:23 +08:00
xixu-me ffe6da53c2 Update Trivy scan to use tag instead of digest
Added debug output steps and changed the Trivy vulnerability scanner to reference the image by tag (${github.ref_name}) instead of digest. This helps with debugging and aligns the scan with the tagged image.
2025-08-19 21:21:45 +08:00
xixu-me 8c969b6bbf Update Docker workflow to use image digest for Trivy scan
Adds outputs for image tags and digest in the build-and-push job and updates the Trivy scanner to reference the image by digest instead of the latest tag. This ensures the vulnerability scan is performed on the exact built image.
2025-08-19 21:11:16 +08:00
xixu-me d9cabc4436 Add attestations permission to Docker workflow
Grants the 'attestations: write' permission in the GitHub Actions Docker workflow to enable writing attestations. This may be required for enhanced security or provenance features.
2025-08-19 21:04:37 +08:00
xixu-me d4a4f2f373 Fix Docker digest output reference in workflow
Updates the GitHub Actions workflow to use the correct step ID 'build-and-push' for the Docker image digest output, ensuring the provenance attestation references the correct value.
2025-08-19 21:00:48 +08:00
xixu-me f6d96c4e6c 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 245a986701 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 0a9e455cf7 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 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