mirror of
https://github.com/logos-messaging/logos-messaging-frontend.git
synced 2026-01-02 13:53:13 +00:00
Waku Frontend
The chat application to use The Waku Network.
Why
- a PoC to battle test The Waku Network.
- create user experience with REST API / WebSocket
- facilitate the developer adoption of Waku protocols
- split concern to harden the protocol stabliity with C/S model
- incubate app based sync protocol
Notes: This project is still in the early stage of development, and the data is not persistent, you may lose the message history any time.
Features
Public community chat
The public chat room is open to everyone who knows the community name. The content is not encrypted.
Plans
- WebSocket to support real-time chat
- End-to-end encryption for 1to1 chat
Development
Locally
npm install
npm run dev
Docker
docker build -t waku-frontend .
docker run -p 5173:5173 waku-frontend
And go to http://localhost:5173.
Caddy configuration
your-domain.com {
@cors_preflight {
method OPTIONS
}
respond @cors_preflight 204
header {
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET,POST,OPTIONS,HEAD,PATCH,PUT,DELETE
Access-Control-Allow-Headers User-Agent,Content-Type,X-Api-Key
Access-Control-Max-Age 86400
}
reverse_proxy :8645
}
Depend APIs
- /relay/v1/auto/messages
- /store/v1/messages
Known Issues
- https://github.com/waku-org/nwaku/issues/2615, temporary fix is set pageSize to
300.
Description
Languages
TypeScript
84.9%
JavaScript
7.4%
CSS
4.9%
Dockerfile
1.7%
HTML
1.1%