@vincentzyuapps/winload 0.1.8-rc.12 → 0.1.8-rc.14

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 +35 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vincentzyuapps/winload",
3
- "version": "0.1.8-rc.12",
3
+ "version": "0.1.8-rc.14",
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-rc.12",
37
- "@vincentzyuapps/winload-win32-arm64": "0.1.8-rc.12",
38
- "@vincentzyuapps/winload-linux-x64": "0.1.8-rc.12",
39
- "@vincentzyuapps/winload-linux-arm64": "0.1.8-rc.12",
40
- "@vincentzyuapps/winload-darwin-x64": "0.1.8-rc.12",
41
- "@vincentzyuapps/winload-darwin-arm64": "0.1.8-rc.12"
36
+ "@vincentzyuapps/winload-win32-x64": "0.1.8-rc.14",
37
+ "@vincentzyuapps/winload-win32-arm64": "0.1.8-rc.14",
38
+ "@vincentzyuapps/winload-linux-x64": "0.1.8-rc.14",
39
+ "@vincentzyuapps/winload-linux-arm64": "0.1.8-rc.14",
40
+ "@vincentzyuapps/winload-darwin-x64": "0.1.8-rc.14",
41
+ "@vincentzyuapps/winload-darwin-arm64": "0.1.8-rc.14"
42
42
  }
43
43
  }
package/readme.md CHANGED
@@ -26,6 +26,7 @@
26
26
  [![AUR](https://img.shields.io/badge/AUR-1793D1?style=for-the-badge&logo=archlinux&logoColor=white)](https://aur.archlinux.org/packages/winload-rust-bin)
27
27
  [![APT](https://img.shields.io/badge/APT-E95420?style=for-the-badge&logo=debian&logoColor=white)](https://github.com/VincentZyuApps/winload/releases)
28
28
  [![RPM](https://img.shields.io/badge/RPM-CB1626?style=for-the-badge&logo=redhat&logoColor=white)](https://github.com/VincentZyuApps/winload/releases)
29
+ [![Homebrew](https://img.shields.io/badge/Homebrew-FBB040?style=for-the-badge&logo=homebrew&logoColor=black)](https://github.com/VincentZyuApps/homebrew-tap/blob/main/Formula/winload.rb)
29
30
 
30
31
  > **[📖 Build Docs](.github/workflows/build.md)**
31
32
 
@@ -49,6 +50,27 @@ https://github.com/rolandriegel/nload
49
50
 
50
51
  ![Winload Benchmark](docs/benchmark/benchmark.svg)
51
52
 
53
+ ## 🔧 Run from Source
54
+
55
+ ### Python
56
+ ```bash
57
+ git clone https://github.com/VincentZyuApps/winload.git
58
+ # or clone from Gitee (faster in China Mainland):
59
+ # git clone https://gitee.com/vincent-zyu/winload.git
60
+ cd winload/py
61
+ pip install -r requirements.txt
62
+ python main.py
63
+ ```
64
+
65
+ ### Rust
66
+ ```bash
67
+ git clone https://github.com/VincentZyuApps/winload.git
68
+ cd winload/rust
69
+ cargo run --release
70
+ cargo run --release -- --help # Show help
71
+ cargo run --release -- --version # Show version
72
+ ```
73
+
52
74
  ## 🐍 Python Edition Installation
53
75
  > 💡 **Implementation Note**: Only PyPI and GitHub/Gitee provide Python edition.
54
76
  > Only Cargo provides Rust source code for local compilation.
@@ -59,7 +81,7 @@ pip install winload
59
81
  # recommend use uv:
60
82
  # https://docs.astral.sh/uv/getting-started/installation/
61
83
  # https://gitee.com/wangnov/uv-custom/releases
62
- uv venv
84
+ uv venv --python 3.12
63
85
  uv pip install winload
64
86
  uv run winload
65
87
  uv run python -c "import shutil; print(shutil.which('winload'))"
@@ -87,6 +109,8 @@ cargo install --list
87
109
  ### Windows (Scoop)
88
110
  ```powershell
89
111
  scoop bucket add vincentzyu https://github.com/VincentZyuApps/scoop-bucket
112
+ # or from Gitee:
113
+ # scoop bucket add vincentzyu https://gitee.com/vincent-zyu/scoop-bucket
90
114
  scoop install winload
91
115
  # execute bin file
92
116
  win-nload
@@ -123,6 +147,16 @@ which winload
123
147
  ```
124
148
  > 📄 [View Gitee install script](https://gitee.com/vincent-zyu/winload/blob/main/docs/install_scripts/install_gitee.sh)
125
149
 
150
+ ### macOS / Linux (Homebrew)
151
+ ```bash
152
+ brew tap vincentzyuapps/tap
153
+ # or from Gitee (manual tap clone):
154
+ # git clone https://gitee.com/vincent-zyu/homebrew-tap.git "$(brew --prefix)/Library/Taps/vincentzyuapps/homebrew-tap"
155
+ brew install winload
156
+ which winload
157
+ ```
158
+ > 📄 [View Homebrew formula](https://github.com/VincentZyuApps/homebrew-tap/blob/main/Formula/winload.rb)
159
+
126
160
  > ⚠️ These install scripts only support systems with **apt or dnf** package managers on **x86_64 / aarch64** architectures. For other platforms, use **npm** (`npm install -g @vincentzyuapps/winload`) or **Cargo** (`cargo install winload`) instead.
127
161
 
128
162
  <details>