Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proxy satellite #83

Open
progrium opened this issue Jan 24, 2024 · 0 comments
Open

proxy satellite #83

progrium opened this issue Jan 24, 2024 · 0 comments
Assignees

Comments

@progrium
Copy link
Contributor

progrium commented Jan 24, 2024

Some Wanix domains/deployments might need Internet access that is unavailable from the browser due to CORS. A local dev server can provide this kind of proxying in development, but in production you would need a proxy to run somewhere public. Ideally it would be something you can run cheaply or free as a Cloudflare Worker for example. This "satellite" pattern can be used to support other services in the future that can't be done in a purely browser constrained environment.

Initially this satellite service would just be used for CORS proxying from allowed Wanix domains to allowed domains (like github.com). Although this would be trivial to write in JavaScript for Cloudflare Workers, it would be nice to write it in Go to share code with the CLI (#82) and maintain a project focus on Go. The CLI could even be used to deploy this satellite, especially if we constrain it to Cloudflare initially.

@progrium progrium added this to the 0.2 milestone Jan 24, 2024
@progrium progrium removed this from the 0.2 milestone Mar 27, 2024
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

No branches or pull requests

1 participant