You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Plan to replace the current hard process exit (`hard-exit.js`) with a proper, graceful shutdown of the WebRTC stack once upstream issues in the dependency are resolved/worked around. The hard-exit is a temporary measure due to known problems in `node-webrtc` (see [#35](https://github.com/WonderInventions/node-webrtc/issues/35), [#36](https://github.com/WonderInventions/node-webrtc/issues/36), [#37](https://github.com/WonderInventions/node-webrtc/issues/37)). The goal is to reliably close data channels/peer connections, tear down transports, and let the process exit cleanly without forcing it.
115
+
113
116
***Custom endpoints via config file**
114
117
Support a user config (e.g., `~/.config/noisytransfer/config.json`, or `%APPDATA%\NoisyTransfer\config.json` on Windows) to override network endpoints and auth:
115
118
116
119
```jsonc
117
-
{
118
-
// planned fields
119
-
"relay":"wss://rvz.example.com/relay",
120
-
"api":"https://rvz.example.com",
121
-
"headers": { "Authorization":"Bearer …" }
122
-
}
123
-
```
120
+
{
121
+
// planned fields
122
+
"relay":"wss://rvz.example.com/relay",
123
+
"api":"https://rvz.example.com",
124
+
"headers": { "Authorization":"Bearer …" }
125
+
}
126
+
````
124
127
125
128
The CLI will use built-in defaults when the file is absent. A matching set of env vars may be recognized too.
126
129
130
+
127
131
***Explicit endpoint flags (optional override)**
128
132
After config lands, we may re-introduce CLI overrides like `--relay/--api/--headers`for advanced users and scripts.
129
133
*(In the current release these flags are intentionally disabled.)*
@@ -134,10 +138,10 @@ Status: currently disabled/broken; will be re-enabled with proper tests.
134
138
***`--stdin-name` (re-enable)**
135
139
When sending from stdin (`nt send -`), allow announcing a filename for the receiver:
136
140
137
-
```bash
138
-
cat report.pdf | nt send - --stdin-name report.pdf
139
-
# default would be "stdin.bin" if omitted
140
-
```
141
+
```bash
142
+
cat report.pdf | nt send - --stdin-name report.pdf
0 commit comments