OrionReed / dom3d

Browser extension to view and debug the DOM in 3D space.
GNU General Public License v3.0
501 stars 11 forks source link

POC: Add proxy as an alternative to Browser extension #20

Open cacosandon opened 5 months ago

cacosandon commented 5 months ago

I've been working with reverse proxies the last week and I think it would be useful to implement one here.

Via NGINX + OpenResty we can:

This PR also includes a Dockerfile to easily run it, and a fly.toml as an example on how to deploy it.

I've deployed one. Here are a few examples:

https://dom3d.fly.dev/p?uri=https://www.cacoos.com/ https://dom3d.fly.dev/p?uri=google.com

This is just a POC. If you think it could be useful, would love to add more docs.

Here you can setup locally:

If you want to deploy, install the flyctl CLI and use fly launch --dockerfile proxy/Dockerfile

Screenshots:

https://dom3d.fly.dev/p?uri=google.com

Screenshot 2024-04-02 at 11 59 26