Skip to content

Commit a1dd5f5

Browse files
authored
feat: add a TUI interface to rust-peer (#245)
* add tui ui * add polling of events * clean up peer code * all hooked up * clean up system messages * smarter system messages * add tcp * fix channel handling * drop peers when they hang up * fix listen address is not necessarily an external address * add better logging and peer list * add headless, kademlia, relay, dcutr, webrtc, peer discovery * fix clippy * add tui ui * add polling of events * clean up peer code * all hooked up * clean up system messages * smarter system messages * add tcp * fix channel handling * drop peers when they hang up * fix listen address is not necessarily an external address * add better logging and peer list * add headless, kademlia, relay, dcutr, webrtc, peer discovery * fix clippy Signed-off-by: Dave Grantham <[email protected]>
1 parent b0ef55c commit a1dd5f5

File tree

21 files changed

+3013
-697
lines changed

21 files changed

+3013
-697
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Some of the cool and cutting-edge [transport protocols](https://connectivity.lib
2525
| [`js-peer`](./js-peer/) | Browser Chat Peer in TypeScript ||||||
2626
| [`node-js-peer`](./node-js-peer/) | Node.js Chat Peer in TypeScript ||||||
2727
| [`go-peer`](./go-peer/) | Chat peer implemented in Go ||||||
28-
| [`rust-peer`](./rust-peer/) | Chat peer implemented in Rust ||||| |
28+
| [`rust-peer`](./rust-peer/) | Chat peer implemented in Rust ||||| |
2929

3030
✅ - Protocol supported
3131
❌ - Protocol not supported
@@ -42,7 +42,6 @@ There are two ways to connect to a peer:
4242

4343
Load the UI, and enter the multiaddr into the UI. Ensure that it includes the peerID, e.g.`/ip4/192.168.178.21/udp/61838/quic-v1/webtransport/certhash/uEiCQCALYac4V3LJ2ourLdauXOswIXpIuJ_JNT-8Wavmxyw/certhash/uEiCdYghq5FlXGkVONQXT07CteA16BDyMPI23-0GjA9Ej_w/p2p/12D3KooWF7ovRNBKPxERf6GtUbFdiqJsQviKUb7Z8a2Uuuo6MrDX`
4444

45-
4645
## Getting started: Browser JS
4746

4847
### 1. Install dependencies
@@ -84,7 +83,7 @@ cd rust-peer
8483
cargo run
8584
```
8685

87-
This will automatically connect you to the bootstrap node running on [fly.io](https://fly.io).
86+
This will automatically connect you to the bootstrap nodes running on bootstrap.libp2p.io.
8887

8988
To explore more advanced configurations if you e.g. want to set up our own network, try:
9089

rust-peer/.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
target/
22
*.pem
3-
local_key
3+
local.key
4+
local.peerid

0 commit comments

Comments
 (0)