Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPFS configuration/example? #66

Open
andre-dietrich opened this issue Mar 22, 2024 · 3 comments
Open

IPFS configuration/example? #66

andre-dietrich opened this issue Mar 22, 2024 · 3 comments

Comments

@andre-dietrich
Copy link

What a beautiful piece of art and I am sad, that I did not discover it earlier ... All the examples/connections work like charm, but I could not create a working IPFS connection. Maybe this needs some additional configuration that I am not aware of? I would like to embed your work into our OER (Open Educational Resource) - Project, which is called LiaScript. It is an extension to markdown, that is directly interpreted within the browser. Here is a little demo of how we create classrooms, that sync the states (quizzes, survey, collaborative editors, chats...) between browsers ...

https://www.youtube.com/watch?v=Kjk6OblugXI

and I would like to have a running IPFS solution 🙈

Thank you anyways for this great project ...

@dmotz
Copy link
Owner

dmotz commented Apr 9, 2024

Your project sounds very interesting. Sadly IPFS tends to be the least reliable connection strategy in Trystero as of late. I recommend trying one of the more reliable strategies like Nostr. If you're committed to using IPFS and want to share any knowledge, please let me know if there's any way to improve Trystero's IPFS bootstrap settings -- right now it's using Waku's.

@andre-dietrich
Copy link
Author

I already had integrated all of your other services ... after testing it seems that some browsers get a connection via IPFS while other cannot connect, Firefox does not connect at all, while Opera is pretty good ...

Nevertheless, thanks for this library ... looking forward to add new services ;-)

@hrishioa
Copy link

Awesome project! Took so many wrong turns trying to get p2p set up (Waku, NKN, etc.) before finding this and it works a treat.

For IPFS, I can see what the problem is: Waku is migrating to a new network, and defaultBootstrap doesn't work anymore. You need to specifically connect to the old network with specific bootstrap nodes. I managed to get this working but not sure how long it'll last!

Some resources if you're looking to add it to trystero/next:
Example code that actually works from a workshop
Another working example from their discord

In short this took me a long time to find, but best explains the trouble you're having with IPFS:
CleanShot 2024-05-27 at 19 25 20@2x

If you want to go direct, Helia is a good option but the docs are still not mature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants