mirror of
https://github.com/edufeed-org/amb-relay.git
synced 2025-12-09 16:24:33 +00:00
add examples
This commit is contained in:
parent
4ce7ff7da4
commit
532808ff0f
1 changed files with 10 additions and 0 deletions
10
README.md
10
README.md
|
|
@ -6,3 +6,13 @@ Based on the [khatru](https://github.com/fiatjaf/khatru) relay.
|
||||||
- add metadata to your relay and typesense connection info
|
- add metadata to your relay and typesense connection info
|
||||||
- start typesense with `docker compose up`
|
- start typesense with `docker compose up`
|
||||||
- start relay with `go run .`
|
- start relay with `go run .`
|
||||||
|
<<<<<<< HEAD
|
||||||
|
=======
|
||||||
|
|
||||||
|
## Examples
|
||||||
|
|
||||||
|
`nak req --search "pythagoras" ws://localhost:3334 | jq .`
|
||||||
|
|
||||||
|
`nak req -k 30142 -l 2 ws://localhost:3334 | jq .`
|
||||||
|
|
||||||
|
>>>>>>> 73fb230 (add examples)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue