How to talk to the local gateway from a website?


There used to be window.ipfs, but that’s been disabled for some time now.

I’m looking for a way to call pubsub publish and subscribe from my local gateway to my browser and vice-versa.

Note that i’m specifically not looking for the webrtc-star stuff. I want bi-directional node <> browser communication. Not browser <> browser communication.