Skip to content

feat(net): route all server egress through forward proxy - #20

Open
harusharu wants to merge 4 commits into
mainfrom
feat/forward-proxy
Open

feat(net): route all server egress through forward proxy#20
harusharu wants to merge 4 commits into
mainfrom
feat/forward-proxy

Conversation

@harusharu

@harusharu harusharu commented Aug 20, 2026

Copy link
Copy Markdown
Owner

Summary

  • feat(net): add zero-dep Node forward proxy (server/forward-proxy.mjs) and a proxy layer (src/lib/net/proxy.ts) that routes all server-side egress (provider scrapes, sandbox fetch, media proxy reads) through HTTP_PROXY/HTTPS_PROXY when set
  • feat(ui): add site footer with GitHub / issue / license links
  • chore: tooling tidy + skill fixture data regen + caveman-commit skill

Why

Some provider CDNs (Aliyun OSS behind themoviebox.org, modpro.blog hubs) 403 Vercel datacenter IPs. Routing egress through a residential-IP forward proxy makes those sources reachable.

Testing

pnpm typecheck and pnpm lint both pass.

Provider CDNs (Aliyun OSS, modpro.blog hubs) 403 Vercel datacenter
IPs, so scrapes and media reads fail from Vercel. Add a zero-dep
Node forward proxy (server/forward-proxy.mjs) and a proxy layer
(src/lib/net/proxy.ts) turning HTTP_PROXY/HTTPS_PROXY into an undici
ProxyAgent and axios proxy config. Provider fetches, sandbox fetch,
and the media proxy all route through it; with no proxy env egress
is untouched.
- biome ignores .agents; drop trailing commas in skill example
- gitignore dist/; refresh generated next-env.d.ts
- reformat ui-ux-pro-max data/fixtures JSON
- allow esbuild build script in workspace
@vercel

vercel Bot commented Aug 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
harustream Ready Ready Preview Aug 20, 2026 11:13am

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