Skip to content

feat(site): add bilingual binary patch toolkit#41

Merged
JimmyDaddy merged 1 commit into
mainfrom
feat/binary-patch-toolkit
Jul 20, 2026
Merged

feat(site): add bilingual binary patch toolkit#41
JimmyDaddy merged 1 commit into
mainfrom
feat/binary-patch-toolkit

Conversation

@JimmyDaddy

Copy link
Copy Markdown
Owner

Summary

  • keep the existing homepage structure while adding English and Chinese navigation
  • add a standalone bilingual Binary Patch Toolkit at /tools/ and /zh-CN/tools/
  • support real-file patch creation, apply and verification, patch inspection, SHA-256 reports, resource limits, cancellation, downloads, and Web/React Native code examples
  • integrate the new pages into site generation, canonical metadata, sitemap, documentation navigation, static checks, and browser coverage

Why

The existing Playground demonstrates text and JSON round trips, but users also need a practical way to validate real binary patches. The new toolkit runs the package's own Web Worker and WebAssembly implementation locally, so file contents are not uploaded to a server.

Impact

Users can now generate compatible ENDSLEY/BSDIFF43 patches, restore and verify target files, inspect patch headers, and produce copyable cross-platform compatibility reports directly from the project website.

Validation

  • yarn site:build
  • yarn site:test
  • yarn lint
  • yarn typecheck
  • yarn test --runInBand — 8/8 passed
  • yarn test:web
  • git diff --check origin/main...HEAD
  • manual browser validation of real WASM patch generation, localization, tab/code switching, SHA-256 reporting, and 375px mobile layout

The local Puppeteer launcher remains blocked by the host Chrome debugging-endpoint issue; equivalent real-browser validation passed and automated browser coverage is included for CI.

@JimmyDaddy
JimmyDaddy marked this pull request as ready for review July 20, 2026 02:42
@JimmyDaddy
JimmyDaddy merged commit c77057b into main Jul 20, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant