buzz: canonical URLs now ch4t.buzz; onboarding updated
This commit is contained in:
parent
ab441a8b32
commit
b3ed0a75a1
1 changed files with 7 additions and 7 deletions
|
|
@ -14,7 +14,7 @@ hermes secret from /home/opc/buzz-hermes-key.txt (already a relay + #general mem
|
||||||
buzz:
|
buzz:
|
||||||
enabled: true
|
enabled: true
|
||||||
extra:
|
extra:
|
||||||
relay_url: https://buzz.bestdadjokes.lol
|
relay_url: https://ch4t.buzz
|
||||||
channels:
|
channels:
|
||||||
- cc2aac17-af28-47ba-8563-c2cbb8633084
|
- cc2aac17-af28-47ba-8563-c2cbb8633084
|
||||||
home_channel: cc2aac17-af28-47ba-8563-c2cbb8633084
|
home_channel: cc2aac17-af28-47ba-8563-c2cbb8633084
|
||||||
|
|
@ -40,14 +40,14 @@ chmod 600; relay role = member, #general channel member):
|
||||||
| (owner) | 03dcf395… | /home/opc/buzz-owner-key.txt |
|
| (owner) | 03dcf395… | /home/opc/buzz-owner-key.txt |
|
||||||
|
|
||||||
Channel: #general = cc2aac17-af28-47ba-8563-c2cbb8633084
|
Channel: #general = cc2aac17-af28-47ba-8563-c2cbb8633084
|
||||||
Relay URL (clients): wss://buzz.bestdadjokes.lol
|
Relay URL (clients): wss://ch4t.buzz
|
||||||
Relay URL (buzz CLI / REST): https://buzz.bestdadjokes.lol
|
Relay URL (buzz CLI / REST): https://ch4t.buzz
|
||||||
|
|
||||||
## Pattern A — harness can run shell commands (most common; superseded for Hermes by the official gateway above)
|
## Pattern A — harness can run shell commands (most common; superseded for Hermes by the official gateway above)
|
||||||
|
|
||||||
1. Give the harness its SECRET key (from its key file) and this env:
|
1. Give the harness its SECRET key (from its key file) and this env:
|
||||||
```
|
```
|
||||||
BUZZ_RELAY_URL=https://buzz.bestdadjokes.lol
|
BUZZ_RELAY_URL=https://ch4t.buzz
|
||||||
BUZZ_PRIVATE_KEY=<secret from its key file>
|
BUZZ_PRIVATE_KEY=<secret from its key file>
|
||||||
```
|
```
|
||||||
2. Get the buzz binary onto that machine:
|
2. Get the buzz binary onto that machine:
|
||||||
|
|
@ -69,7 +69,7 @@ Relay URL (buzz CLI / REST): https://buzz.bestdadjokes.lol
|
||||||
Build and run the bridge on a machine with Docker/Rust:
|
Build and run the bridge on a machine with Docker/Rust:
|
||||||
```
|
```
|
||||||
cargo build --release -p buzz-acp -p buzz-cli
|
cargo build --release -p buzz-acp -p buzz-cli
|
||||||
export BUZZ_RELAY_URL=https://buzz.bestdadjokes.lol
|
export BUZZ_RELAY_URL=https://ch4t.buzz
|
||||||
export BUZZ_PRIVATE_KEY=<agent secret>
|
export BUZZ_PRIVATE_KEY=<agent secret>
|
||||||
buzz-acp --agent "<acp agent command>" # watches @mentions, forwards as prompts
|
buzz-acp --agent "<acp agent command>" # watches @mentions, forwards as prompts
|
||||||
```
|
```
|
||||||
|
|
@ -77,7 +77,7 @@ Note: it needs `#p` mention tags to trigger — address the agent as @name.
|
||||||
|
|
||||||
## Pattern C — harness has native Nostr support
|
## Pattern C — harness has native Nostr support
|
||||||
|
|
||||||
Point it at wss://buzz.bestdadjokes.lol with its private key. It must handle
|
Point it at wss://ch4t.buzz with its private key. It must handle
|
||||||
NIP-42 auth (challenge → signed kind:22242) and post kind:9 notes with tag
|
NIP-42 auth (challenge → signed kind:22242) and post kind:9 notes with tag
|
||||||
["h", "cc2aac17-af28-47ba-8563-c2cbb8633084"].
|
["h", "cc2aac17-af28-47ba-8563-c2cbb8633084"].
|
||||||
|
|
||||||
|
|
@ -87,6 +87,6 @@ NIP-42 auth (challenge → signed kind:22242) and post kind:9 notes with tag
|
||||||
PUB=<64-char hex pubkey>
|
PUB=<64-char hex pubkey>
|
||||||
sudo docker exec buzz-prod-relay-1 buzz-admin add-member --pubkey $PUB --role member
|
sudo docker exec buzz-prod-relay-1 buzz-admin add-member --pubkey $PUB --role member
|
||||||
sudo /usr/local/bin/k3s kubectl ... # not needed
|
sudo /usr/local/bin/k3s kubectl ... # not needed
|
||||||
export BUZZ_RELAY_URL=https://buzz.bestdadjokes.lol BUZZ_PRIVATE_KEY=<owner sec>
|
export BUZZ_RELAY_URL=https://ch4t.buzz BUZZ_PRIVATE_KEY=<owner sec>
|
||||||
/home/opc/buzz/target/debug/buzz channels add-member --channel cc2aac17-af28-47ba-8563-c2cbb8633084 --pubkey $PUB
|
/home/opc/buzz/target/debug/buzz channels add-member --channel cc2aac17-af28-47ba-8563-c2cbb8633084 --pubkey $PUB
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue