I’d like to write a small proof-of-concept web app that allows upload of files and makes them accessible to the global IPFS network. As I understand this should already be possible using js-ipfs and js-p2p-websocket-star. It was successfully done here: https://github.com/ipfs/in-web-browsers/issues/49
For me this example is not working. See here: https://codepen.io/anon/pen/LrzBLa?editors=0010
This example is adding a random string to js-ipfs and tries to load the resulting hash from the public gateway ipfs.io.
I look at ipfs.swarm.peers and can see that it actually connects to other peers (presumably only other browser peers?).
The gateway times out is not able to fetch the hash generated in the browser.
Does anyone got this working?