npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@vincentzyuapps/winload

v0.1.8-beta.4

Published

Network Load Monitor — nload-like TUI tool for Windows/Linux/macOS (prebuilt Rust binary)

Downloads

1,895

Readme

winload

Winload

A lightweight, real-time CLI tool for monitoring network bandwidth and traffic, inspired by Linux's nload.

📖 English 📖 简体中文(大陆) 📖 繁體中文(台灣) 📖 日本語 📖 한국어

GitHub Gitee

Windows x64 | ARM64 Linux x64 | ARM64 macOS x64 | ARM64 Android x64 | ARM64

PyPI npm Crates.io

Scoop AUR APT RPM

📖 Build Docs

🚀 Introduction

Winload brings an intuitive, visual network monitor to the modern terminal. It started as a Windows-focused tool to fill the nload gap, and now targets Linux and macOS as well.

🙏 Acknowledgements

Winload is inspired by the classic 「nload」 project by Roland Riegel. Many thanks for the original idea and experience. https://github.com/rolandriegel/nload

✨ Key Features

  • Dual implementations
    • Rust edition: fast, memory-safe, single static binary—great for everyday monitoring.
    • Python edition: easy to hack and extend for prototyping or integrations.
  • Cross-platform: Windows, Linux, and macOS (x64 & ARM64).
  • Real-time visualization: live incoming/outgoing graphs and throughput stats.
  • Minimal UI: clean TUI that mirrors nload's ergonomics.

📊 Performance Benchmarks

⚡ Winload (Rust) achieves ~10ms startup and <5MB binary size, significantly outperforming Python and matching C++ nload in efficiency.

Winload Benchmark

🐍 Python Edition Installation

💡 Implementation Note: Only PyPI and GitHub/Gitee provide Python edition.
Only Cargo provides Rust source code for local compilation.
All other package managers (Scoop, AUR, npm, APT, RPM) and GitHub Releases distribute Rust binaries only.

Python (pip)

pip install winload
# recommend use uv:
# https://docs.astral.sh/uv/getting-started/installation/
# https://gitee.com/wangnov/uv-custom/releases
uv venv
uv pip install winload
uv run winload
uv run python -c "import shutil; print(shutil.which('winload'))"

📥 Rust Edition Installation (recommended)

npm (cross-platform)

npm install -g @vincentzyuapps/winload
npm list -g @vincentzyuapps/winload
# on Windows, use win-nload to avoid conflict with System32\winload.exe
# on Linux/macOS, both winload and win-nload work
# or use npx directly
npx @vincentzyuapps/winload

⚠️ The old package winload-rust-bin has been deprecated. Please use @vincentzyuapps/winload instead. The scoped package name is required for GitHub Packages compatibility.

Includes 6 precompiled binaries for x86_64 & ARM64 across Windows, Linux, and macOS.

Cargo (Build from source)

cargo install winload
cargo install --list

Windows (Scoop)

scoop bucket add vincentzyu https://github.com/VincentZyuApps/scoop-bucket
scoop install winload
# execute bin file
win-nload
Get-Command win-nload # Powershell
where win-nload # CMD

💡 Recommended: use Windows Terminal instead of the legacy Windows Console for correct CJK character rendering and better TUI experience.

scoop bucket add versions
scoop install windows-terminal-preview
wtp

Arch Linux (AUR):

paru -S winload-rust-bin
which winload

Linux (one-liner)

Supports Debian/Ubuntu and derivatives — Linux Mint, Pop!_OS, Deepin, UOS, etc. (apt)

Supports Fedora/RHEL and derivatives — Rocky Linux, AlmaLinux, CentOS Stream, etc. (dnf)

curl -fsSL https://raw.githubusercontent.com/VincentZyuApps/winload/main/docs/install_scripts/install.sh | bash
which winload

📄 View install script source

🇨🇳 Gitee mirror (faster in China Mainland):

curl -fsSL https://gitee.com/vincent-zyu/winload/raw/main/docs/install_scripts/install_gitee.sh | bash
which winload

