491062154b
The node already leaks IP by using store. There would be some advantages to use relay to send messages but not as much as if only relay was used. |
||
---|---|---|
.. | ||
public | ||
src | ||
.env | ||
.gitignore | ||
.pnpmfile.cjs | ||
.prettierignore | ||
README.md | ||
buf.gen.yaml | ||
buf.yaml | ||
package.json | ||
pnpm-lock.yaml | ||
tsconfig.json |
README.md
Web Chat App
Demonstrates:
- Group chat
- React/TypeScript
- Waku Filter
- Waku Light Push
- Waku Store
A ReactJS chat app is provided as a showcase of the library used in the browser. It implements Waku v2 Toy Chat protocol. A deployed version is available at https://js-waku.wakuconnect.dev/examples/web-chat/.
To run a development version locally, do:
git clone https://github.com/status-im/js-waku/ ; cd js-waku
npm install # Install dependencies for js-waku
npm run build # Build js-waku
cd examples/web-chat
npm install # Install dependencies for the web app
npm run start # Start development server to serve the web app on http://localhost:3000/js-waku
Use /help
to see the available commands.