Re:Show HN: Peer-to-peer chat example built with JavaScript ...
by Rhapso on Monday January 22, 2018 @10:55AM
(#16205286)
+100 awesome for the annotated source. A lot of these demos get released as minified JS which makes it kinda useless to use them as a guide or hack on them.
Re:Show HN: Peer-to-peer chat example built with JavaScript ...
by p2pchatter on Monday January 22, 2018 @11:02AM
(#16205365)
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/QmVUvLMxTEaVBpiQBiBBdnv7ZTwt7pv8BxNhpPC...
Re:Show HN: Peer-to-peer chat example built with JavaScript ...
by fiatjaf on Monday January 22, 2018 @09:23PM
(#16210390)
Here we see the problem with using IPFS for, let's say, "dynamic" applications.
Re:Show HN: Peer-to-peer chat example built with JavaScript ...
by p2pchatter on Tuesday January 23, 2018 @04:48AM
(#16212216)
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 this example I didin't use it, as it's just a silly little example.
Please try that version instead! If moderators see this message, please update the link!