ledge-server 0.0.2 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -22,14 +22,15 @@ needs no `sudo`, opens no port, and starts no service: Ledge starts the server
|
|
|
22
22
|
over ssh when a device connects, and it exits on its own a minute after the
|
|
23
23
|
last device leaves.
|
|
24
24
|
|
|
25
|
-
Then print a pairing code
|
|
25
|
+
Then print a pairing code. The full path is because the installer's PATH line
|
|
26
|
+
reaches only new terminals:
|
|
26
27
|
|
|
27
28
|
```sh
|
|
28
|
-
ledge pair
|
|
29
|
+
~/.ledge/.server/bin/ledge pair
|
|
29
30
|
```
|
|
30
31
|
|
|
31
32
|
It lists the machine's addresses, with what each one reaches, and asks which
|
|
32
|
-
one
|
|
33
|
+
one your other devices should use. Scan the code with Ledge on a phone, or paste the
|
|
33
34
|
link under it into the Mac app's Add Server form. The code carries the
|
|
34
35
|
address, the account, and the host key.
|
|
35
36
|
|
|
@@ -86,7 +87,7 @@ sudo ln -s "$(command -v bun)" /usr/local/bin/bun
|
|
|
86
87
|
| --- | --- |
|
|
87
88
|
| `ledge serve` | The protocol on stdin and stdout, attached to this machine's daemon. Starts the daemon if nothing answers. What a client runs. |
|
|
88
89
|
| `ledge daemon` | Be this machine's server. Holds the notes, the shells, and the watchers, and runs until stopped. |
|
|
89
|
-
| `ledge pair` | Print a pairing code for this machine, after asking which of its addresses
|
|
90
|
+
| `ledge pair` | Print a pairing code for this machine, after asking which of its addresses your other devices should use. `--user`, `--host`, and `--port` override what it describes. |
|
|
90
91
|
| `ledge backup` | Back this machine up to an S3-compatible bucket: `setup`, `now`, `status`, `snapshots`, `restore`, `paths`, `restic`. |
|
|
91
92
|
| `ledge mcp` | The Ledge MCP server on stdin and stdout, for an agent running on this machine. |
|
|
92
93
|
| `ledge ls`, `ledge cat`, `ledge search`, ... | Notes from this machine's own shell. `ledge help` lists them all. |
|
|
Binary file
|
|
Binary file
|