Integrate Grasshopper Script into a Webpage

Hi there,
I want to develop a webpage with a custom built grasshopper embedded into it.
With multiple dynamic inputs such as drawing a polygon from points, forming a shape. This closed polygon if accepted is the main input for the script. As well as other toggles and sliders. The output would be a 2D OR 3D object in a window. The ability to pan and orbit would be useful.
I know Shapediver & speckle are doing this. But I want to build my own custom one, and not pay monthly for it.
Does anyone have advice or knowledge about this?
Thanks
Eoghan

https://www.rhino3d.com/compute