@rifuki/negi 0.1.0 → 0.2.1

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.
Files changed (3) hide show
  1. package/README.md +14 -5
  2. package/bin/negi +0 -0
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -27,8 +27,9 @@ the page over your tailnet; nothing goes through anyone else's server.
27
27
  programs print.
28
28
  - Type into a pane, with a key row for esc, tab, ctrl, option, command and the arrows.
29
29
  - Answer an agent's prompt, scroll back through a pane, send a file into it.
30
- - See and drive the Mac's own screen, with touch as a trackpad and the Mac's cursor.
31
- - The Mac's battery and Wi-Fi at a glance, and a speed test of the link to it.
30
+ - See and drive the Mac's own screen as live video, with touch as a trackpad.
31
+ - The Mac's battery and Wi-Fi at a glance, and a speed test of the link to it. While a
32
+ phone is connected the Mac does not sleep for idleness (closing the lid still sleeps it).
32
33
 
33
34
  <p align="center">
34
35
  <img src="docs/media/screens.webp" alt="Pairing, the session list, an agent's pane, and the settings">
@@ -40,7 +41,7 @@ the page over your tailnet; nothing goes through anyone else's server.
40
41
  brew install rifuki/tap/negi
41
42
  ```
42
43
 
43
- or `npm install -g @rifuki/negi`, or `cargo install negi`. macOS only, Apple silicon and Intel.
44
+ or `npm install -g @rifuki/negi`, or `cargo install negi`. macOS 12.3 or later on Apple silicon; on an Intel Mac, `cargo install negi` builds it.
44
45
 
45
46
  ## Get started
46
47
 
@@ -52,8 +53,13 @@ negi tailnet # serves it on your tailnet and prints its https address
52
53
  negi pair # open that address on the phone and type the code it shows
53
54
  ```
54
55
 
55
- For the screen, turn on Screen Sharing (System Settings, General, Sharing). It goes
56
- through macOS's own VNC today: input is instant, the picture lags; a video stream is next.
56
+ On the phone, Share, Add to Home Screen (or Install app on Android) opens negi full screen
57
+ like an app, and it still opens when the Mac is out of reach.
58
+
59
+ The screen comes as live video from negi itself. macOS asks once for Screen Recording
60
+ (to see it) and Accessibility (to drive it), for negi or the terminal it runs in. Without
61
+ them negi falls back to Screen Sharing (System Settings, General, Sharing), which asks for
62
+ your Mac login.
57
63
 
58
64
  ## Safe by default
59
65
 
@@ -61,6 +67,9 @@ through macOS's own VNC today: input is instant, the picture lags; a video strea
61
67
  - Each phone pairs once with a one-time code that `negi pair` takes back on Ctrl+C;
62
68
  `negi revoke` unpairs it.
63
69
  - Keys are stored hashed; a kept screen login is sealed by the server for one device.
70
+ - Before live video shows the screen or takes input, each phone gives the Mac's password
71
+ once. macOS checks it; negi does not keep it, and five wrong tries lock that phone out
72
+ for five minutes.
64
73
 
65
74
  [How it works](docs/SPEC.md) · [Development](docs/DEVELOPMENT.md)
66
75
 
package/bin/negi CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rifuki/negi",
3
- "version": "0.1.0",
3
+ "version": "0.2.1",
4
4
  "description": "tmux and your Mac's screen, on your phone, over your tailnet.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/rifuki/negi",
@@ -9,5 +9,5 @@
9
9
  "bin": { "negi": "bin/negi" },
10
10
  "files": ["bin/negi", "README.md", "LICENSE"],
11
11
  "os": ["darwin"],
12
- "cpu": ["arm64", "x64"]
12
+ "cpu": ["arm64"]
13
13
  }