winload-rust-bin 0.1.11-rc.1 → 0.1.12-beta.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 (2) hide show
  1. package/package.json +7 -7
  2. package/readme.md +8 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "winload-rust-bin",
3
- "version": "0.1.11-rc.1",
3
+ "version": "0.1.12-beta.1",
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.11-rc.1",
37
- "@vincentzyuapps/winload-win32-arm64": "0.1.11-rc.1",
38
- "@vincentzyuapps/winload-linux-x64": "0.1.11-rc.1",
39
- "@vincentzyuapps/winload-linux-arm64": "0.1.11-rc.1",
40
- "@vincentzyuapps/winload-darwin-x64": "0.1.11-rc.1",
41
- "@vincentzyuapps/winload-darwin-arm64": "0.1.11-rc.1"
36
+ "@vincentzyuapps/winload-win32-x64": "0.1.12-beta.1",
37
+ "@vincentzyuapps/winload-win32-arm64": "0.1.12-beta.1",
38
+ "@vincentzyuapps/winload-linux-x64": "0.1.12-beta.1",
39
+ "@vincentzyuapps/winload-linux-arm64": "0.1.12-beta.1",
40
+ "@vincentzyuapps/winload-darwin-x64": "0.1.12-beta.1",
41
+ "@vincentzyuapps/winload-darwin-arm64": "0.1.12-beta.1"
42
42
  }
43
43
  }
package/readme.md CHANGED
@@ -61,9 +61,7 @@ git clone https://github.com/VincentZyuApps/winload.git
61
61
  # or clone from Gitee (faster in China Mainland):
62
62
  # git clone https://gitee.com/vincent-zyu/winload.git
63
63
  cd winload/python
64
- uv venv --python 3.13
65
- uv pip install -r requirements.txt
66
- uv run python main.py
64
+ uv run python -m winload
67
65
  ```
68
66
 
69
67
  ### Rust
@@ -149,17 +147,17 @@ which winload
149
147
  > Also supports Termux on Android (aarch64)
150
148
 
151
149
  ```bash
152
- curl -fsSL https://raw.githubusercontent.com/VincentZyuApps/winload/main/docs/install_scripts/install.sh | bash
150
+ curl -fsSL https://raw.githubusercontent.com/VincentZyuApps/winload/main/docs/scripts/install/install.sh | bash
153
151
  which winload
154
152
  ```
155
- > 📄 [View install script source](https://github.com/VincentZyuApps/winload/blob/main/docs/install_scripts/install.sh)
153
+ > 📄 [View install script source](https://github.com/VincentZyuApps/winload/blob/main/docs/scripts/install/install.sh)
156
154
 
157
155
  **🇨🇳 Gitee mirror (faster in China Mainland):**
158
156
  ```bash
159
- curl -fsSL https://gitee.com/vincent-zyu/winload/raw/main/docs/install_scripts/install_gitee.sh | bash
157
+ curl -fsSL https://gitee.com/vincent-zyu/winload/raw/main/docs/scripts/install/install_gitee.sh | bash
160
158
  which winload
161
159
  ```
162
- > 📄 [View Gitee install script](https://gitee.com/vincent-zyu/winload/blob/main/docs/install_scripts/install_gitee.sh)
160
+ > 📄 [View Gitee install script](https://gitee.com/vincent-zyu/winload/blob/main/docs/scripts/install/install_gitee.sh)
163
161
 
164
162
  > ⚠️ 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
163
 
@@ -276,6 +274,8 @@ This requires [Npcap](https://npcap.com/#download) installed with "Support loopb
276
274
 
277
275
  > 📖 For a deep dive into why Windows loopback is broken, see [docs/win_loopback.md](docs/win_loopback.md)
278
276
 
277
+ ## 🐧 Linux / Android / Termux Netlink
278
+
279
279
  On Linux and macOS, loopback traffic works out of the box — no extra flags needed.
280
280
 
281
281
  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 +299,7 @@ winload --netlink
299
299
  ![docs/images/preview-rust.gif](docs/images/preview-rust.gif)
300
300
 
301
301
  ##### Terminal Recording
302
- <a href="https://asciinema.org/a/1030894?startAt=30" target="_blank"><img src="https://asciinema.org/a/1030894.svg" alt="winload demo" width="100%" /></a>
302
+ [![asciicast](https://asciinema.org/a/1030894.svg)](https://asciinema.org/a/1030894?t=30)
303
303
 
304
304
  > ↑ Recorded by [asciinema](https://github.com/asciinema/asciinema)
305
305