Live data from Hacker News

Show HN: A website that converts any IPFS file to HLS and reups it to IPFS

ipfs-converter.com

41–48 of 48 posts

Re: Show HN: A website that converts any IPFS file to HLS and reups it to IPFS

#41
Question from an IPFS noob:

When I run the demo, the video plays as expected. However, I wanted to check the network tab to see what it's doing under the hood.

Based on the description, I expected to see a bunch of HTTP GET requests to ipfs.io, fetching the different segments of the movie. However, instead, I see a varying number of websocket connections to ipfs.team, soundclart.com and libp2p.io.

Could someone explain what is going on here? Is this just another IPFS-to-web proxy (based on websockets instead of http) or is this already part of the HLS streaming mechanism?

Re: Show HN: A website that converts any IPFS file to HLS and reups it to IPFS

#43
post #26
post #25

Earlier quoted context omitted.

No, I don't think it's the first example. https://www.eternum.io/ was one that was before, but I'm sure there are others. We keep a list of some applications and other things over here too: https://awesome.ipfs.io/

"One of" :) I'd argue eternum is not quite at the same level since it just takes an IPFS object as an input (but no IPFS output). Op made a thing that takes an IPFS object as an input and produces a different IPFS object as an output. There are certainly many IPFS-based apps .

I would agree with this, Eternum isn't so much an IPFS-based API as an API for helping with IPFS pinning.

I'd say IPFessay (https://gitlab.com/stavros/IPFessay) is much closer to an IPFS-based API, since it can run entirely on IPFS with no outside servers.

Re: Show HN: A website that converts any IPFS file to HLS and reups it to IPFS

#44
post #41

Question from an IPFS noob: When I run the demo, the video plays as expected. However, I wanted to check the network tab to see what it's doing under the hood. Based on the description, I expected to see a bunch of HTTP GET requests to ipfs.io, fetching the different segments of the movie. However, instead, I see a varying number of websocket connections to ipfs.team, soundclart.com and libp2p.io. Could someone expla…

The ipfs.js library requests the files through WebSocket, and those various domains you see are different IPFS gateways. (for redundancy/latency I'd assume)

Re: Show HN: A website that converts any IPFS file to HLS and reups it to IPFS

#46
post #44
post #41

Question from an IPFS noob: When I run the demo, the video plays as expected. However, I wanted to check the network tab to see what it's doing under the hood. Based on the description, I expected to see a bunch of HTTP GET requests to ipfs.io, fetching the different segments of the movie. However, instead, I see a varying number of websocket connections to ipfs.team, soundclart.com and libp2p.io. Could someone expla…

The ipfs.js library requests the files through WebSocket, and those various domains you see are different IPFS gateways. (for redundancy/latency I'd assume)

Ah, that makes sense. Thanks for the info.

Re: Show HN: A website that converts any IPFS file to HLS and reups it to IPFS

#47
post #40
post #37

Earlier quoted context omitted.

My customer is using ipfs-api-js on their website and it uploads to an ipfs node (in our case Infura). In the future we might run a node if the customer requires it. For now Infura is very convenient. My Saas is fetching from IPFS, then reuploading so that the upload and conversion of the file both could potentially be triggered on the client side. Many Dapp architectures I've seen so far have no backend component.

Oh, so Infura let's you pin stuff for free? How does that work?

As far as I know Infura let's you pin for free yes.
Post reply on HN