mirror of
https://github.com/logos-messaging/examples.waku.org.git
synced 2026-01-06 23:03:10 +00:00
rename to relay-direct-chat
This commit is contained in:
parent
87319e95c7
commit
835880c92c
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -20,7 +20,7 @@ jobs:
|
|||||||
web-chat,
|
web-chat,
|
||||||
noise-js,
|
noise-js,
|
||||||
noise-rtc,
|
noise-rtc,
|
||||||
relay-chat
|
relay-direct-chat
|
||||||
]
|
]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
2
ci/Jenkinsfile
vendored
2
ci/Jenkinsfile
vendored
@ -42,7 +42,7 @@ pipeline {
|
|||||||
stage('web-chat') { steps { script { buildExample() } } }
|
stage('web-chat') { steps { script { buildExample() } } }
|
||||||
stage('noise-js') { steps { script { buildExample() } } }
|
stage('noise-js') { steps { script { buildExample() } } }
|
||||||
stage('noise-rtc') { steps { script { buildExample() } } }
|
stage('noise-rtc') { steps { script { buildExample() } } }
|
||||||
stage('relay-chat') { steps { script { buildExample() } } }
|
stage('relay-direct-chat') { steps { script { buildExample() } } }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1,15 +1,15 @@
|
|||||||
# Using Waku Relay WebRTC
|
# Direct WebRTC connection for Waku Relay
|
||||||
|
|
||||||
**Demonstrates**:
|
**Demonstrates**:
|
||||||
|
|
||||||
- Waku Relay node with direct WebRTC connection
|
- Waku Relay node with direct WebRTC connection
|
||||||
- Pure Javascript/HTML.
|
- Pure Javascript/HTML.
|
||||||
|
|
||||||
This example uses Waku Filter to listen to messages and Waku Light Push to send messages.
|
This example uses WebRTC transport and Waku Relay to exchange messages.
|
||||||
|
|
||||||
To test the example run `npm install` and then `npm start`.
|
To test the example run `npm install` and then `npm start`.
|
||||||
|
|
||||||
The `master` branch's HEAD is deployed at https://examples.waku.org/relay-chat/.
|
The `master` branch's HEAD is deployed at https://examples.waku.org/relay-direct-chat/.
|
||||||
|
|
||||||
### Steps to run an example:
|
### Steps to run an example:
|
||||||
1. Get a Waku node that implements `/libp2p/circuit/relay/0.2.0/hop` and `/libp2p/circuit/relay/0.2.0/stop`
|
1. Get a Waku node that implements `/libp2p/circuit/relay/0.2.0/hop` and `/libp2p/circuit/relay/0.2.0/stop`
|
||||||
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
|
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
|
||||||
<title>JS-Waku WebRTC Relay</title>
|
<title>Relay direct chat</title>
|
||||||
<link rel="stylesheet" href="./style.css" />
|
<link rel="stylesheet" href="./style.css" />
|
||||||
<link rel="apple-touch-icon" href="./favicon.png" />
|
<link rel="apple-touch-icon" href="./favicon.png" />
|
||||||
<link rel="manifest" href="./manifest.json" />
|
<link rel="manifest" href="./manifest.json" />
|
||||||
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "Waku Relay WebRTC JS",
|
"name": "Relay direct chat",
|
||||||
"description": "Send messages between several users (or just one) using Relay with direct WebRTC connection.",
|
"description": "Send messages between several users (or just one) using Relay with direct WebRTC connection.",
|
||||||
"icons": [
|
"icons": [
|
||||||
{
|
{
|
||||||
Loading…
x
Reference in New Issue
Block a user