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

"Send to" for Open Brush and other apps #112

Open
andybak opened this issue Dec 16, 2024 · 0 comments
Open

"Send to" for Open Brush and other apps #112

andybak opened this issue Dec 16, 2024 · 0 comments
Assignees
Milestone

Comments

@andybak
Copy link
Contributor

andybak commented Dec 16, 2024

Open Brush listens on port 40074 and you can do the following:

http://localhost:40074/api/v1?model.webimport=https://s3.us-east-005.backblazeb2.com/icosa-gallery/poly/dLHpzNdygsg/Astronaut.glb

Poly.pizza uses this for it's "send to" feature:
image

We have a server listener plugin for Blender as well that works in a similar way.

https://gist.github.com/andybak/f695b2f7f703b1f71bafcb935109f6b4

That also has a "ping" endpoint so a further refinement could be to disable the button (or link to instructions) if Open Brush / Blender etc is not detected.

We need to consider security here as any link on any website can send messages to a running app. Open Blocks has a few restrictions to mitigate this but we should have a hard think about realistic attack vectors.

@andybak andybak added this to the 9 - Some Day milestone Dec 16, 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

2 participants