@vincentzyuapps/winload 0.1.9-rc.1 → 0.1.9-rc.3

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 (2) hide show
  1. package/package.json +7 -7
  2. package/readme.md +15 -10
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vincentzyuapps/winload",
3
- "version": "0.1.9-rc.1",
3
+ "version": "0.1.9-rc.3",
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.9-rc.1",
37
- "@vincentzyuapps/winload-win32-arm64": "0.1.9-rc.1",
38
- "@vincentzyuapps/winload-linux-x64": "0.1.9-rc.1",
39
- "@vincentzyuapps/winload-linux-arm64": "0.1.9-rc.1",
40
- "@vincentzyuapps/winload-darwin-x64": "0.1.9-rc.1",
41
- "@vincentzyuapps/winload-darwin-arm64": "0.1.9-rc.1"
36
+ "@vincentzyuapps/winload-win32-x64": "0.1.9-rc.3",
37
+ "@vincentzyuapps/winload-win32-arm64": "0.1.9-rc.3",
38
+ "@vincentzyuapps/winload-linux-x64": "0.1.9-rc.3",
39
+ "@vincentzyuapps/winload-linux-arm64": "0.1.9-rc.3",
40
+ "@vincentzyuapps/winload-darwin-x64": "0.1.9-rc.3",
41
+ "@vincentzyuapps/winload-darwin-arm64": "0.1.9-rc.3"
42
42
  }
43
43
  }
package/readme.md CHANGED
@@ -8,23 +8,24 @@
8
8
  > **[📖 English](readme.md)**
9
9
  > **[📖 įŽ€äŊ“中文(大陆)](readme.zh-cn.md)**
10
10
  > **[📖 įšéĢ”ä¸­æ–‡(å°įŖ)](readme.zh-tw.md)**
11
+ > **[📖 æ–‡č¨€æ–‡](readme.lzh.md)**
11
12
  > **[📖 æ—ĨæœŦčĒž](readme.jp.md)**
12
13
  > **[📖 한ęĩ­ė–´](readme.ko.md)**
13
- > **[📖 æ–‡č¨€æ–‡](readme.lzh.md)**
14
14
 
15
15
  [![GitHub](https://img.shields.io/badge/GitHub-181717?style=for-the-badge&logo=github&logoColor=white)](https://github.com/VincentZyuApps/winload)
16
16
  [![Gitee](https://img.shields.io/badge/Gitee-C71D23?style=for-the-badge&logo=gitee&logoColor=white)](https://gitee.com/vincent-zyu/winload)
17
17
 
18
- [![Windows x64 | ARM64](https://img.shields.io/badge/Windows-x64_|_ARM64-0078D4?style=for-the-badge&logo=windows&logoColor=white)](https://github.com/VincentZyuApps/winload/releases)
19
- [![Linux x64 | ARM64](https://img.shields.io/badge/Linux-x64_|_ARM64-FCC624?style=for-the-badge&logo=linux&logoColor=black)](https://github.com/VincentZyuApps/winload/releases)
18
+ [![Windows x64 | ARM64](https://img.shields.io/static/v1?label=Windows&message=x64%20%7C%20ARM64&color=0078D4&style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTAgMGgxMS4zNzd2MTEuMzcySDB6TTEyLjYyMyAwSDI0djExLjM3MkgxMi42MjN6TTAgMTIuNjIzaDExLjM3N1YyNEgweiBNMTIuNjIzIDEyLjYyM0gyNFYyNEgxMi42MjN6IiBmaWxsPSIjZmZmIi8+PC9zdmc+)](https://github.com/VincentZyuApps/winload/releases)
19
+ [![Linux x64 | ARM64](https://img.shields.io/badge/Linux-x64_|_ARM64-FCC624?style=for-the-badge&logo=linux&logoColor=white)](https://github.com/VincentZyuApps/winload/releases)
20
20
  [![macOS x64 | ARM64](https://img.shields.io/badge/macOS-x64_|_ARM64-000000?style=for-the-badge&logo=apple&logoColor=white)](https://github.com/VincentZyuApps/winload/releases)
21
21
  [![Android x64 | ARM64](https://img.shields.io/badge/Android-x64_|_ARM64-3DDC84?style=for-the-badge&logo=android&logoColor=white)](https://github.com/VincentZyuApps/winload/releases)
22
22
 
23
23
  [![PyPI](https://img.shields.io/badge/PyPI-3776AB?style=for-the-badge&logo=pypi&logoColor=white)](https://pypi.org/project/winload/)
24
- [![npm](https://img.shields.io/badge/npm-CB3837?style=for-the-badge&logo=npm&logoColor=white)](https://www.npmjs.com/package/@vincentzyuapps/winload)
25
24
  [![Crates.io](https://img.shields.io/badge/Crates.io-000000?style=for-the-badge&logo=rust&logoColor=white)](https://crates.io/crates/winload)
26
25
 
27
- [![Scoop](https://img.shields.io/badge/Scoop-7B4AE2?style=for-the-badge&logo=scoop&logoColor=white)](https://scoop.sh/#/apps?q=%22https%3A%2F%2Fgithub.com%2FVincentZyuApps%2Fscoop-bucket%22&o=false)
26
+ [![npm](https://img.shields.io/badge/npm-CB3837?style=for-the-badge&logo=npm&logoColor=white)](https://www.npmjs.com/package/@vincentzyuapps/winload)
27
+
28
+ [![Scoop.sh](https://img.shields.io/badge/Scoop.sh-7B4AE2?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGNpcmNsZSBjeD0iMTIiIGN5PSI4IiByPSI1IiBmaWxsPSIjRUM3MEExIi8+PGNpcmNsZSBjeD0iOCIgY3k9IjEyIiByPSI0LjUiIGZpbGw9IiNFQkYzQTEiLz48Y2lyY2xlIGN4PSIxNiIgY3k9IjEyIiByPSI0LjUiIGZpbGw9IiM4RTZFQzgiLz48cGF0aCBkPSJNMTYuNSA0bC0xLjUtMS41TDExLjUgNmwxLjUgMS41eiIgZmlsbD0iI2ZmZmZmZiIvPjxwYXRoIGQ9Ik0zIDEzaDE4YzAgNC40LTMuNiA4LTggOGgtNGMtNC40IDAtOC0zLjYtOC04eiIgZmlsbD0iIzRGNEI1MyIvPjwvc3ZnPg==)](https://scoop.sh/#/apps?q=%22https%3A%2F%2Fgithub.com%2FVincentZyuApps%2Fscoop-bucket%22&o=false)
28
29
  [![AUR](https://img.shields.io/badge/AUR-1793D1?style=for-the-badge&logo=archlinux&logoColor=white)](https://aur.archlinux.org/packages/winload-rust-bin)
29
30
  [![APT](https://img.shields.io/badge/APT-E95420?style=for-the-badge&logo=debian&logoColor=white)](https://github.com/VincentZyuApps/winload/releases)
30
31
  [![RPM](https://img.shields.io/badge/RPM-CB1626?style=for-the-badge&logo=redhat&logoColor=white)](https://github.com/VincentZyuApps/winload/releases)
@@ -48,7 +49,7 @@ https://github.com/rolandriegel/nload
48
49
  - **Minimal UI**: clean TUI that mirrors nload's ergonomics.
49
50
 
50
51
  ## 📊 Performance Benchmarks
51
- > ⚡ Winload (Rust) achieves **~10ms startup** and **<5MB binary size**, significantly outperforming Python and matching C++ nload in efficiency.
52
+ > ⚡ Winload (Rust) achieves **~10ms startup** and **<2MB binary size**, significantly outperforming Python and matching C++ nload in efficiency.
52
53
 
53
54
  ![Winload Benchmark](docs/benchmark/benchmark.svg)
54
55
 
@@ -92,16 +93,19 @@ uv run python -c "import shutil; print(shutil.which('winload'))"
92
93
  ## đŸ“Ĩ Rust Edition Installation (recommended)
93
94
  ### npm (cross-platform)
94
95
  ```bash
96
+ # Recommended (scoped)
95
97
  npm install -g @vincentzyuapps/winload
96
- npm list -g @vincentzyuapps/winload
98
+ # Alternative (unscoped)
99
+ npm install -g winload-rust-bin
100
+ # Alternative (GitHub Packages)
101
+ npm install -g @vincentzyuapps/winload --registry https://npm.pkg.github.com
97
102
  # on Windows, use win-nload to avoid conflict with System32\winload.exe
98
103
  # on Linux/macOS, both winload and win-nload work
99
104
  # or use npx directly
100
105
  npx @vincentzyuapps/winload
101
106
  ```
102
- > âš ī¸ The old package `winload-rust-bin` has been deprecated. Please use `@vincentzyuapps/winload` instead. The scoped package name is required for [GitHub Packages](https://github.com/features/packages) compatibility.
103
107
 
104
- > Includes 6 precompiled binaries for x86_64 & ARM64 across Windows, Linux, and macOS.
108
+ > Includes 4 precompiled binaries for x86_64 & ARM64 across Windows, Linux, and macOS.
105
109
 
106
110
  ### Cargo (Build from source)
107
111
  ```bash
@@ -128,7 +132,7 @@ where win-nload # CMD
128
132
  > scoop install windows-terminal-preview
129
133
  > wtp
130
134
  > ```
131
- > 💡 **All builds require Windows 10+** (Rust 1.77+ dropped Windows 7/8 support). Scoop and npm provide **MSVC + Npcap** for **x86_64** and **ARM64** by default. These builds now delay-load `wpcap.dll`, reducing startup failures before `--npcap` is used, but loopback capture still requires Npcap installed on the system. For other variants (MinGW, non-Npcap, i686), download from [GitHub Releases](https://github.com/VincentZyuApps/winload/releases).
135
+ > 💡 **All builds require Windows 10+** (Rust 1.77+ dropped Windows 7/8 support). Scoop and npm provide **MSVC + Npcap** for **x86_64** and **ARM64** by default. These builds now delay-load `wpcap.dll`, reducing startup failures before `--npcap` is used, but loopback capture still requires Npcap installed on the system.
132
136
 
133
137
  ### Arch Linux (AUR):
134
138
  ```bash
@@ -302,3 +306,4 @@ On Linux and macOS, loopback traffic works out of the box — no extra flags nee
302
306
  ## 🧭 Epilogue
303
307
 
304
308
  Network traffic flows formless through the void — yet Winload gives it shape. Packets traverse the terminal, silent and unseen, but through this window, every thread of throughput takes form before your eyes. If you seek to know the pulse of a machine's connection to the world, this tool is at once a humble lamp upon your desk and a guiding star for the journey ahead.
309
+