1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
|
{
"--help": {
"api": [],
"asked": [],
"exit": 0,
"stderr": "",
"stdout": "usage: meshbay-node [-h] [--hub-url HUB_URL] [--username USERNAME] [--dir DIR] [--yes]\n [--config CONFIG] [--group GROUP] [--link] [--writable] [--no-writable]\n [--removable] [--no-removable] [--name NAME]\n [--log-level {DEBUG,INFO,WARNING,ERROR}]\n [{init,reset,status,gek-init,gek,operator,member,group,root,file,video,chat,denylist,stun,transfers,reload,restart-daemon,autostart,service,calibrate-argon2}]\n [subcommand] [target] [value]\n\nMeshBay Node daemon\n\npositional arguments:\n {init,reset,status,gek-init,gek,operator,member,group,root,file,video,chat,denylist,stun,transfers,reload,restart-daemon,autostart,service,calibrate-argon2}\n init: provision config + keystore | reset: erase all node state | status:\n node state and keys | operator pair: pair a browser with this node |\n member list|invite|cancel|revoke|unpin | group list|add|remove | root\n list|add|remove|set|eject|plug | gek init|rotate | file list|rm | video\n rematch: re-resolve TMDB matches for a group's videos | chat\n status|rotate|encrypt-history|prune | denylist show|clear | stun\n list|add|remove|reset | transfers show|set|max-size|per-member: live\n transfer slots, the node-wide caps, the largest single upload, and how\n many one member may run at once in a group | reload: re-read node.toml\n (hot; systemd or the loopback API) | restart-daemon: restart the node\n (systemd unit, the Windows autostart launcher, or the service task,\n whichever applies) | autostart install|remove|start|stop|status (Windows:\n run meshbay-node at each sign-in, no admin) | service\n install|remove|start|stop|status (Windows: run at boot, before sign-in,\n needs admin once to install) | calibrate-argon2: benchmark\n subcommand 'pair' for operator; list|invite|revoke|unpin for member; list|add|remove\n for group; list|add|remove|set|eject|plug for root; init|rotate for gek;\n list|rm for file; rematch for video; show|clear for denylist;\n list|add|remove|reset for stun; show|set|max-size|per-member for\n transfers; install|remove|start|stop|status for autostart and for service\n target username for member invite|revoke|unpin (an e-mail address with --link, a\n link id for member cancel); group name for group add; file id for file rm;\n identifier for denylist clear; download cap for transfers set; size in GB\n for transfers max-size\n value the second value where a verb takes two: the upload cap for transfers set\n\noptions:\n -h, --help show this help message and exit\n --hub-url HUB_URL hub URL, for init (e.g. https://meshbay.org)\n --username USERNAME hub username, for init\n --dir DIR shared directory, for group add\n --yes skip the confirmation for destructive commands\n --config CONFIG Config file path\n --group GROUP group id (optional if only one is configured)\n --link member invite: an invitation link for this e-mail address, for someone who\n may have no account yet\n --writable root accepts member uploads (root add/set)\n --no-writable root is read-only (root add/set, group add)\n --removable mark root as removable (root set/add)\n --no-removable mark root as not removable (root set)\n --name NAME root name (root add; defaults to directory basename)\n --log-level {DEBUG,INFO,WARNING,ERROR}\n",
"systemctl": []
},
"autostart no-such-sub": {
"api": [],
"asked": [],
"exit": 1,
"stderr": "",
"stdout": "autostart is Windows-only — elsewhere use 'systemctl --user enable --now meshbay-node'.\n",
"systemctl": []
},
"autostart status": {
"api": [],
"asked": [],
"exit": 1,
"stderr": "",
"stdout": "autostart is Windows-only — elsewhere use 'systemctl --user enable --now meshbay-node'.\n",
"systemctl": []
},
"chat encrypt-history": {
"api": [],
"asked": [
"re-encrypt now? [y/N] "
],
"exit": 0,
"stderr": "",
"stdout": "This rewrites the only copy of this group's older messages.\nA backup of chat.db is taken first, beside it.\ncancelled\n",
"systemctl": []
},
"chat encrypt-history --yes": {
"api": [
[
"POST",
"/api/groups/gggggggggggggggggggggggggggggggg/chat/encrypt-history",
null
]
],
"asked": [],
"exit": 0,
"stderr": "",
"stdout": "re-encrypted 0 message(s) under epoch 1\nbackup <tmp>/chat.db.bak\n",
"systemctl": []
},
"chat no-such-sub": {
"api": [],
"asked": [],
"exit": 1,
"stderr": "",
"stdout": "usage: meshbay-node chat status|rotate|encrypt-history|prune [--group G]\n",
"systemctl": []
},
"chat prune": {
"api": [],
"asked": [],
"exit": 1,
"stderr": "",
"stdout": "usage: meshbay-node chat prune <days> [--group G]\n",
"systemctl": []
},
"chat prune 30": {
"api": [
[
"POST",
"/api/groups/gggggggggggggggggggggggggggggggg/chat/prune?max_age_days=30",
null
]
],
"asked": [],
"exit": 0,
"stderr": "",
"stdout": "removed 0 message(s) older than 30 day(s)\n",
"systemctl": []
},
"chat rotate": {
"api": [
[
"POST",
"/api/groups/gggggggggggggggggggggggggggggggg/chat/epoch",
null
]
],
"asked": [],
"exit": 0,
"stderr": "",
"stdout": "chat epoch 1 opened\nEveryone still in the group keeps reading the history; whoever left\ncannot read what is written from now on.\n",
"systemctl": []
},
"chat status": {
"api": [
[
"GET",
"/api/groups/gggggggggggggggggggggggggggggggg/chat",
null
]
],
"asked": [],
"exit": 0,
"stderr": "",
"stdout": "encryption always on (MNP 3.4)\nepoch 1\nmessages 0 encrypted, 0 in the clear\n",
"systemctl": []
},
"denylist clear": {
"api": [],
"asked": [
"clear now? [y/N] "
],
"exit": 0,
"stderr": "",
"stdout": "Clearing the denylist re-admits EVERY entry.\nA revocation the hub sent will not come back on its own.\ncancelled\n",
"systemctl": []
},
"denylist clear --yes": {
"api": [
[
"POST",
"/api/denylist/clear?subject=",
null
]
],
"asked": [],
"exit": 0,
"stderr": "",
"stdout": "removed 0 entr(y/ies) (all)\n",
"systemctl": []
},
"denylist no-such-sub": {
"api": [],
"asked": [],
"exit": 1,
"stderr": "",
"stdout": "usage: meshbay-node denylist show|clear [identifier] [--yes]\n",
"systemctl": []
},
"denylist show": {
"api": [
[
"GET",
"/api/denylist",
null
]
],
"asked": [],
"exit": 0,
"stderr": "",
"stdout": "denylist empty — nothing is being refused\n",
"systemctl": []
},
"file list": {
"api": [
[
"GET",
"/api/groups/gggggggggggggggggggggggggggggggg/files",
null
]
],
"asked": [],
"exit": 0,
"stderr": "",
"stdout": "no files indexed\n",
"systemctl": []
},
"file no-such-sub": {
"api": [],
"asked": [],
"exit": 1,
"stderr": "",
"stdout": "usage: meshbay-node file list|rm <id> [--group NAME] [--yes]\n",
"systemctl": []
},
"file rm abc": {
"api": [
[
"GET",
"/api/groups/gggggggggggggggggggggggggggggggg/files",
null
]
],
"asked": [],
"exit": 1,
"stderr": "",
"stdout": "no file whose id starts with 'abc'\n",
"systemctl": []
},
"file rm abc --yes": {
"api": [
[
"GET",
"/api/groups/gggggggggggggggggggggggggggggggg/files",
null
]
],
"asked": [],
"exit": 1,
"stderr": "",
"stdout": "no file whose id starts with 'abc'\n",
"systemctl": []
},
"gek init": {
"api": [
[
"POST",
"/api/groups/gggggggggggggggggggggggggggggggg/gek",
null
]
],
"asked": [],
"exit": 0,
"stderr": "",
"stdout": "GEK ready for gggggggggggggggggggggggggggggggg\n 0 authorized member(s) — each receives the key on connect\n",
"systemctl": []
},
"gek no-such-sub": {
"api": [],
"asked": [],
"exit": 1,
"stderr": "",
"stdout": "usage: meshbay-node gek init|rotate [--group NAME]\n",
"systemctl": []
},
"gek rotate": {
"api": [],
"asked": [
"rotate now? [y/N] "
],
"exit": 0,
"stderr": "",
"stdout": "Rotating replaces this group's key.\n · every member re-receives it automatically on their next connect\n · anyone revoked keeps the OLD key and loses access to new content\n · content already downloaded stays readable to whoever has it\ncancelled\n",
"systemctl": []
},
"gek rotate --yes": {
"api": [
[
"POST",
"/api/groups/gggggggggggggggggggggggggggggggg/gek?rotate=true",
null
]
],
"asked": [],
"exit": 0,
"stderr": "",
"stdout": "GEK ready for gggggggggggggggggggggggggggggggg\n 0 authorized member(s) — each receives the key on connect\n",
"systemctl": []
},
"gek-init": {
"api": [
[
"POST",
"/api/groups/gggggggggggggggggggggggggggggggg/gek",
null
]
],
"asked": [],
"exit": 0,
"stderr": "",
"stdout": "GEK ready for gggggggggggggggggggggggggggggggg\n 0 authorized member(s) — each receives the key on connect\n",
"systemctl": []
},
"group add": {
"api": [],
"asked": [],
"exit": 1,
"stderr": "",
"stdout": "usage: meshbay-node group add <name> --dir <path> [--no-writable]\n\nThe group must already exist on the hub and be yours. This\nonly tells the node to host it, and picks its first\ndirectory, which accepts uploads unless --no-writable.\nAdd more with: meshbay-node root add <path> [--writable]\n",
"systemctl": []
},
"group add g --dir /tmp/media --no-writable": {
"api": [
[
"POST",
"/api/groups/attach",
{
"name": "g",
"shared_dir": "/tmp/media",
"writable": false
}
]
],
"asked": [],
"exit": 0,
"stderr": "",
"stdout": "g (g) added to <tmp>/node.toml\n shared_dir <tmp> (read-only)\n\nTell the daemon to re-read its config, then give the group a key:\n meshbay-node reload\n meshbay-node gek init --group g\n\nThe key is this group's own — members of your other groups cannot\nread it, and joining one says nothing about the other.\n",
"systemctl": []
},
"group list": {
"api": [
[
"GET",
"/api/groups",
null
]
],
"asked": [],
"exit": 0,
"stderr": "",
"stdout": "no groups hosted — add one with: meshbay-node group add <name> --dir <path>\n",
"systemctl": []
},
"group no-such-sub": {
"api": [],
"asked": [],
"exit": 1,
"stderr": "",
"stdout": "usage: meshbay-node group list|add|remove <name>\n",
"systemctl": []
},
"member cancel abababababababababababababababab": {
"api": [
[
"DELETE",
"/api/groups/gggggggggggggggggggggggggggggggg/invite-links/abababababababababababababababab",
null
]
],
"asked": [],
"exit": 0,
"stderr": "",
"stdout": "invitation link abababab cancelled\n",
"systemctl": []
},
"member invite bob": {
"api": [
[
"POST",
"/api/groups/gggggggggggggggggggggggggggggggg/invites?username=bob",
null
]
],
"asked": [],
"exit": 0,
"stderr": "",
"stdout": "INVITATION CODE TEST-CODE\nvalid until \n\nSend it to bob however you normally talk. It works\nonce, for that account only, and never passes through the hub.\nThey enter it the first time they open the group — you do not\nneed to be online then.\n\nalso written to <tmp>/home/.local/share/meshbay/invite-code\n",
"systemctl": []
},
"member invite bob@example.test --link": {
"api": [
[
"POST",
"/api/groups/gggggggggggggggggggggggggggggggg/invite-links?email=bob%40example.test",
null
]
],
"asked": [],
"exit": 0,
"stderr": "",
"stdout": "INVITATION LINK https://example.invalid/#/invite?v=1\nvalid until \ncancel with meshbay-node member cancel abababababababababababababababab\n\nSend it to bob@example.test yourself. It works once, and only for an\naccount registered with that address: they open it, create their\naccount or sign in, and land in the group without typing a code.\n",
"systemctl": []
},
"member list": {
"api": [
[
"GET",
"/api/roster",
null
]
],
"asked": [],
"exit": 0,
"stderr": "",
"stdout": "no members admitted yet\ninvite someone: meshbay-node member invite <username>\n",
"systemctl": []
},
"member no-such-sub": {
"api": [],
"asked": [],
"exit": 1,
"stderr": "",
"stdout": "usage: meshbay-node member no-such-sub <username>\n",
"systemctl": []
},
"member revoke bob": {
"api": [
[
"GET",
"/api/resolve?username=bob",
null
],
[
"POST",
"/api/members/u/revoke?group_id=gggggggggggggggggggggggggggggggg",
null
]
],
"asked": [],
"exit": 0,
"stderr": "",
"stdout": "bob revoked from gggggggg\n",
"systemctl": []
},
"member unpin bob": {
"api": [
[
"GET",
"/api/resolve?username=bob",
null
],
[
"POST",
"/api/members/u/unpin",
null
]
],
"asked": [],
"exit": 0,
"stderr": "",
"stdout": "bob unpinned — they can pair again with a new key\nissue a code: meshbay-node member invite bob\n",
"systemctl": []
},
"member upload": {
"api": [],
"asked": [],
"exit": 1,
"stderr": "",
"stdout": "`member upload` is gone. Uploads are decided per directory now:\n\n meshbay-node root list # which are read-write\n meshbay-node root set <name> --writable # accept uploads there\n meshbay-node root set <name> --no-writable # stop them\n\nA group whose directories are all read-only accepts no uploads at all,\nwhich is what turning the old switch off meant.\n",
"systemctl": []
},
"no-such-verb": {
"api": [],
"asked": [],
"exit": 2,
"stderr": "usage: meshbay-node [-h] [--hub-url HUB_URL] [--username USERNAME] [--dir DIR] [--yes]\n [--config CONFIG] [--group GROUP] [--link] [--writable] [--no-writable]\n [--removable] [--no-removable] [--name NAME]\n [--log-level {DEBUG,INFO,WARNING,ERROR}]\n [{init,reset,status,gek-init,gek,operator,member,group,root,file,video,chat,denylist,stun,transfers,reload,restart-daemon,autostart,service,calibrate-argon2}]\n [subcommand] [target] [value]\nmeshbay-node: error: argument command: invalid choice: 'no-such-verb' (choose from 'init', 'reset', 'status', 'gek-init', 'gek', 'operator', 'member', 'group', 'root', 'file', 'video', 'chat', 'denylist', 'stun', 'transfers', 'reload', 'restart-daemon', 'autostart', 'service', 'calibrate-argon2')\n",
"stdout": "",
"systemctl": []
},
"operator no-such-sub": {
"api": [],
"asked": [],
"exit": 1,
"stderr": "",
"stdout": "usage: meshbay-node operator pair\n",
"systemctl": []
},
"operator pair": {
"api": [
[
"POST",
"/api/operator/pair",
null
]
],
"asked": [],
"exit": 0,
"stderr": "",
"stdout": "PAIRING CODE TEST-CODE\nvalid until \n\nSign in to the web app as this node's operator, open one of your\ngroups, go to the Members tab and enter the code there.\nIt works once, for that account only, and authorizes invites and\nfile deletion from that browser.\n\nalso written to <tmp>/home/.local/share/meshbay/pair-code\n",
"systemctl": []
},
"reload": {
"api": [],
"asked": [],
"exit": 0,
"stderr": "",
"stdout": "sent reload to meshbay-node\nwatch the result: journalctl --user -u meshbay-node -f\n",
"systemctl": [
[
"systemctl",
"--user",
"daemon-reload"
],
[
"systemctl",
"--user",
"reload",
"meshbay-node"
]
]
},
"restart-daemon": {
"api": [],
"asked": [],
"exit": 0,
"stderr": "",
"stdout": "meshbay-node restarted via systemd\ncheck status: systemctl --user status meshbay-node\nwatch logs: journalctl --user -u meshbay-node -f\n",
"systemctl": [
[
"systemctl",
"--user",
"daemon-reload"
],
[
"systemctl",
"--user",
"restart",
"meshbay-node"
]
]
},
"root add": {
"api": [],
"asked": [],
"exit": 1,
"stderr": "",
"stdout": "usage: meshbay-node root add <path> [--name NAME] [--writable] [--removable] [--group NAME]\n",
"systemctl": []
},
"root add /tmp/media --writable --removable": {
"api": [
[
"POST",
"/api/groups/gggggggggggggggggggggggggggggggg/roots",
{
"name": "media",
"path": "/tmp/media",
"removable": true,
"writable": true
}
]
],
"asked": [],
"exit": 0,
"stderr": "",
"stdout": "added root media → /tmp/media (rw, removable)\nreload the daemon to start indexing:\n meshbay-node reload\n",
"systemctl": []
},
"root eject media": {
"api": [
[
"PUT",
"/api/groups/gggggggggggggggggggggggggggggggg/roots/media/eject",
null
]
],
"asked": [],
"exit": 0,
"stderr": "",
"stdout": "ejected root media — files are hidden until plugged back\n",
"systemctl": []
},
"root list": {
"api": [
[
"GET",
"/api/groups",
null
]
],
"asked": [],
"exit": 1,
"stderr": "",
"stdout": "group gggggggg not hosted on this node\n",
"systemctl": []
},
"root no-such-sub": {
"api": [],
"asked": [],
"exit": 1,
"stderr": "",
"stdout": "usage: meshbay-node root list|add|remove|set|eject|plug [name] [--group NAME]\n",
"systemctl": []
},
"root plug media": {
"api": [
[
"PUT",
"/api/groups/gggggggggggggggggggggggggggggggg/roots/media/plug",
null
]
],
"asked": [],
"exit": 0,
"stderr": "",
"stdout": "plugged root media — files are visible again\n",
"systemctl": []
},
"root remove media": {
"api": [],
"asked": [
"remove? [y/N] "
],
"exit": 0,
"stderr": "",
"stdout": "Remove root 'media' from group gggggggg?\nFiles on disk are untouched; only the node config changes.\ncancelled\n",
"systemctl": []
},
"root remove media --yes": {
"api": [
[
"DELETE",
"/api/groups/gggggggggggggggggggggggggggggggg/roots/media",
null
]
],
"asked": [],
"exit": 0,
"stderr": "",
"stdout": "removed root media\nreload the daemon to apply:\n meshbay-node reload\n",
"systemctl": []
},
"root set media": {
"api": [],
"asked": [],
"exit": 1,
"stderr": "",
"stdout": "nothing to change — pass --writable/--no-writable or --removable/--no-removable\n",
"systemctl": []
},
"root set media --no-writable": {
"api": [
[
"PATCH",
"/api/groups/gggggggggggggggggggggggggggggggg/roots/media",
{
"writable": false
}
]
],
"asked": [],
"exit": 0,
"stderr": "",
"stdout": "updated root media: writable=False\n",
"systemctl": []
},
"service no-such-sub": {
"api": [],
"asked": [],
"exit": 1,
"stderr": "",
"stdout": "service mode is Windows-only — elsewhere use 'systemctl --user enable --now meshbay-node'.\n",
"systemctl": []
},
"service status": {
"api": [],
"asked": [],
"exit": 1,
"stderr": "",
"stdout": "service mode is Windows-only — elsewhere use 'systemctl --user enable --now meshbay-node'.\n",
"systemctl": []
},
"status": {
"api": [],
"asked": [],
"exit": 0,
"stderr": "",
"stdout": "hub https://example.invalid (user —)\nnode key <no keystore — run: meshbay-node init>\ndaemon not running\nconfig <tmp>/node.toml\ngroups none configured — create a group on the hub, then add\n a [[groups]] entry with its id and a directory\noperator NONE PAIRED — file deletion and member invites are\n refused. Run: meshbay-node operator pair\n",
"systemctl": []
},
"stun list": {
"api": [
[
"GET",
"/api/node-settings",
null
]
],
"asked": [],
"exit": 0,
"stderr": "",
"stdout": "stun servers (none configured)\n",
"systemctl": []
},
"stun no-such-sub": {
"api": [],
"asked": [],
"exit": 1,
"stderr": "",
"stdout": "usage: meshbay-node stun list|add|remove|reset [url]\n",
"systemctl": []
},
"transfers": {
"api": [
[
"GET",
"/api/transfers",
null
],
[
"GET",
"/api/node-settings",
null
]
],
"asked": [],
"exit": 0,
"stderr": "",
"stdout": "\n largest single upload: 8 GB per file (meshbay-node transfers max-size <GB>)\n\n nothing transferring\n",
"systemctl": []
},
"transfers max-size": {
"api": [],
"asked": [],
"exit": 1,
"stderr": "",
"stdout": "usage: meshbay-node transfers max-size <GB>\n",
"systemctl": []
},
"transfers max-size 0": {
"api": [],
"asked": [],
"exit": 1,
"stderr": "",
"stdout": "error: a ceiling of zero is not 'unlimited'; it would refuse every upload. Make the root read-only instead.\n",
"systemctl": []
},
"transfers max-size 0.5": {
"api": [
[
"PUT",
"/api/node-settings",
{
"max_upload_gb": 0.5
}
]
],
"asked": [],
"exit": 0,
"stderr": "",
"stdout": "largest single upload: 0.5 GB per file (applied now, and kept in node.toml)\n",
"systemctl": []
},
"transfers max-size 8": {
"api": [
[
"PUT",
"/api/node-settings",
{
"max_upload_gb": 8.0
}
]
],
"asked": [],
"exit": 0,
"stderr": "",
"stdout": "largest single upload: 8 GB per file (applied now, and kept in node.toml)\n",
"systemctl": []
},
"transfers max-size huge": {
"api": [],
"asked": [],
"exit": 1,
"stderr": "",
"stdout": "error: the size must be a number of GB (e.g. 8, or 0.5)\n",
"systemctl": []
},
"transfers no-such-sub": {
"api": [],
"asked": [],
"exit": 1,
"stderr": "",
"stdout": "usage: meshbay-node transfers show|set <downloads> <uploads>|max-size <GB>|per-member <downloads> <uploads> [--group NAME]\n",
"systemctl": []
},
"transfers per-member 0 2": {
"api": [],
"asked": [],
"exit": 1,
"stderr": "",
"stdout": "error: a cap below 1 is not 'unlimited'; it would stop every transfer for that member. Revoke them instead.\n",
"systemctl": []
},
"transfers per-member 4": {
"api": [],
"asked": [],
"exit": 1,
"stderr": "",
"stdout": "usage: meshbay-node transfers per-member <downloads> <uploads> [--group NAME]\n",
"systemctl": []
},
"transfers per-member 4 2": {
"api": [
[
"PUT",
"/api/groups/gggggggggggggggggggggggggggggggg/transfer-limits",
{
"downloads": 4,
"uploads": 2
}
]
],
"asked": [],
"exit": 0,
"stderr": "",
"stdout": "each member of this group may now run None download(s) and None upload(s) at once\n",
"systemctl": []
},
"transfers set 0 2": {
"api": [],
"asked": [],
"exit": 1,
"stderr": "",
"stdout": "error: a cap below 1 is not 'unlimited'; it would stop every transfer. Revoke the member instead.\n",
"systemctl": []
},
"transfers set 4": {
"api": [],
"asked": [],
"exit": 1,
"stderr": "",
"stdout": "usage: meshbay-node transfers set <downloads> <uploads>\n",
"systemctl": []
},
"transfers set 4 2": {
"api": [
[
"PUT",
"/api/node-settings",
{
"max_concurrent_downloads": 4,
"max_concurrent_uploads": 2
}
]
],
"asked": [],
"exit": 0,
"stderr": "",
"stdout": "downloads: 4, uploads: 2 (applied now, and kept in node.toml)\n",
"systemctl": []
},
"transfers show": {
"api": [
[
"GET",
"/api/transfers",
null
],
[
"GET",
"/api/node-settings",
null
]
],
"asked": [],
"exit": 0,
"stderr": "",
"stdout": "\n largest single upload: 8 GB per file (meshbay-node transfers max-size <GB>)\n\n nothing transferring\n",
"systemctl": []
},
"video no-such-sub": {
"api": [],
"asked": [],
"exit": 1,
"stderr": "",
"stdout": "usage: meshbay-node video rematch [--group NAME] [--yes]\n",
"systemctl": []
},
"video rematch": {
"api": [],
"asked": [
"proceed? [y/N] "
],
"exit": 0,
"stderr": "",
"stdout": "Re-resolve every automatic TMDB match for this group's videos?\nManual 'Fix match' corrections are kept. Re-resolution is lazy —\neach poster re-queries TMDB the next time it is opened.\ncancelled\n",
"systemctl": []
},
"video rematch --yes": {
"api": [
[
"POST",
"/api/groups/gggggggggggggggggggggggggggggggg/video/rematch",
null
]
],
"asked": [],
"exit": 0,
"stderr": "",
"stdout": "cleared 0 automatic match(es) across 0 video file(s)\n",
"systemctl": []
}
}
|