@vincentzyuapps/winload 0.1.8 โ†’ 0.1.9-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.
Files changed (2) hide show
  1. package/package.json +7 -7
  2. package/readme.md +10 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vincentzyuapps/winload",
3
- "version": "0.1.8",
3
+ "version": "0.1.9-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.8",
37
- "@vincentzyuapps/winload-win32-arm64": "0.1.8",
38
- "@vincentzyuapps/winload-linux-x64": "0.1.8",
39
- "@vincentzyuapps/winload-linux-arm64": "0.1.8",
40
- "@vincentzyuapps/winload-darwin-x64": "0.1.8",
41
- "@vincentzyuapps/winload-darwin-arm64": "0.1.8"
36
+ "@vincentzyuapps/winload-win32-x64": "0.1.9-beta.2",
37
+ "@vincentzyuapps/winload-win32-arm64": "0.1.9-beta.2",
38
+ "@vincentzyuapps/winload-linux-x64": "0.1.9-beta.2",
39
+ "@vincentzyuapps/winload-linux-arm64": "0.1.9-beta.2",
40
+ "@vincentzyuapps/winload-darwin-x64": "0.1.9-beta.2",
41
+ "@vincentzyuapps/winload-darwin-arm64": "0.1.9-beta.2"
42
42
  }
43
43
  }
package/readme.md CHANGED
@@ -1,6 +1,7 @@
1
1
  ![winload](https://socialify.git.ci/VincentZyu233/winload/image?custom_language=Rust&description=1&forks=1&issues=1&language=1&logo=https%3A%2F%2Favatars.githubusercontent.com%2Fu%2F250448479%3Fs%3D200%26v%3D4&name=1&owner=1&pulls=1&stargazers=1&theme=Auto)
2
+ ![onefetch](docs/images/onefetch.png)
2
3
 
3
- # Winload <img src="https://github.com/user-attachments/assets/62fec846-0442-47f6-bbba-78acdc8803ef" height="32px">
4
+ # Winload <img src="docs/images/miku.png" height="32px">
4
5
 
5
6
  > A lightweight, real-time CLI tool for monitoring network bandwidth and traffic, inspired by Linux's nload.
6
7
 
@@ -126,7 +127,7 @@ where win-nload # CMD
126
127
  > scoop install windows-terminal-preview
127
128
  > wtp
128
129
  > ```
129
- > ๐Ÿ’ก **All builds require Windows 10+** (Rust 1.77+ dropped Windows 7/8 support). Scoop provides only **MSVC + Npcap** for **x86_64** and **ARM64**. For other variants (MinGW, non-Npcap, i686) or older Windows, download from [GitHub Releases](https://github.com/VincentZyuApps/winload/releases).
130
+ > ๐Ÿ’ก **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).
130
131
 
131
132
  ### Arch Linux (AUR):
132
133
  ```bash
@@ -193,6 +194,9 @@ which winload
193
194
  winload # Monitor all active network interfaces
194
195
  winload -t 200 # Set refresh interval to 200ms
195
196
  winload -d "Wi-Fi" # Start with a specific device
197
+ winload --title # Show "winload <version>" as the header title
198
+ winload --title "My Monitor" # Use a custom header title
199
+ winload --title "" # Keep the default device header
196
200
  winload -e # Enable emoji decorations ๐ŸŽ‰
197
201
  winload --npcap # Capture 127.0.0.1 loopback traffic (Windows, requires Npcap)
198
202
  ```
@@ -204,6 +208,7 @@ winload --npcap # Capture 127.0.0.1 loopback traffic (Windows, requires Npc
204
208
  | `-t`, `--interval <MS>` | Refresh interval in milliseconds | `500` |
205
209
  | `-a`, `--average <SEC>` | Average calculation window in seconds | `300` |
206
210
  | `-d`, `--device <NAME>` | Default device name (partial match) | โ€” |
211
+ | `--title [TITLE]` | Override header title: no value shows `winload <version>`; empty string keeps the default device header | โ€” |
207
212
  | `-e`, `--emoji` | Enable emoji decorations in TUI ๐ŸŽ‰ | off |
208
213
  | `-U`, `--unicode` | Use Unicode block characters for graph (โ–ˆโ–“โ–‘ยท) | off |
209
214
  | `-u`, `--unit <UNIT>` | Display unit: `bit` or `byte` | `bit` |
@@ -260,13 +265,13 @@ On Linux and macOS, loopback traffic works out of the box โ€” no extra flags nee
260
265
 
261
266
  ## ๐Ÿ–ผ๏ธ Previews
262
267
  #### Python Edition Preview
263
- ![docs/preview-py.png](docs/preview-py.png)
268
+ ![docs/images/preview-py.png](docs/images/preview-py.png)
264
269
 
265
270
  #### Rust Edition Preview
266
- ![docs/preview-rust.png](docs/preview-rust.png)
271
+ ![docs/images/preview-rust.png](docs/images/preview-rust.png)
267
272
 
268
273
  ##### Rust Edition Preview GIF
269
- ![docs/preview-rust.gif](docs/preview-rust.gif)
274
+ ![docs/images/preview-rust.gif](docs/images/preview-rust.gif)
270
275
 
271
276
  ##### Terminal Recording
272
277
  <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>