Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upWhat's the alternative if it's "out of date"? #9
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
millette
commented
Nov 17, 2017
•
|
Closest thing I found was mentionned in #5 |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
joehand
Nov 17, 2017
Member
Hey, sorry for the delayed response! Thanks @millette for the assist.
If you are looking to do stuff in the browser, you can use hyperdrive as #5 says via browserify or another module bundler. See a bit more in our docs (under the hood section).
Is this approach permanently discontinued?
It's not discontinued but we found WebRTC performance pretty lacking so we are focusing elsewhere for now.
We also have dat-node if you aren't doing things in the browser.
|
Hey, sorry for the delayed response! Thanks @millette for the assist. If you are looking to do stuff in the browser, you can use hyperdrive as #5 says via browserify or another module bundler. See a bit more in our docs (under the hood section).
It's not discontinued but we found WebRTC performance pretty lacking so we are focusing elsewhere for now. We also have dat-node if you aren't doing things in the browser. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
kaosat-dev
Dec 3, 2017
Hi @joehand I am still a bit confused by the usage of hyperdrive : namely:
- can you use the dat
idsdirectly in hyperdrive(without the dat:// protocol of course) ? - from my understanding of the docs, that would still suffer the same limitation as
dat-jsie only being able to connect to other WebRTC based peers ?
kaosat-dev
commented
Dec 3, 2017
|
Hi @joehand I am still a bit confused by the usage of hyperdrive : namely:
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
joehand
Dec 3, 2017
Member
can you use the dat ids directly in hyperdrive(without the dat:// protocol of course) ?
Yes, the ids used in dat are the same as the hyperdrive id (archive.key).
from my understanding of the docs, that would still suffer the same limitation as dat-js ie only being able to connect to other WebRTC based peers ?
Correct, that is one of the big reasons we moved away from it. You can use electron-webrtc to connect to webrtc clients in node.
Yes, the ids used in dat are the same as the hyperdrive id (
Correct, that is one of the big reasons we moved away from it. You can use electron-webrtc to connect to webrtc clients in node. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
kaosat-dev
Dec 3, 2017
thanks for the quick answers @joehand !
one last question if you do not mind based on
Correct, that is one of the big reasons we moved away from it. You can use electron-webrtc to connect to webrtc clients in node.
This means there is currently no purely client side option to connect to the overall hyperdrive/ dat network at large ?
kaosat-dev
commented
Dec 3, 2017
|
thanks for the quick answers @joehand !
This means there is currently no purely client side option to connect to the overall hyperdrive/ dat network at large ? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
joehand
Dec 6, 2017
Member
This means there is currently no purely client side option to connect to the overall hyperdrive/ dat network at large ?
Correct (ish). Its a bit confusing.
There is not really a dat network "at large," it depends on how clients connect to each other - and you can only connect to clients that speak the same "language". Most of the tools (command line, desktop, beaker) use the same network protocols (tcp, udp, mdns) for discovery and data transfer so they can all co-exist. But none of those work in the browser =(.
To connect to other types of clients from the browser you need a proxy that can connect webrtc clients to tcp/udp clients. That's been in our TODO for awhile but it's harder to prioritize webrtc/browser for our use cases.
Correct (ish). Its a bit confusing. There is not really a dat network "at large," it depends on how clients connect to each other - and you can only connect to clients that speak the same "language". Most of the tools (command line, desktop, beaker) use the same network protocols (tcp, udp, mdns) for discovery and data transfer so they can all co-exist. But none of those work in the browser =(. To connect to other types of clients from the browser you need a proxy that can connect webrtc clients to tcp/udp clients. That's been in our TODO for awhile but it's harder to prioritize webrtc/browser for our use cases. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
carloslfu
Jan 18, 2018
Hello @joehand, is there a list or a roadmap for that? If not, would be useful to have one. I want to contribute with this specific use case. Some thoughts on how to contribute would be appreciated.
carloslfu
commented
Jan 18, 2018
•
|
Hello @joehand, is there a list or a roadmap for that? If not, would be useful to have one. I want to contribute with this specific use case. Some thoughts on how to contribute would be appreciated. |
doraemondrian commentedNov 9, 2017
The first thing this repo says is it's out of date. Is this approach permanently discontinued? Or is there an alternative elsewhere I should look at?
Would love to start playing with Dat!