Can Hops run on web, like google cloud?

Hi everyone,
I wonder if Hops can run on google cloud, sinice google cloud supports the flask. If yes, that will be so exciting!
Thanks!

It can be run on a server. I remember somebody showing a demo of it running on Heroku a while back, although you might need more control than what Google Cloud may offer, since you have to be able to install some packages other than Flask with pip for hops to work, namely ghhops_server and rhino3dm.

2 Likes

Thank you so much, @diff-arch!
Your reply gives more confidence!

What are you hoping to be able to do or see done?

Thank you so much, @stevebaer, for your kind help!
I have working-cooperaters in far locations. We are doing a reconstruction project using Rhino with Grasshopper. The Grasshopper files are always updating in several key functions. That’s a time-consuming work for the cooperater to update there files each time.
My hopes: if I can put these key functions in Hops, and run the Hops in google cloud, these guys can connect to the google cloud and use the updating functions automatically.
I wish I am clear on my idea.
Thanks again.

Hops currently can read from URLs that are open to the public. For example this URL can be used by Hops
https://github.com/mcneel/compute.rhino3d/raw/master/src/hops/definitions/SpikeyThing.gh

This is because the github repo is open to the public.

Hops does not currently support private URLs where you need to perform some action like logging in. This can be added to Hops at some point in the future.

2 Likes

I tried and it really works!
Thank you so much, @stevebaer!!
And it dosen’t matter how many persons are connecting to this URL, right?

It does not matter. You are just informing the backend rhino.compute where it needs to read a gh definition from.

1 Like