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
Copy file name to clipboardExpand all lines: README.en.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,7 @@
23
23
24
24
- The sender serves one successful receive by default, then exits
25
25
- It briefly probes for a usable path through complex networks, with S3, WebDAV, FTP, and SFTP backend options
26
+
-`ii send <file-or-folder> --web` opens a temporary LAN download page
26
27
- Receives resume automatically by default
27
28
- Existing files with the same MD5 are skipped
28
29
- Folders can be sent directly
@@ -124,6 +125,15 @@ Receive to stdout:
124
125
ii recv ii1k7v...x9a --stdout > project.tar.gz
125
126
```
126
127
128
+
Open a temporary LAN download page:
129
+
130
+
```powershell
131
+
ii send .\video.mp4 --web
132
+
ii send .\my-folder --web
133
+
```
134
+
135
+
The command displays a QR code directly above the primary LAN URL for opening the download page, then lists the remaining physical and virtual adapter IPv4 URLs under `other:`. The QR code at the top of that page points directly to `/download` for phone downloads. Folders download as `.tar` archives. Press `Ctrl+C` to stop the server. This mode has no authentication and is intended only for short-lived, trusted LAN sharing.
136
+
127
137
Prefer local network paths and avoid public relays:
Copy file name to clipboardExpand all lines: SIZE.md
+16-7Lines changed: 16 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,7 @@
1
1
# Binary Size Ledger
2
2
3
3
The release artifact is the UPX-compressed CLI executable. The release workflow
4
-
verifies the packed artifact and enforces a `1,048,576` byte limit on Windows,
5
-
Linux, and macOS.
4
+
verifies the packed artifact and reports its size on Windows, Linux, and macOS.
6
5
7
6
## Windows x86_64
8
7
@@ -24,9 +23,19 @@ All measurements use `cargo build -p ii --release --locked` followed by UPX
24
23
| Rejected: relay rate-limit feature split | 5,952,000 | 2,154,496 | +1,536 | Full `ii` regression suite (66 tests), full relay-library feature compile, `upx -t`; reverted because packed size grew |
25
24
| Final release reproduction | 5,956,096 | 2,153,472 | -512 |`cargo test -p ii --locked` (66 tests), `cargo build -p ii --release --locked`, UPX `5.1.0 --best --lzma`, `upx -t`|
26
25
| Single-thread Tokio runtime | 5,946,368 | 2,148,864 | -4,608 |`cargo test -p ii --locked` (66 tests), `cargo build -p ii --release --locked`, UPX `5.1.0 --best --lzma`, `upx -t`|
26
+
| LAN web-share QR SVG and terminal QR | 5,970,944 | 2,161,152 | +12,288 |`cargo test -p ii --locked` (76 tests), `cargo build -p ii --release --locked`, UPX `5.1.0 --best --lzma`, `upx -t`|
27
+
| Web download QR and responsive share page | 5,975,040 | 2,159,616 | -1,536 |`cargo test -p ii --locked` (76 tests), `cargo build -p ii --release --locked`, UPX `5.1.0 --best --lzma`, `upx -t`|
28
+
| Web-share other IPv4 URL list | 5,979,648 | 2,160,640 | +1,024 |`cargo test -p ii --locked` (77 tests), isolated `cargo build -p ii --release --locked`, UPX `5.1.0 --best --lzma`, `upx -t`|
27
29
28
-
The current artifact remains `1,100,288` bytes above the `1 MiB` budget. Equivalent
29
-
release rebuilds have varied by up to `1,536` UPX bytes; the latest measurement is
30
-
recorded with the pinned `5.1.0` packer. No
31
-
release is considered size-compliant until every target satisfies the workflow
32
-
budget check.
30
+
Equivalent release rebuilds have varied by up to `1,536` UPX bytes; the latest
31
+
measurement is recorded with the pinned `5.1.0` packer.
32
+
33
+
## QR Dependency Audit
34
+
35
+
`D:\cache\n0-scan` contains `--depth 1` clones of all 120 public
36
+
`n0-computer` repositories. `squiggle` is an empty GitHub repository; all 119
37
+
non-empty repositories were scanned with `git grep` for QR-code dependencies and
38
+
source usage. The only direct generator found was `iroh-live`'s `qrcode 0.14.1`,
39
+
which depends on `image`. `ii` uses `qrcodegen 1.8.0` instead: it only supplies
40
+
the QR matrix, while `ii` emits its own inline SVG with no image or front-end
0 commit comments