Skip to content

Commit 5406f31

Browse files
Update README.md to include server to server piping
1 parent d818c40 commit 5406f31

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@ $ echo '["REQ", "RAND", {"kinds": [1], "limit": 8}]' |
3535
RUST_LOG=info nostcat wss://relay.damus.io
3636
```
3737

38+
Pipe events from one server to another (currently limited to 1 event at a time)
39+
```shell
40+
echo '["REQ", "CID", {"limit": 1}]' | nostcat wss://relay.damus.io |
41+
jq -c 'del(.[1])' |
42+
wss://nostr.ono.re
43+
```
44+
3845
## Getting started
3946
Using Cargo to install (requires ~/.cargo/bin to be in PATH)
4047
```shell

0 commit comments

Comments
 (0)