winload-rust-bin 0.1.11 โ 0.1.12-beta.2
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/package.json +7 -7
- package/readme.md +12 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "winload-rust-bin",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.12-beta.2",
|
|
4
4
|
"description": "Network Load Monitor โ nload-like TUI tool for Windows/Linux/macOS (prebuilt Rust binary)",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
"access": "public"
|
|
34
34
|
},
|
|
35
35
|
"optionalDependencies": {
|
|
36
|
-
"@vincentzyuapps/winload-win32-x64": "0.1.
|
|
37
|
-
"@vincentzyuapps/winload-win32-arm64": "0.1.
|
|
38
|
-
"@vincentzyuapps/winload-linux-x64": "0.1.
|
|
39
|
-
"@vincentzyuapps/winload-linux-arm64": "0.1.
|
|
40
|
-
"@vincentzyuapps/winload-darwin-x64": "0.1.
|
|
41
|
-
"@vincentzyuapps/winload-darwin-arm64": "0.1.
|
|
36
|
+
"@vincentzyuapps/winload-win32-x64": "0.1.12-beta.2",
|
|
37
|
+
"@vincentzyuapps/winload-win32-arm64": "0.1.12-beta.2",
|
|
38
|
+
"@vincentzyuapps/winload-linux-x64": "0.1.12-beta.2",
|
|
39
|
+
"@vincentzyuapps/winload-linux-arm64": "0.1.12-beta.2",
|
|
40
|
+
"@vincentzyuapps/winload-darwin-x64": "0.1.12-beta.2",
|
|
41
|
+
"@vincentzyuapps/winload-darwin-arm64": "0.1.12-beta.2"
|
|
42
42
|
}
|
|
43
43
|
}
|
package/readme.md
CHANGED
|
@@ -21,6 +21,8 @@
|
|
|
21
21
|
[](https://github.com/VincentZyuApps/winload/releases)
|
|
22
22
|
|
|
23
23
|
[](https://pypi.org/project/winload/)
|
|
24
|
+
[](https://pypi.org/project/winload/)
|
|
25
|
+
|
|
24
26
|
[](https://crates.io/crates/winload)
|
|
25
27
|
|
|
26
28
|
[](https://www.npmjs.com/package/@vincentzyuapps/winload)
|
|
@@ -29,7 +31,7 @@
|
|
|
29
31
|
[](https://aur.archlinux.org/packages/winload-rust-bin)
|
|
30
32
|
[](https://github.com/VincentZyuApps/winload/releases)
|
|
31
33
|
[](https://github.com/VincentZyuApps/winload/releases)
|
|
32
|
-
[](https://github.com/VincentZyuApps/homebrew-tap/blob/main/Formula/winload.rb)
|
|
33
35
|
|
|
34
36
|
> **[๐ Build Docs](.github/workflows/build.md)**
|
|
35
37
|
|
|
@@ -61,9 +63,7 @@ git clone https://github.com/VincentZyuApps/winload.git
|
|
|
61
63
|
# or clone from Gitee (faster in China Mainland):
|
|
62
64
|
# git clone https://gitee.com/vincent-zyu/winload.git
|
|
63
65
|
cd winload/python
|
|
64
|
-
uv
|
|
65
|
-
uv pip install -r requirements.txt
|
|
66
|
-
uv run python main.py
|
|
66
|
+
uv run python -m winload
|
|
67
67
|
```
|
|
68
68
|
|
|
69
69
|
### Rust
|
|
@@ -149,17 +149,17 @@ which winload
|
|
|
149
149
|
> Also supports Termux on Android (aarch64)
|
|
150
150
|
|
|
151
151
|
```bash
|
|
152
|
-
curl -fsSL https://raw.githubusercontent.com/VincentZyuApps/winload/main/docs/
|
|
152
|
+
curl -fsSL https://raw.githubusercontent.com/VincentZyuApps/winload/main/docs/scripts/install/install.sh | bash
|
|
153
153
|
which winload
|
|
154
154
|
```
|
|
155
|
-
> ๐ [View install script source](https://github.com/VincentZyuApps/winload/blob/main/docs/
|
|
155
|
+
> ๐ [View install script source](https://github.com/VincentZyuApps/winload/blob/main/docs/scripts/install/install.sh)
|
|
156
156
|
|
|
157
157
|
**๐จ๐ณ Gitee mirror (faster in China Mainland):**
|
|
158
158
|
```bash
|
|
159
|
-
curl -fsSL https://gitee.com/vincent-zyu/winload/raw/main/docs/
|
|
159
|
+
curl -fsSL https://gitee.com/vincent-zyu/winload/raw/main/docs/scripts/install/install_gitee.sh | bash
|
|
160
160
|
which winload
|
|
161
161
|
```
|
|
162
|
-
> ๐ [View Gitee install script](https://gitee.com/vincent-zyu/winload/blob/main/docs/
|
|
162
|
+
> ๐ [View Gitee install script](https://gitee.com/vincent-zyu/winload/blob/main/docs/scripts/install/install_gitee.sh)
|
|
163
163
|
|
|
164
164
|
> โ ๏ธ The two `curl ... | bash` install scripts above support **x86_64 / aarch64** systems with **apt** (Debian/Ubuntu), **dnf** (Fedora/RHEL), or **Termux** (Android). For other platforms, use **npm** (`npm install -g @vincentzyuapps/winload`) or **Cargo** (`cargo install winload`) instead.
|
|
165
165
|
|
|
@@ -225,7 +225,7 @@ winload --netlink # Manually enable RTNETLINK (Linux/Android, off by default)
|
|
|
225
225
|
| `-e`, `--emoji` | Enable emoji decorations in TUI ๐ | off |
|
|
226
226
|
| `-U`, `--unicode` | Use Unicode block characters for graph (โโโยท) | off |
|
|
227
227
|
| `-u`, `--unit <UNIT>` | Display unit: `bit` or `byte` | `bit` |
|
|
228
|
-
| `-b`, `--bar-style <STYLE>` | Bar style: `fill`, `color`, or `plain` | `
|
|
228
|
+
| `-b`, `--bar-style <STYLE>` | Bar style: `fill`, `color`, or `plain` | `plain` |
|
|
229
229
|
| `--in-color <HEX>` | Incoming graph color, hex RGB (e.g. `0x00d7ff`) | cyan |
|
|
230
230
|
| `--out-color <HEX>` | Outgoing graph color, hex RGB (e.g. `0xffaf00`) | gold |
|
|
231
231
|
| `--max-mode <MODE>` | Y-axis scaling mode: `smart`, `legacy`, or `fixed` | `smart` |
|
|
@@ -276,6 +276,8 @@ This requires [Npcap](https://npcap.com/#download) installed with "Support loopb
|
|
|
276
276
|
|
|
277
277
|
> ๐ For a deep dive into why Windows loopback is broken, see [docs/win_loopback.md](docs/win_loopback.md)
|
|
278
278
|
|
|
279
|
+
## ๐ง Linux / Android / Termux Netlink
|
|
280
|
+
|
|
279
281
|
On Linux and macOS, loopback traffic works out of the box โ no extra flags needed.
|
|
280
282
|
|
|
281
283
|
On **Linux/Android**, if `/proc/net/dev` is not accessible (e.g. inside a Termux proot distro or other restricted environments), use `--netlink` to collect network stats via RTNETLINK directly:
|
|
@@ -299,7 +301,7 @@ winload --netlink
|
|
|
299
301
|

|
|
300
302
|
|
|
301
303
|
##### Terminal Recording
|
|
302
|
-
|
|
304
|
+
[](https://asciinema.org/a/1030894?t=30)
|
|
303
305
|
|
|
304
306
|
> โ Recorded by [asciinema](https://github.com/asciinema/asciinema)
|
|
305
307
|
|