In 2013, I developed a Chrome packaged app to help connect the Oculus Rift DK1 with browser-based VR environments.
At the time, this was done to help bridge a gap in Web VR technologies:
oculus-bridge was a tool that used WebSockets to stream orientation data, but at the cost of poor latency.
Note: This effort has been completely replaced by modern WebVR technologies, and is here provided only for historical reference.
The source for Cupola can be found here.