Skip to content

A simple text chat in React (Typescript) powered by Waku (a P2P protocol)

Notifications You must be signed in to change notification settings

guillempuche/simple_text_chat_powered_by_waku

Repository files navigation

Simple chat using Waku protocol

Elementary chat sends and receives messages from the other peers connected to the same topic and you who is online in real time.

Screenshot of the chat: first user is typing something Screenshot of the chat: second receive message and reply

Steps to run the chat

  1. Install the packages running the following command on the terminal npm i.
  2. Open two terminals.
  3. From the root of the project, run npm start on each of the two terminals.
  4. Open two tabs on the browser:
    1. The first one opening http://localhost:3000
    2. The second one opening http://localhost:3001
  5. You can chat.

To-do

  • Save messages in the local storage only during the session of the user.
  • After some time (15 minutes), delete the oldest online users.

Resources

About

A simple text chat in React (Typescript) powered by Waku (a P2P protocol)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published