[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-109372":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":9,"rankLanguage":9,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":22,"topics":25,"createdAt":9,"pushedAt":33,"updatedAt":34,"readmeContent":35,"aiSummary":36,"trendingCount":15,"starSnapshotCount":15,"syncStatus":37,"lastSyncTime":38,"discoverSource":39},109372,"RustWTM","ersinkoc\u002FRustWTM","ersinkoc","Windows task manager and resource governor written in Rust. Monitor processes, manage resource usage, and keep your PC responsive.",null,"Rust",262,7,51,3,0,15,170,206,186,92.71,"MIT License",false,"main",true,[26,27,28,29,30,31,32],"cpu-limiter","egui","process-manager","rust","task-manager","windows","windows-service","2026-11-23 12:39:35","2026-11-23 14:58:33","\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002Flogo.svg\" width=\"128\" height=\"128\" alt=\"RustWTM logo\">\n\u003C\u002Fp>\n\n\u003Ch1 align=\"center\">RustWTM\u003C\u002Fh1>\n\n\u003Cp align=\"center\">\n  \u003Cb>The Windows task manager that keeps your PC responsive.\u003C\u002Fb>\u003Cbr>\n  Built in Rust by \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fersinkoc\">Ersin KOÇ\u003C\u002Fa>.\n\u003C\u002Fp>\n\nA Windows task manager written in Rust, with a background governor that keeps\nthe machine responsive: it throttles, caps, suspends or terminates processes\nthat overload the CPU, gives apps CPU and memory budgets, frees RAM under\npressure, never slows down the app you are using, and learns from long-term\nusage history.\n\n[![CI](https:\u002F\u002Fgithub.com\u002Fersinkoc\u002FRustWTM\u002Factions\u002Fworkflows\u002Fci.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fersinkoc\u002FRustWTM\u002Factions\u002Fworkflows\u002Fci.yml)\n[![License: MIT](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-blue.svg)](LICENSE)\n[![Latest release](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002Fersinkoc\u002FRustWTM)](https:\u002F\u002Fgithub.com\u002Fersinkoc\u002FRustWTM\u002Freleases\u002Flatest)\n\n> **Status:** early release. Sensors and cooling controls are available\n> through the optional hardware provider. Device support varies; physical fan\n> writes still require validation on each supported hardware configuration.\n> Enforcement is **off by default** (dry-run); review the event log first.\n\n![RustWTM Performance view with CPU, memory, GPU, disk and network graphs](screenshots\u002Fperformance.png)\n\n[Overview resource gauges and history cards](screenshots\u002Foverview.png)\n\n[Product completion roadmap](docs\u002Fproduct-roadmap.md) · [Windows signing setup](docs\u002Fsigning.md)\n\n## Features\n\n**Task manager (GUI `rustwtm`, CLI `wtm`)**\n\n- **Docker containers**: a read-only monitor for the active local Docker context,\n  including Compose project\u002Fstate\u002Fsearch filters, CPU, memory\u002Flimit, network and\n  disk rates, recent graphs, port mappings, health, restart count and bounded logs.\n  Overview shows running containers and the busiest sampled workloads. Docker is\n  optional; engine failures never block the process sampler. [Setup and limits](docs\u002Fdocker.md).\n  [Container monitor preview](screenshots\u002Fcontainers.png).\n\n- Overview start page: load at a glance, one-click protection on\u002Foff and\n  protection levels, the busiest apps with quick actions.\n\n- Processes: list, tree or Apps view (one row per app, acting on all of its\n  processes), program icons, search (Ctrl+F), sort by any column, choose columns,\n  details panel (path, command line, user, priority, affinity, efficiency\n  mode, uptime, I\u002FO), open file location.\n- Pause process-list updates (F6) to inspect a stable snapshot while monitoring\n  and protection continue. Quick filters for high CPU (5%+), high memory\n  (512 MiB+) and managed processes combine with name, PID, path and command-line\n  search, with processes started in the last N minutes, disk- or GPU-active\n  processes, and user apps versus services. Wide tables scroll horizontally; the details panel scrolls and closes.\n- Events: search by process, PID or message alongside severity filters; open a\n  message to read and copy the full diagnostic, even in compact windows.\n  [Event diagnostics preview](screenshots\u002Fevents.png).\n- Monitoring data shows its last receipt age on every page. Sampling failures\n  and delayed updates display a warning while retaining the last values.\n- **Reserved for RustWTM**: when the CPU is pinned, a rescue core is kept free\n  for RustWTM and Windows by moving other programs off it until the load drops.\n  The service and the window keep memory resident and run ahead of ordinary\n  apps, so RustWTM stays usable on an overloaded machine. See\n  [`[reserve]`](docs\u002Fconfiguration.md#reserve).\n- Actions: end task, end process tree, suspend \u002F resume, priority, CPU\n  affinity, efficiency mode (EcoQoS), hard CPU cap and memory cap (job objects).\n- Performance graphs (CPU with every logical processor, memory, GPU, network,\n  disk I\u002FO), App history, Startup apps,\n  Users, Services (start \u002F stop \u002F startup type), Network connections, Events;\n  every list sorts by any column.\n- **Why it hangs, why it won't end**: programs whose window does not respond\n  are marked *Not responding* (with a quick filter and an Overview warning);\n  *Analyze wait chain* shows what their blocked threads wait for, across\n  processes, and spots deadlocks. *Why won't it end?* explains a process that\n  refuses to go: Windows protection, a security or anti-cheat driver that\n  withholds the right, or other programs still holding it open.\n- **Modules**: the DLLs a process loaded and who signed each (offline\n  Authenticode and catalog check); unsigned and invalid ones first.\n- **Network per program**: bytes received and sent per process (ETW, through\n  the service or as administrator), a *Network* column and the busiest\n  programs in the Network tab; *Close* resets an IPv4 TCP connection, and\n  *Block network access* cuts a program off with two Windows Firewall rules\n  (undo with *Unblock* in the Network tab).\n- **Game mode**: while a full-screen app is in front, busy background apps get\n  below-normal priority and efficiency mode (optionally the High performance\n  power plan), all rolled back when it ends. See [`[game_mode]`](docs\u002Fconfiguration.md#game_mode).\n- **Leak detection**: steady growth of memory, handles or threads in the app\n  history is reported as a leak suspect.\n- **Memory dumps from a clone**: the process is snapshotted (copy-on-write) and\n  dumped from the snapshot, so it is frozen for milliseconds, not the whole\n  write. The sign-in secrets processes (lsass, LsaIso) are never dumped.\n- **AI assistants (MCP)**: `wtm mcp` is a Model Context Protocol server on\n  standard input\u002Foutput, so Claude Desktop, Claude Code and other MCP clients\n  can ask what this PC is doing. Read-only unless started with\n  `--allow-control`; nothing listens on the network.\n- **Disks**: every drive with its free space, live activity per physical disk\n  and the processes reading and writing the most. *Analyze* any drive or folder\n  to see what takes up the space: a folder tree with sizes and shares, the 200\n  largest files and the space per file type, each with *Show in Explorer*.\n  Results open in a dedicated analysis page with independent scrolling. Live\n  file activity cannot displace the results; *Back to disks* and *Open disk\n  analysis* retain the scan, expanded folders and scroll position. Columns adapt\n  to compact windows.\n  The scan runs on a few background-priority threads (a 2 TB, 6 million file system\n  drive took about a minute) and never follows junctions or symbolic links.\n  *Files being read and written* lists, per program, the files moving the most\n  disk bytes right now (a kernel trace that runs only while the tab is open,\n  through the service or as administrator).\n- Update notice with one-click update: the new installer is downloaded,\n  checked against its published SHA-256 and installed; RustWTM restarts\n  by itself.\n- Run new task (optionally as administrator) and one-click restart as\n  administrator; the window remembers its size, tab, columns and sorts.\n  Opening it as administrator also remembers that preference. In a protected\n  installation folder, fixed per-user scheduled tasks provide administrator\n  launches and optional sign-in startup without storing a password. Settings\n  can turn either preference off. Portable copies use the normal UAC prompt;\n  automatic privileged startup requires an administrator-protected install.\n- GUI and desktop notifications in English, Türkçe, Deutsch, Français and\n  Español, with immediate language selection and a saved per-user preference.\n  The first launch follows the Windows UI language. See [language support](docs\u002Flocalization.md).\n- Settings: edit the service's configuration with live validation and a\n  one-click switch between dry-run and enforcing.\n- **Overload alert**: when the CPU stays above 90%, RustWTM pops up over all\n  windows with the busiest apps and one-click fixes (calm them all down,\n  efficiency mode, limit to one core, pause, end) before the PC becomes\n  unusable.\n- Tray icon with a live CPU bar, desktop notifications; keeps running in the\n  tray and starts there at sign-in (switchable in Settings).\n\n**Governor service (`wtm-service`)**\n\n- **CPU governor**: when the whole system stays above a threshold, the top\n  consumers are escalated step by step (lower priority → efficiency mode →\n  hard CPU cap) and rolled back once the system recovers.\n- **Memory guard**: when RAM stays above 90%, the biggest background apps\n  release their working sets (nothing is closed or lost).\n- **The app you use stays fast**: the foreground app and its child processes\n  are never throttled (`protect_foreground`).\n- **Rules**: match processes by name or path (wildcards), optionally require a\n  sustained condition (`cpu_above`, `memory_above_mb`, `gpu_above`), then apply actions —\n  including `kill`. Unconditional rules react within ~250 ms of a process\n  starting.\n- **App limits**: give an app a CPU and\u002For memory budget (`node.exe`: 2 cores;\n  `zen.exe`: 8 GB per instance) shared by all of its processes and their\n  children. Edit them in the **Limits** tab or with `wtm app-limit`.\n- **Kill list and panic button**: programs that may be ended, matched by\n  name and command line (`node.exe` running `vitest` only). The service ends\n  one that keeps eating CPU and does not recover; the panic button\n  (Ctrl+Shift+K, `wtm panic --yes`) ends the whole list at once.\n- **Ports**: every listening port with the program behind it, who can reach\n  it (this PC only \u002F all networks) and how many clients are connected; the\n  usual ports of ~75 developer tools and servers (Vite, Next.js, PostgreSQL,\n  Redis, Docker, Ollama, …) with their state; watched ports of your own;\n  *Free a port* ends whatever keeps it busy (`wtm ports`,\n  `wtm free-port 3000 --yes`). Windows' own ports and service hosts are left\n  alone, and Docker \u002F WSL relays come with a warning.\n- **Swarm warning**: hundreds of copies of one program (a script that keeps\n  starting `powershell.exe` and never waits for it) are reported with who\n  started them; Overview ends them all, or only the orphaned ones, in one\n  click.\n- **Telegram bot**: status, busiest processes, ports, services and alerts on\n  your phone; end (after a confirming tap), suspend and resume processes,\n  free a port or press the panic button from anywhere. Only the chat IDs you\n  allow can use it; set it up in Settings → Telegram.\n- **Blocking**: programs on the `block` list are prevented from starting at\n  all (Image File Execution Options), with a notification to the user.\n- **Long-term insights**: per-minute, per-app usage is recorded to SQLite.\n  Apps with chronically high CPU or steadily growing memory (linear trend with\n  R² fit) are flagged, reported, and optionally acted on.\n- **Safe by design**: dry-run by default; core Windows processes, critical\n  processes and RustWTM itself are never touched; every source (governor,\n  rules, insights, manual) is tracked separately and everything is rolled back\n  when the service stops.\n\n**Sensors & cooling** shows device temperatures, RPM, power, voltage and clocks,\nwith min\u002Fmax and recent samples. Supported channels offer manual duty, editable\ncurves and Quiet\u002FBalanced\u002FPerformance presets. Applying software control requires\nan elevated GUI, the matching service and enforcing mode. Saved profiles are\ndrafts; startup keeps hardware automatic control. See [hardware setup and\nvalidation limits](docs\u002Fhardware.md).\n\nHybrid CPU discovery, P\u002FE\u002FLP-E process selection and shared Windows frequency\nlimits are available in 0.13.1. See [CPU topology and\npower controls](docs\u002Fcpu-controls.md) for commands, scope and rollback behavior.\nShared power-plan limits persist until you restore the saved settings.\n\n## Requirements\n\n- Windows 10 1809 or later \u002F Windows 11, 64-bit.\n- Administrator rights to install the service and to control processes of\n  other users and services.\n\n## Install\n\n### One-liner (latest release)\n\nFrom an **elevated** PowerShell:\n\n```powershell\nirm https:\u002F\u002Fraw.githubusercontent.com\u002Fersinkoc\u002FRustWTM\u002Fmain\u002Fscripts\u002Finstall.ps1 | iex\n```\n\nThis downloads the latest release, verifies its SHA-256 checksum, installs to\n`C:\\Program Files\\RustWTM`, adds it to `PATH`, creates a Start Menu shortcut,\nand installs and starts the `RustWTM` service (in dry-run mode).\n\nOptions (download the script first to pass them):\n\n```powershell\n.\\install.ps1 -Version v0.1.0          # a specific release\n.\\install.ps1 -NoService               # GUI and CLI only\n.\\install.ps1 -FromSource .            # build this checkout instead of downloading\n.\\install.ps1 -DownloadOnly -InstallDir D:\\Tools\\RustWTM   # portable, no admin needed\n```\n\n### MSI package\n\nEach release also ships `RustWTM-\u003Cversion>-x64.msi` (with a `.sha256`). It\ninstalls to `C:\\Program Files\\RustWTM`, registers and starts the service\n(with automatic restart on failure), adds the folder to `PATH` and creates a\nStart Menu shortcut. Uninstall it from *Settings → Apps*; configuration and\nhistory in `%ProgramData%\\RustWTM` are kept.\n\n```powershell\nmsiexec \u002Fi RustWTM-0.26.2-x64.msi            # interactive\nmsiexec \u002Fi RustWTM-0.26.2-x64.msi \u002Fqn        # silent\n```\n\n### Open with Ctrl+Shift+Esc\n\nIn **Settings → This window → Windows Task Manager**, enable **Use RustWTM for\nCtrl+Shift+Esc**. This optional machine-wide setting opens RustWTM from Windows\nTask Manager entry points, even when RustWTM is not running; an existing window\nis brought forward. It requires administrator rights and a protected installed\ncopy. Portable\u002Fdevelopment copies cannot enable it.\n\nTurn the option off to restore Windows Task Manager. Existing replacements from\nother applications are preserved; restore them in their application first.\nThe CLI offers read-only status and explicit enable\u002Frestore commands:\n\n```powershell\nwtm task-manager\nwtm task-manager --enable     # elevated terminal\nwtm task-manager --restore    # elevated terminal; also works without the GUI\n```\n\nSee [Task Manager integration](docs\u002Ftask-manager.md) for recovery and validation\nboundaries. Uninstall removes only RustWTM's own registration.\n\n### Uninstall\n\n```powershell\n& \"$env:ProgramFiles\\RustWTM\\uninstall.ps1\"            # keeps config and history\n& \"$env:ProgramFiles\\RustWTM\\uninstall.ps1\" -RemoveData\n```\n\n### From source\n\n```powershell\ngit clone https:\u002F\u002Fgithub.com\u002Fersinkoc\u002FRustWTM\ncd RustWTM\ncargo build --release      # the toolchain is pinned in rust-toolchain.toml\n.\u002Fscripts\u002Fbuild-hardware.ps1 -OutputDir target\u002Frelease\u002Fhardware\n```\n\nBinaries land in `target\\release\\`: `rustwtm.exe` (GUI), `wtm.exe` (CLI),\n`wtm-service.exe` (service).\nThe optional provider build requires the .NET 8 SDK or newer. Release packages\ninclude a self-contained provider; users do not need to install .NET separately.\n\n## Usage\n\n### GUI\n\nStart **RustWTM** from the Start Menu. Right-click a process for actions.\nThe badge in the top-right corner shows whether the GUI is connected to the\nservice; run it as administrator to send commands through the service.\n\n### CLI\n\n```text\nwtm list --sort mem -n 20          one-shot listing\nwtm list --json                    the same as JSON (also `info`, `ports`)\nwtm sensors --json                local read-only hardware readings\nwtm cores                         logical processors and relative P\u002FE tiers\nwtm affinity 1234 --ecores         use the regular efficient tier\nwtm power show                    shared Windows frequency policy (read-only)\nwtm top                            live view (c\u002Fm\u002Fd\u002Fp\u002Fn to sort, q to quit)\nwtm info chrome                    details of every chrome.exe\nwtm kill 1234 --tree               end a process and its descendants\nwtm suspend notepad \u002F wtm resume notepad\nwtm trim chrome                    free RAM held by every chrome.exe\nwtm dump 1234                      full memory dump file, for debugging\nwtm priority 1234 below-normal\nwtm affinity 1234 0-3,6\nwtm eco 1234 on\nwtm limit 1234 --cpu 10 --memory 2G   hard caps (Ctrl+C lifts them)\nwtm history --hours 24             long-term per-app usage and findings\nwtm app-limit set node.exe --cores 2 --memory 8G   persistent app budget\nwtm app-limit list                 configured app limits and their usage\nwtm ports --known                  listening ports of dev tools and servers\nwtm free-port 3000 --yes           end whatever keeps port 3000 busy\nwtm config show                    the service's configuration\nwtm config check my.toml           validate a file\nwtm config apply my.toml           validate and apply it (elevated)\nwtm mcp [--allow-control]          MCP server for AI assistants (stdio)\n```\n\nTo let an MCP client use it, add RustWTM to its server list, e.g. in Claude\nDesktop's `claude_desktop_config.json`:\n\n```json\n{ \"mcpServers\": { \"rustwtm\": { \"command\": \"C:\\\\Program Files\\\\RustWTM\\\\wtm.exe\", \"args\": [\"mcp\"] } } }\n```\n\nor with Claude Code: `claude mcp add rustwtm -- \"C:\\Program Files\\RustWTM\\wtm.exe\" mcp`.\nTools: `system_overview`, `list_processes`, `process_details`,\n`why_not_responding`, `why_wont_it_end`, `network_connections`, `drives`,\n`recent_events`; with `--allow-control` also `end_process`, `suspend_process`,\n`resume_process`, `set_priority` and `efficiency_mode`, which require the\n`create_time` that `list_processes` reports, so a PID reused meanwhile is\nrefused.\n\nTargets are PIDs or image names (`.exe` optional, case-insensitive).\n\n### Service\n\n```text\nwtm-service install | uninstall | start | stop\nwtm-service cleanup                remove RustWTM's program blocks and firewall rules\nwtm-service console --data-dir .\\data    run the engine in the foreground\n```\n\nThe service runs as SYSTEM, so `install` refuses a folder that others than\nadministrators can change (or that a folder above lets them move): install\nfrom Program Files with `install.ps1` or the MSI. To install a development\nbuild from its build folder, set `RUSTWTM_ALLOW_ANY_INSTALL_DIR=1` first, on\na development machine only.\n\n## Configuration\n\nThe service reads `%ProgramData%\\RustWTM\\config.toml` (created with commented\ndefaults on first start) and reloads it automatically when it changes. Edit it\nin the GUI's **Settings** tab or with `wtm config apply` (both validate first\nand need an elevated client), or by hand.\n\n```toml\ndry_run = true            # log decisions only; set to false to enforce\nblock = [\"xmrig.exe\"]     # never starts at all\n\n[governor]\nhigh_cpu_percent = 90.0   # act when the system stays above this...\nsustain_secs = 5          # ...for this long\nrecover_cpu_percent = 70.0\nladder = [{ priority = \"below_normal\" }, \"eco_qos\", { cpu_cap_relative = 0.5 }]\n\n[insights]\nwindow_hours = 24\nchronic_cpu_percent = 10.0\nchronic_actions = [{ priority = \"below_normal\" }, \"eco_qos\"]\ngrowth_mb_per_hour = 200.0\ngrowth_actions = []        # report only\n\n[[rule]]\nname = \"Kill miner variants\"\nmatch = { name = \"xmrig*.exe\" }\nactions = [\"kill\"]\n```\n\nSee [docs\u002Fconfiguration.md](docs\u002Fconfiguration.md) for every option.\n\n> CPU percentages are a share of the **whole machine** (all logical\n> processors), the same scale the process list uses.\n\n## Security model\n\n- The service runs as LocalSystem. Its data directory is restricted to\n  SYSTEM and Administrators (users can read).\n- The GUI\u002FCLI talk to it over the local named pipe `\\\\.\\pipe\\RustWTM`\n  (remote clients rejected). Anyone can read status; **control requests require\n  an elevated administrator**. Detail queries run with the caller's own rights.\n- Clients verify that the pipe is served by the installed `RustWTM` service.\n- The Telegram bot token lives in `telegram.toml`, readable only by SYSTEM and\n  Administrators. The bot answers only the chat IDs on its list (Telegram\n  vouches for the sender), asks before ending anything, never ends protected\n  processes, and can be limited to reports.\n\nReport vulnerabilities as described in [SECURITY.md](SECURITY.md).\n\n## Architecture\n\n| Crate | Purpose |\n|---|---|\n| `wtm-sys` | Safe wrappers over Win32 \u002F NT APIs — the only crate with `unsafe` |\n| `wtm-core` | Process model, sampler, process tree, control actions, startup apps |\n| `wtm-policy` | Config, governor, rule engine, long-term insights (pure logic) |\n| `wtm-ipc` | Named-pipe protocol and client |\n| `wtm-service` | Windows service: engine loop, executor, history, IPC server |\n| `wtm-gui` | egui front-end (`rustwtm.exe`) |\n| `wtm-cli` | Command-line interface (`wtm.exe`) |\n\n## Development\n\n```powershell\ncargo fmt --all\ncargo clippy --workspace --all-targets -- -D warnings\ncargo test --workspace\n```\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) and the roadmap in [PLAN.md](PLAN.md).\nThe [0.13.0 system review](docs\u002F0.13.0-review.md) covers the current architecture,\nvalidation boundaries and the implemented sensors and cooling work.\nThe [0.26.2 release review](docs\u002F0.26.2-review.md) records the latest reproduced\ndefects, regression evidence, release checks and remaining hardware boundaries.\n\n## License\n\n[MIT](LICENSE)\n","RustWTM 是一款基于 Rust 开发的 Windows 任务管理器与系统资源治理工具。它提供进程监控、CPU\u002F内存使用限制、进程暂停与终止、RAM 压力释放等核心功能，并通过后台资源治理引擎动态保障前台应用响应性；采用 egui 构建轻量跨屏 GUI，支持 Docker 容器只读监控与事件日志追溯。适用于开发人员、高性能计算用户及对系统稳定性与资源可控性有较高要求的 Windows 桌面场景。",2,"2026-11-24 04:36:40","CREATED_QUERY"]