hossameldeen / whisper-cli-chat Goto Github PK
View Code? Open in Web Editor NEWA cmd chat app built on top of Ethereum's Whisper protocol
A cmd chat app built on top of Ethereum's Whisper protocol
Currently, all logging is done through console.log
, turning it on & off through commenting & uncommenting.
An issue for tracking places where in code that retrieve remote resources & these remote resources may be different depending on when the command is run.
package.json
.FROM
s in Dockerfile
.git clone
in Dockerfile
.apk add
in Dockerfile
. --no-cache
has no effect on docker cache.apt-get update && apt-get install ...
in Dockerfile
. Again, this has no effect on docker cache. Docker cache makes a string comparison.Currently, we're dealing with version locking in an inconsistent way: sometimes we lock against a certain version & sometimes we don't. No decision has been taken yet for which direction to go.
There must be some way of peer discovery in any decentralized. In Whisper, this peer discovery is done through peers connecting to a so-called boostrap node.
For the purposes of the chat-app task, the 2 peers need a bootstrap node to discover each other/to be part of the same whisper network. There're 3 options for such bootstrap node:
1- Use a publicly-available one.
2- Create a public server dedicated for the chat app.
3- Make one of them act as the bootstrap node.
For 1: couldn't find one that is working (didn't look much). Also, I expose the peers' IPs to this public one & don't know if it's evil. Not worth it especially it's just a PoC.
For 2: fakess.
For 2 & 3, especially 3: since the numbers of users is too low (just them in 3), I think all advantages of Whisper are practically lost.
For 3: a bit negative UX for requiring one of them to enter the IP/some info of the other.
Since it's a PoC (Proof-of-Concept) & we don't want any kind of risk, will go with 3.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.