js-waku-examples/web-chat
fryorcraken.eth 491062154b
feat: use filter+light push instead of relay
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.
2022-09-02 14:24:20 +10:00
..
public First commit 2022-06-17 10:48:15 +10:00
src feat: use filter+light push instead of relay 2022-09-02 14:24:20 +10:00
.env First commit 2022-06-17 10:48:15 +10:00
.gitignore First commit 2022-06-17 10:48:15 +10:00
.pnpmfile.cjs fix: lock webpack version 2022-08-08 11:13:28 +10:00
.prettierignore First commit 2022-06-17 10:48:15 +10:00
README.md feat: use filter+light push instead of relay 2022-09-02 14:24:20 +10:00
buf.gen.yaml First commit 2022-06-17 10:48:15 +10:00
buf.yaml First commit 2022-06-17 10:48:15 +10:00
package.json chore(deps): re-add process for React env check 2022-09-02 14:24:19 +10:00
pnpm-lock.yaml chore(deps): re-add process for React env check 2022-09-02 14:24:19 +10:00
tsconfig.json First commit 2022-06-17 10:48:15 +10:00

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.