Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
p2pchatter
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
p2pchatter
9y ago
No, you clearly didn't read the annotated source that is linked both from the application and various comments here on this submission. The chat messages are being sent directly to the other party. Why is that? I think this app fits ve
2.
▲
by
p2pchatter
9y ago
What is the difference? You can host files on IPFS just as you can share files.
3.
▲
by
p2pchatter
9y ago
Would have been easy to fix, if this wasn't a demo. Either you use IPNS which are pointers to other data on IPFS. Or you can use DNS to point to IPFS hashes. The results are the same, you end up with a address that can be updated. For
4.
▲
by
p2pchatter
9y ago
Thanks! Exactly what I was thinking and it's much nicer when you can actually learn from the examples! The annotated source Rhapso is talking about is here: https://ipfs.io/ipfs/QmVUvLMxTEaVBpiQBiBBdnv7ZTwt7pv8BxNh
5.
▲
by
p2pchatter
9y ago
Not sure how that would work. You would have to make some transaction on the Ethereum network for other peers to discover you, correct? That kind of makes the barrier to entry a lot harder. On desktop, it's possible to use mDNS et al,
6.
▲
by
p2pchatter
9y ago
Already possible, check out the input in the bottom left. Not very obvious, but it's there already.
7.
▲
by
p2pchatter
9y ago
Yes, system messages got in the way. Try this version without them: https://ipfs.io/ipfs/QmbZVv9q52znhF9wN6GVi55EJQYq2BR6oeTgzVn... If you want to use IPFS, you can either import IPFS as a library (which this applicati
8.
▲
by
p2pchatter
9y ago
No, there is no global database. You just share hashes that you know about, so no matter how many hashes there is, IPFS will still be the same speed.
9.
▲
by
p2pchatter
9y ago
Seems to be a bug with js-ipfs or just a lot of DOM nodes... Not sure how to fix.
10.
▲
by
p2pchatter
9y ago
Hello again everyone! Seems like a lot more people joined the chat and the system messages are kind of getting into the way. I've released a updated version here: https://ipfs.io/ipfs/QmbZVv9q52znhF9wN6GVi55EJQYq2B
11.
▲
by
p2pchatter
9y ago
Hello, I made this! Please try it out and tell me what you think. Annotated source is public here: https://ipfs.io/ipfs/QmVUvLMxTEaVBpiQBiBBdnv7ZTwt7pv8BxNhpPC...
12.
▲
Show HN: Peer-to-peer chat example built with JavaScript IPFS
(ipfs.io)
86 points
by
p2pchatter
9y ago
|
30 comments