@@ -100,6 +100,27 @@ enable-ebt = false
100
100
promisc = false
101
101
# Disable the UNIX socket RPC interface
102
102
nounixsock = false
103
+
104
+
105
+
106
+ [sbotcli ]
107
+ # SHS Key (default: 1KHLiKZvAvjbY1ziZEHMXawbCEIM6qwjCDm3VYRan/s=)
108
+ shscap = " 1KHLiKZvAvjbY1ziZEHMXawbCEIM6qwjCDm3VYRan/s="
109
+
110
+ # TCP address of the sbot to connect to (or listen on) (default: localhost:8008)
111
+ addr = " localhost:8008"
112
+
113
+ # The remote pubkey you are connecting to (by default the local key)
114
+ remotekey = " "
115
+
116
+ # Secret key file (default: ~/.ssb-go/secret)
117
+ key = " ~/.ssb-go/secret"
118
+
119
+ # If set, Unix socket is used instead of TCP (default: ~/.ssb-go/socket)
120
+ unixsock = " ~/.ssb-go/socket"
121
+
122
+ # Pass a duration (like 3s or 5m) after which it times out (empty string to disable) (default: 45s)
123
+ timeout = " 45s"
103
124
```
104
125
105
126
## Environment Variables
@@ -114,6 +135,7 @@ SSB_CONFIG_FILE="~/.ssb-go-config.toml" ./go-sbot
114
135
### Environment variable listing
115
136
116
137
``` sh
138
+ // === for go-ssb ===
117
139
SSB_DATA_DIR=" /var/lib/ssb-server"
118
140
SSB_CONFIG_FILE=" /etc/ssb-server/config"
119
141
SSB_LOG_DIR=" /var/log/ssb-server"
@@ -142,6 +164,16 @@ GO_SSB_REPAIR_FS=no
142
164
// SSB_LOG_LEVEL=" info" currently not implemented
143
165
// SSB_CAP_INVITE_KEY=" " currently not implemented
144
166
// SSB_SOCKET_ENABLED=no currently not implemented
167
+
168
+
169
+
170
+ // === for sbotcli ===
171
+ SSB_CAP_SHS_KEY=" 1KHLiKZvAvjbY1ziZEHMXawbCEIM6qwjCDm3VYRan/s="
172
+ SSB_ADDR=" localhost:8008"
173
+ SSB_REMOTE_KEY=" "
174
+ SSB_KEY=" ~/.ssb-go/secret"
175
+ SSB_UNIX_SOCK=" ~/.ssb-go/socket"
176
+ SSB_TIMEOUT=" 45s"
145
177
```
146
178
147
179
## Inspecting configured values
0 commit comments