Commit Graph
753 Commits
Author SHA1 Message Date
xixu-me c9de054b4d Remove Docker configuration instructions from README
Deleted the section detailing Docker registry mirror configuration for image acceleration from both English and Chinese README files. This streamlines the documentation and focuses on direct image pulling instructions.
2025-11-19 20:59:41 +08:00
xixu-me b7ec488ff2 Update EdgeOne Pages deploy project name
Changed the project name in the deploy step from 'xget' to 'xget6' in the pages-eo GitHub Actions workflow.
2025-11-19 20:41:10 +08:00
xixu-me 7e5cee71f3 Update EdgeOne Pages deploy project name
Changed the project name in the deploy step from 'xget-pages' to 'xget' in the GitHub Actions workflow for EdgeOne Pages deployment.
2025-11-19 20:37:25 +08:00
xixu-me e0a861b85b Change Hugging Face logo color to black 2025-11-19 11:20:17 +08:00
xixu-me 72904c5e84 Update Hugging Face badge logo color to black 2025-11-19 11:19:43 +08:00
xixu-me f26a122f22 Update badge links and images in README 2025-11-19 00:27:32 +08:00
xixu-me 11025573ed Update badge links and images in README.md 2025-11-19 00:26:02 +08:00
xixu-me ed675ea5e8 Update README with EdgeOne Pages and clarify deployments
Added EdgeOne Pages deployment instructions and badge. Expanded and clarified deployment steps for Cloudflare Workers and Cloudflare Pages, including notes on branch automation and secret configuration. Improved self-hosted deployment notes for clarity and consistency.
2025-11-18 22:33:15 +08:00
xixu-me d3c8c147ae Update docs and code references from Worker to Workers
Standardized terminology by changing 'Cloudflare Worker' to 'Cloudflare Workers' across documentation, workflow comments, and code. Expanded deployment instructions in README to include Cloudflare Pages and EdgeOne Pages, clarified secrets setup, and improved deployment notes for self-hosting.
2025-11-18 22:08:42 +08:00
xixu-me 80e4b8a267 Fix typos: replace 'Pagess' with 'Pages' in workflows
Corrects multiple instances of 'Pagess' to 'Pages' in the sync.yml workflow, including job names, comments, documentation, and deployment commands. Also removes redundant env block from pages-eo.yml. This improves clarity and ensures correct terminology for Cloudflare Pages.
2025-11-18 21:23:05 +08:00
xixu-me 6c39eae815 Update deployment workflows to trigger on workflow_run
Changed Cloudflare Pages and EdgeOne Pages workflows to trigger on successful completion of the 'Sync to Pages' workflow for the main branch, instead of on push to pages branch. Also updated permissions and job names for clarity and consistency.
2025-11-18 20:57:01 +08:00
xixu-me 94e18b6884 Remove install and build steps from workflow
Eliminated the 'Install dependencies' and 'Build project' steps from the pages-eo GitHub Actions workflow, leaving only the deployment step. This streamlines the workflow and may indicate that build artifacts are now pre-generated or handled elsewhere.
2025-11-18 20:47:49 +08:00
xixu-me 667e2599f5 Add workflows for Cloudflare and EdgeOne Pages deployment
Introduces separate GitHub Actions workflows for deploying to Cloudflare Pages and EdgeOne Pages. Also renames and updates the existing deploy workflow to workers.yml, reduces its timeout, and clarifies step names for Cloudflare Workers deployment.
2025-11-18 20:41:09 +08:00
xixu-me 1c4e9116aa Refactor workflow for Pagess deployment and cleanup
Renames all references from 'Page' or 'Pages' to 'Pagess' in the sync workflow, updates directory and script names, and consolidates the deployment process. Removes the EdgeOne conversion job and related configuration, simplifying the workflow to focus solely on Pagess deployment.
2025-11-18 19:59:35 +08:00
xixu-me 0204501aba Redirect invalid and incomplete paths to homepage
Update request handling to redirect root, invalid platform prefixes, and platform prefixes without resource paths to the homepage. Adjust tests to expect 302 redirects instead of 404 or 400 responses for these cases.
2025-11-18 18:30:15 +08:00
xixu-me 7d757f99a6 Add Product Hunt badge to README
Included a Product Hunt badge in the README to highlight the project's presence on Product Hunt and improve visibility.
2025-11-18 17:50:46 +08:00
xixu-me 0af31b20af Add Product Hunt badge to README
Included a Product Hunt badge with a link and image to promote Xget on Product Hunt. This enhances project visibility and provides users with a quick way to access the Product Hunt page.
2025-11-18 17:50:07 +08:00
xixu-me 8391175a46 Merge branch 'main' of https://github.com/xixu-me/Xget 2025-11-18 13:20:21 +08:00
xixu-me 763d3bf7a0 Add EdgeOne Pages conversion workflow
Introduces a new GitHub Actions job to automate converting the Worker codebase for EdgeOne Pages deployment. The workflow copies runtime files, creates a catch-all Pages Function handler, updates exports, generates edgeone.json configuration, modifies package.json scripts, and force-pushes to a dedicated 'pages' branch.
2025-11-18 12:10:44 +08:00
xixu-me 5739ae027a Merge pull request #107 from xixu-me/dependabot/github_actions/actions/attest-build-provenance-3
ci(deps): bump actions/attest-build-provenance from 2 to 3
2025-11-18 11:01:40 +08:00
xixu-me eb75686488 Add concurrency to workflows and refine sync job
Renamed 'depoly.yml' to 'deploy.yml' and added concurrency groups to deploy, image, and sync workflows for better job management. Updated the sync workflow to copy only runtime-required files, removing documentation, tests, and development configs from the deployment process.
2025-11-17 19:52:40 +08:00
xixu-me a1c87d9cba Merge pull request #102 from xixu-me/dependabot/npm_and_yarn/wrangler-4.47.0
deps(deps-dev): bump wrangler from 4.35.0 to 4.47.0
2025-11-17 19:32:51 +08:00
dependabot[bot] ad0aa07083 ci(deps): bump actions/attest-build-provenance from 2 to 3
Bumps [actions/attest-build-provenance](https://github.com/actions/attest-build-provenance) from 2 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/v2...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-17 11:31:44 +00:00
dependabot[bot] 8554732379 deps(deps-dev): bump wrangler from 4.35.0 to 4.47.0
Bumps [wrangler](https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler) from 4.35.0 to 4.47.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.47.0/packages/wrangler)

---
updated-dependencies:
- dependency-name: wrangler
  dependency-version: 4.47.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-17 11:29:34 +00:00
xixu-me 84a9094463 Merge pull request #101 from xixu-me/dependabot/docker/node-25-slim
deps(deps): bump node from 22-slim to 25-slim
2025-11-17 19:29:08 +08:00
dependabot[bot] e031a45fe7 deps(deps): bump node from 22-slim to 25-slim
Bumps node from 22-slim to 25-slim.

---
updated-dependencies:
- dependency-name: node
  dependency-version: 25-slim
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-17 11:24:43 +00:00
xixu-me 73f6e58be8 Update workflows and dependabot config
Added npm and Docker support to dependabot.yml. Updated deploy and image workflows to use latest actions/checkout and set timeouts. Renamed and improved sync workflow to exclude docs and tests, and updated file copy logic.
2025-11-17 19:18:57 +08:00
xixu-me 130cb34bde Refactor Pages deployment workflows
Remove legacy EdgeOne Pages deployment and sync workflows, and add a new unified sync-worker-to-page.yml workflow for converting and syncing Worker code to a Pages-compatible branch. This streamlines the deployment process and updates the automation to use a more standard Cloudflare Pages Functions handler and configuration.
2025-11-17 18:54:28 +08:00
xixu-me 0215802799 Add workflow_dispatch trigger to sync-to-pages
Enables manual triggering of the sync-to-pages GitHub Actions workflow by adding the workflow_dispatch event.
2025-11-17 18:34:55 +08:00
xixu-me ef797b4a5b Add EdgeOne Pages deployment and sync workflows
Introduces two GitHub Actions workflows: one for deploying the 'pages' branch to EdgeOne Pages, and another for auto-syncing and converting the main Worker codebase to the 'pages' branch. This enables automated deployment and compatibility with EdgeOne Pages, including conversion steps, configuration, and branch management.
2025-11-17 18:33:05 +08:00
xixu-me b1239ed2a7 Update deployment URL to use server IP 2025-11-17 00:11:34 +08:00
xixu-me c2e49b17a4 Change deployment URL in README
Updated the deployment URL to use server IP instead of localhost.
2025-11-17 00:10:25 +08:00
xixu-me 07ca61d7e7 Merge pull request #99 from xixu-me/revert-98-claude/convert-worker-to-page-01DE45LDeFDo6Fre2ZPSq6Ng
Revert "Convert Cloudflare Worker to Cloudflare Pages"
2025-11-16 23:30:16 +08:00
xixu-me 3b1ee1cd2e Revert "Convert Cloudflare Worker to Cloudflare Pages" 2025-11-16 23:29:53 +08:00
xixu-me 5e9c965218 Merge pull request #98 from Jane-o-O-o-O/claude/convert-worker-to-page-01DE45LDeFDo6Fre2ZPSq6Ng
Convert Cloudflare Worker to Cloudflare Pages
2025-11-16 23:26:13 +08:00
Claude eabf0782d4 Convert Cloudflare Worker to Cloudflare Pages
This commit converts the entire Xget application from a Cloudflare Worker
to a Cloudflare Page, enabling static asset hosting while maintaining all
existing functionality.

