Skip to content

Add configurable binary mirror host for restricted networks#288

Open
krmorse wants to merge 1 commit into
samizdatco:mainfrom
krmorse:main
Open

Add configurable binary mirror host for restricted networks#288
krmorse wants to merge 1 commit into
samizdatco:mainfrom
krmorse:main

Conversation

@krmorse

@krmorse krmorse commented Apr 17, 2026

Copy link
Copy Markdown

Fixes #287

Summary

  • Adds support for redirecting the prebuilt binary download to an internal mirror via SKIA_CANVAS_BINARY_HOST env var or --skia_canvas_binary_host_mirror npm config flag
  • Falls back to the default GitHub Releases URL if neither is set
  • Documents the feature in the Installation section of the README

Test plan

  • Install with SKIA_CANVAS_BINARY_HOST set to a mirror and verify the binary is fetched from that host
  • Install with --skia_canvas_binary_host_mirror flag and verify the binary is fetched from that host
  • Install without either set and verify default behavior is unchanged

🤖 Generated with Claude Code

Resolves samizdatco#287

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@krmorse

krmorse commented Apr 21, 2026

Copy link
Copy Markdown
Author

apparently npm 11/12 is changing the way these flags work too, so worth some additional thought there...

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.

Feature request: configurable prebuilt download host (flag and/or env)

1 participant