📄 View Gitee install script

⚠️ 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.

DEB (Debian/Ubuntu):

# Download the latest .deb from GitHub Releases
sudo dpkg -i ./winload_*_amd64.deb
# or use apt (auto-resolves dependencies)
sudo apt install ./winload_*_amd64.deb
which winload

RPM (Fedora/RHEL):

sudo dnf install ./winload-*-1.x86_64.rpm
which winload

Or download binaries directly from GitHub Releases.

⌨️ Usage

winload              # Monitor all active network interfaces
winload -t 200       # Set refresh interval to 200ms
winload -d "Wi-Fi"   # Start with a specific device
winload -e           # Enable emoji decorations 🎉
winload --npcap      # Capture 127.0.0.1 loopback traffic (Windows, requires Npcap)

Options

| Flag | Description | Default | |------|-------------|---------| | -t, --interval <MS> | Refresh interval in milliseconds | 500 | | -a, --average <SEC> | Average calculation window in seconds | 300 | | -d, --device <NAME> | Default device name (partial match) | — | | -e, --emoji | Enable emoji decorations in TUI 🎉 | off | | -U, --unicode | Use Unicode block characters for graph (█▓░·) | off | | -u, --unit <UNIT> | Display unit: bit or byte | bit | | -b, --bar-style <STYLE> | Bar style: fill, color, or plain | fill | | --in-color <HEX> | Incoming graph color, hex RGB (e.g. 0x00d7ff) | cyan | | --out-color <HEX> | Outgoing graph color, hex RGB (e.g. 0xffaf00) | gold | | -m, --max <VALUE> | Fixed Y-axis max (e.g. 10M, 1G, 500K) — conflicts with --smart-max | auto | | --smart-max [SECS] | Smart adaptive Y-axis: auto-decays after traffic spikes (default half-life: 10s) — conflicts with --max | off | | -n, --no-graph | Hide graph, show stats only | off | | --hide-separator | Hide the separator line (row of equals signs) | off | | --no-color | Disable all TUI colors (monochrome mode) | off | | --npcap | [Windows Rust Only] Capture loopback traffic via Npcap (recommended) | off | | --debug-info | Print network interface debug info and exit | — | | -h, --help | Print help (--help --emoji for emoji version!) | — | | -V, --version | Print version | — |

Y-axis scaling modes — there are three mutually exclusive scenarios:

| Mode | Flag | Behavior | |------|------|----------| | Fixed max | --max <VALUE> | Y-axis is locked to the specified value (e.g. 10M, 1G). | | Smart max | --smart-max [SECS] | Y-axis adapts automatically: jumps up on traffic spikes, then smoothly decays back down (exponential decay, default half-life 10 s). | | History peak | (neither flag) | Y-axis follows the historical maximum of each metric — the default behavior. |

⚠️ --max and --smart-max conflict with each other — you can only use one at a time.

Keyboard Shortcuts

| Key | Action | |-----|--------| | / or / | Switch network device | | F3 | Toggle debug info overlay (Minecraft-style) | | = | Toggle separator line visibility | | c | Toggle color on/off | | q / Esc | Quit |

🪟 Windows Loopback (127.0.0.1)

Windows cannot report loopback traffic through standard APIs — this is a functional deficiency in Windows' network stack.

To capture loopback traffic on Windows, use the --npcap flag:

winload --npcap

This requires Npcap installed with "Support loopback traffic capture" enabled during setup.

I previously tried polling Windows' own GetIfEntry API directly, but the counters are always 0 for loopback — there is simply no NDIS driver behind the loopback pseudo-interface to count anything. That code path has been removed.

📖 For a deep dive into why Windows loopback is broken, see docs/win_loopback.md

On Linux and macOS, loopback traffic works out of the box — no extra flags needed.

🖼️ Previews

Python Edition Preview

docs/preview-py.png

Rust Edition Preview

docs/preview-rust.png