Changes:
- Add functions/[[path]].js: Catch-all Pages Function handler
- Add public/index.html: Landing page with Xget information
- Update src/index.js: Export handleRequest for Pages Function import
- Update wrangler.toml: Configure for Pages deployment
- Update package.json: Change scripts to use Pages commands
- Update vitest.config.js: Include functions/ in coverage
- Update .github/workflows/depoly.yml: Deploy to Pages
- Update documentation: CLAUDE.md, README.md, README.en.md

The conversion maintains full backward compatibility with existing tests
and functionality. All caching strategies, security headers, and protocol
handling remain unchanged.
2025-11-16 15:18:34 +00:00
xixu-me f74850e5a2 Revise and expand project documentation in CLAUDE.md
Updated the CLAUDE.md file to provide a more comprehensive and structured overview of the Xget project. The changes include expanded feature lists, clearer architecture and testing sections, detailed command references, platform support instructions, security considerations, and deployment guidance. The documentation is now more accessible for new contributors and better reflects the current state and best practices of the project.
2025-11-16 21:51:09 +08:00
xixu-me 973daacf2c Update multi-platform support description in README
Revised the README files to clarify that multi-platform support covers mainstream platforms in various development scenarios, improving the accuracy of the feature description.
2025-11-16 21:03:37 +08:00
xixu-me ef3dec1754 Improve cache handling and error resilience
Enhances cache logic to ensure compatibility with non-Cloudflare environments by checking for cache API availability. Refactors cache key construction to always use GET method, adds error handling for cache operations, and ensures only GET requests are cached. Improves robustness and prevents runtime errors when cache API is unavailable.
2025-11-16 20:50:13 +08:00
xixu-me 5a6ae81a9a Add GPLv3 license headers to source files
Added GNU General Public License v3 headers to index.js, config/index.js, and config/platforms.js to clarify licensing and copyright information.
2025-11-16 19:46:48 +08:00
xixu-me cadf5b1275 Add Podman support and update badges in docs
Added Podman deployment instructions and badges to both English and Chinese README files. Updated several badge colors for consistency. Introduced new scripts for badge color fixes. Updated dependencies in package.json and package-lock.json. Added scripts/README.md and scripts/fix-badge-colors.js for badge management.
2025-11-16 19:31:19 +08:00
xixu-me 43fb0534ff Add attestations permission to workflow
Grants the workflow 'attestations: write' permission, likely to enable the creation or management of attestations during the job execution.
2025-11-16 18:12:03 +08:00
xixu-me 73108629fc Update Docker workflow and badges in README files
Added Docker badge and updated Cloudflare Workers badge links in both English and Chinese README files. In the GitHub Actions workflow, assigned an id to the Docker build-and-push step and updated the provenance attestation to use the correct digest output.
2025-11-16 18:09:48 +08:00
xixu-me ad2bf1933c Update docs, Dockerfile, and CI for container registry support
Expanded documentation in both English and Chinese READMEs to include detailed container registry acceleration usage and deployment instructions. Refactored Dockerfile to use a multi-stage build with workerd for self-hosted deployment. Improved .dockerignore for cleaner builds. Updated GitHub Actions workflows to refine path ignores and metadata extraction. Added config.capnp for workerd configuration. Removed obsolete .html file and enhanced CLAUDE.md with comprehensive architecture and development guidance.
2025-11-16 17:46:48 +08:00
xixu-me 04410291e2 Merge pull request #97 from xixu-me/dependabot/npm_and_yarn/npm_and_yarn-3c67cbb9cd
chore(deps-dev): bump js-yaml from 4.1.0 to 4.1.1 in the npm_and_yarn group across 1 directory
2025-11-16 15:22:16 +08:00
dependabot[bot] e15aa360eb chore(deps-dev): bump js-yaml
Bumps the npm_and_yarn group with 1 update in the / directory: [js-yaml](https://github.com/nodeca/js-yaml).


Updates `js-yaml` from 4.1.0 to 4.1.1
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/4.1.0...4.1.1)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 4.1.1
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-16 07:16:33 +00:00
xixu-me 699d85180b Add DartNode badge to README
Appended a 'Powered by DartNode' badge with a link and image to the end of the README to acknowledge infrastructure support.
2025-11-16 11:56:38 +08:00
xixu-me 6e5eb6878d Update disclaimers and contribution/contact info in docs
Revised the disclaimer sections in both README files for clarity, legal accuracy, and broader coverage of use cases. Updated CONTRIBUTING.md to improve language consistency and removed references to GitHub Discussions. Removed author contact and sponsorship sections from the README files.
2025-11-15 17:32:02 +08:00
xixu-me f187e22934 Fix misplaced closing div in README files
Moved the closing </div> tag to the correct position in both README.en.md and README.md to ensure proper HTML structure in the badges section.
2025-11-15 12:52:09 +08:00
xixu-me 5168db3f8c Reorder badges and Trendshift banner in README files
Moved the Trendshift banner above the badges and adjusted the README headers for better visual hierarchy in both English and Chinese README files.
2025-11-15 12:51:12 +08:00