StarPie:基于 .NET WPF 的 Windows 鼠标轮盘手势效率工具项目

StarPie 现代化 Windows 鼠标轮盘手势系统

Branch6Tags49
FilesLast commitLast update
25 days ago
7 days ago
2 days ago
7 days ago
2 months ago
3 days ago
3 days ago
24 days ago
2 days ago
6 days ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
3 days ago
2 months ago
2 months ago
4 days ago
4 days ago

📖 Introduction

StarPie is a lightweight radial mouse-gesture productivity tool for Windows 10 / 11.

Note

Stable release: v2.0.0 (October 17, 2026). The plugin system and Theme Studio are included in the stable release. See the v2.0.0 Release for features, upgrade notes, and downloads.

In everyday use, summon the wheel with the right, middle, or side mouse button, or a keyboard trigger, or run actions through independent trail gestures. The v2.0.0 stable release supports 4 / 8 / 12 directions, secondary actions, per-app profiles, shortcut recording, and Theme Studio. Separately installed official plugins provide app launching, URLs, commands, window management, screen OCR, and other capabilities, turning frequent operations into muscle memory.

💡 Design Highlights:

  • Low resource usage: native C# WPF without a bundled browser engine, targeting a quiet-background working set of 15–30 MB; actual usage varies by environment and enabled features.
  • Low-latency response: based on the Win32 WH_MOUSE_LL event stream, without interfering with ordinary right-clicks.
  • Portable use: a self-contained single-file build includes the .NET runtime; extract and run, with configuration stored locally in config.json.

🎬 Demo Videos

Bilibili Demo Video

🎬 Demo Video

🌟 v2.0.0 Stable Release Highlights

StarPie v2.0.0 consolidates the improvements since v1.7.4 and concludes the v1.8.0 Beta line, introducing an independent plugin system, Theme Studio, cascading action editing with undo/redo, unified wheel interaction events, a separate sound plugin, and configuration and runtime stability improvements. Official plugins are downloaded and installed on demand, not bundled with the host.

Area Current Capabilities
Wheel Interaction 4 / 8 / 12 sectors, center-core actions, cascading sub-wheels, honeycomb fans, and outer-escape cancellation
Trail Gestures Up to three segments, eight-direction combinations, trail overlays, segment sensitivity, and release hints
Actions and Windows Hotkeys, apps, URLs, folders, commands, system controls, window switching, tiling, cross-monitor moves, pinning, and transparency
Screen OCR Offline Windows recognition, AI vision APIs, and custom HTTP OCR
Configuration Two-pane focused editing, live wheel preview, cascading action editing, copy/paste, list sorting, and undo/redo
Visual Customization Multiple wheel shapes, independent primary/secondary themes, per-sector overrides, and five Theme Studio styles with theme import/export
Built-in Quick Finder v2.0.0 includes app pre-indexing, category filters, and keyboard controls. It runs independently of Everything.
Plugin Extensions Installation confirmation, capability descriptions, parameter validation, lazy loading, and preloading; official plugins installed separately
Interaction Sounds Event sounds, local WAV, and preset import/export through a separate sound plugin; installation and enabling required
Installation and Upgrades Setup installer, Standalone portable package, and Lightweight portable package

📋 See CHANGELOG.md for the full version history.


✨ Features

1. ⚡ Quick Gesture Summon & Action Trigger

  • Hold the right mouse button and drag past the configured threshold to summon the wheel; release over a sector to run its action, such as a hotkey, application, folder, or system function.
  • Ordinary right-clicks still open the native context menu without interference.
  • Use the right, middle, or side mouse button, a keyboard key, or modifier-key combination as the trigger; choose drag-distance or long-press activation.
  • Shortcut recording can temporarily capture input exclusively and pause global hotkeys to prevent accidentally running combinations such as Win + D or Alt + Tab.
Quick gesture summon and action triggering

Trigger-key combination recording

2. 🌟 Multi-Level Cascading Sub-Wheels

  • Cascading interaction: add 1–4 secondary actions to any sector. Hover inside the primary sector to expand the outer sub-sectors with an elastic animation, then move outward to trigger one.
  • Independent themes and colors: customize dimensions, font sizes, and icon placement per level. Secondary wheels can either synchronize with the primary wheel or use their own style and palette.
  • Choose outer sub-rings or honeycomb fans, with hysteresis and debouncing to reduce flicker and unintended closing near boundaries.
  • Swap primary and secondary actions by dragging; optionally move their associated secondary actions when swapping primary sectors.
Sub-wheel demonstration

Honeycomb sub-wheel demonstration

3. 🚀 Outer Escape Cancel

  • Cancel a gesture without pulling the pointer back to the center core.
  • Flick outward beyond the wheel edge to enter a translucent cancellation state; releasing the right mouse button will not execute an action.
  • Enable or disable the feature in settings and adjust its distance sensitivity from 140px to 320px. Outer-escape cancellation can also run an independent action or preset, while center-core cancellation can remain silent.
Outer-escape cancellation

4. 🎨 Multiple Wheel Shapes & Style Presets

  • Four shapes: compact sectors (Original), floating circles (Circle), rounded capsules (Capsule), and honeycomb hexagons (HexagonHive).
  • Theme presets: system-following, light, dark, liquid glass, matcha forest, glacier blue, and muted Morandi gray.
  • The live interactive preview canvas supports zooming, panning, resetting, click-to-select, and drag-to-swap, with immediate feedback and screen-edge overflow protection using X/Y safety margins.
Wheel shapes and theme switching

Wheel geometry and visual layouts

5. 🎯 Adaptive 4 / 8 / 12 Sector Layouts

  • Four directions: broad up/down/left/right sectors for eyes-free operation.
  • Eight directions: the balanced eight-way layout used by default.
  • Twelve directions: dense mappings for workflows with more actions. The center core can have its own action, with configurable activation dead-zone sensitivity.
Adaptive 4/8/12-sector layouts

6. 💼 Per-App Profiles

  • Assign dedicated wheel profiles to foreground apps such as Chrome, VS Code, Photoshop, or SolidWorks.
  • StarPie automatically matches the active app and falls back to the global profile when there is no dedicated profile.
  • Create, duplicate, delete, and rename profiles to reuse and maintain workflows.
  • Profile inheritance rules: new per-app profiles disable inheritance from unconfigured global slots by default. When enabled, layer N inherits from global layer N; layers beyond the global layer count fall back to global layer 1.
  • Center-core actions follow the active layer, with outer sub-wheels and highlight states refreshed when layers change.
Per-app profile demonstration

7. 🎛️ Action Configuration, Quick App Capture & Drag-to-Edit

  • The Actions page provides a two-pane workspace with a profile selector, focused editing cards, and a live wheel canvas, plus a compact list for reviewing multiple actions.
  • A smart app picker lists installed applications with name search and filtering.
  • Capture a running desktop window or process to avoid manually locating executable files.
  • Select sectors on the canvas and drag to swap primary sectors, secondary actions, and the center core.
  • Enable an independent center-core action, with dead-zone release triggering, presets, and separate text/icon layout.
  • Override layout mode, font, font size, text color, icon size, text placement, and X/Y offsets for individual sectors.
Drag-and-drop action configuration

Smart app search and action configuration

8. 🛡️ Scene Isolation, Fullscreen Safety & Multilingual

  • Fullscreen and game detection: allow native right-clicks while an exclusive-fullscreen app or game is running.
  • Modifier bypass: bypass the wheel while holding Ctrl, Shift, or Alt.
  • Process exclusions: exclude specified processes from gesture activation.
  • Live language switching: built-in Simplified Chinese, Traditional Chinese, English, and Japanese switch immediately. ScreenHelper handles multiple monitors, mixed DPI, and screen-edge coordinates to reduce secondary-monitor drift and overflow.
Accidental-trigger protection and language settings

Screen-edge overflow protection

9. ➡️ Independent Trail Gestures & Visual Hints

  • Assign a right, middle, or side mouse button to trail gestures separately from the wheel trigger.
  • Use up to three segments and eight directions, with short-segment filtering and adjacent same-direction merging to reduce jitter.
  • A transparent overlay shows the trail, starting point, and release hints, with adjustable segment sensitivity and hint placement.
  • Clicks below the drag threshold are replayed as native mouse clicks, preserving normal use.
Trigger-key combination recording

10. 🧰 Action Types

Action Type Purpose
Hotkeys Record or compose key combinations, with primary-key search, Pause/Break support, and exclusive recording
Launch Applications Open EXEs, shortcuts, or files with arguments and normal-privilege launching
Open URLs Use the system default, Chrome, Edge, Firefox, or a custom browser
Open Folders Open local paths and system locations such as Desktop or Downloads
Run Commands CMD, PowerShell, WSL, and hidden-terminal modes
Screen OCR Select a screen region for local, AI, or custom HTTP recognition
Window Management Switch, tile, move across monitors, pin, or adjust transparency
System Controls Lock, volume, media, Task View, virtual desktops, and other system functions

Apart from built-in hotkeys, the app, URL, folder, command, OCR, window-management, and system-control capabilities above require the corresponding official plugins to be installed and enabled in Plugins & Extensions. Action execution and display icons are independent: each action can use a built-in vector icon, program icon, or custom image regardless of its action type.


🧩 v2.0.0 Key Changes

The plugin system and Theme Studio are included in v2.0.0 stable, which consolidates the features and improvements from the former v1.8.0 Beta line.

🧩 Plugin System

Important

Several previously built-in actions have moved to official plugins, which must be installed and enabled separately after upgrading; host packages do not bundle them.

StarPie uses a lightweight .NET in-process DLL plugin architecture. Plugins reference the standalone StarPie.Plugin.Abstractions contract assembly and register actions and other contributions through Initialize. The host creates a wrapper per plugin to manage scanning, loading, lazy activation, invocation leases, exception isolation, asynchronous disabling, and assembly unloading.

The action pipeline covers registration, configuration, parameter validation, and Sequential/Background scheduling. Interaction events and wheel structures also have extension points, allowing further expansion without duplicating the plugin lifecycle.

📖 Plugin development: current documentation, APIs, architecture, examples, and historical material are collected in StarPie Plugin Resources. 🔗 Official plugin repository: GitHub · AtomGit mirror. The host pins a snapshot at plugin/StarPie-Official-Plugins/. The latest plugin source lives on the independent repository’s main branch.

  • Manual official-plugin installation and first-time setup:

    • No pre-bundled modules: release packages do not carry official plugin DLLs; plugin startup and background operation do not automatically make network requests.
    • First-time informed consent: when settings are first opened interactively—not in silent startup or self-test mode—and the plugin system is enabled and healthy, a one-time prompt lists five core modules (folder, weburl, launch, system, shelltool), their official source, and the Process and InputSimulation permissions.
    • No requests before consent: the host does not fetch the catalog or packages before the user chooses Install All. It installs only missing modules, skipping installed modules without replacing, upgrading, or re-enabling them. Permissions beyond those shown require another confirmation.
    • Persistent retry entry: dismissing the prompt or a partial download failure leaves an install/retry entry in plugin settings; completed installations are retained.
  • Local community installation: place a community .dll in the plugin folder beside the executable, rescan, and install from its candidate card, or select the file with the manual community-plugin installer.

  • ⚠️ Dropping a .dll into plugin copies only that DLL: icons, resources, and dependencies are not copied with it. For a full-package installation, select the DLL beside plugin.json through the manual installer; recognizing the manifest enables whole-directory copying.

  • Separate directory responsibilities:

    Directory Role
    <install dir>\plugin\ Community candidate area for manual DLL installation; StarPie reads it without creating or writing files
    %LOCALAPPDATA%\StarPie\plugin-data\ Writable data for installed copies, enabled states, and private plugin data; removed on uninstall
  • Installation and enabling are separate: newly installed plugins remain disabled until explicitly enabled. Installation presents the ID, version, author, target framework, architecture, SHA-256, signature status, and declared capabilities.

  • Explicit candidate status: installable, newer, older, same version installed, content changed, duplicate ID, or unrecognized. Two files declaring the same ID are both flagged as duplicates and cannot be installed.

  • Fail-safe behavior: loading failures and repeated exceptions isolate individual plugins without affecting the host. Two consecutive abnormal startups enter safe mode and temporarily disable suspect plugins.

  • For plugin authors: start with the current quick start and source references in plugin/README.md. Historical plugin/samples/ templates are not in this checkout; current FloatingBall source lives in the official-plugin submodule. For debugging, use StarPie.exe --plugin-selftest <plugin.dll> [report path] --skip-invoke in a temporary sandbox without touching installed plugins, or use StarPie.exe --plugin-paths to inspect the effective directories.

🎨 Theme Studio

Important

Theme Studio works alongside existing wheel shapes and independent colors. See Visual Customization.

Theme Studio in appearance settings offers five styles: paper-like minimalism, obsidian-style tech, soft forest, glacier glass, and retro pixels. Copy and edit colors, fonts, corner radii, and wheel materials, with live preview and theme import/export.

StarPie Theme Studio and live wheel preview

See the Theme Studio documentation or importable examples. Existing configuration and independent wheel colors are preserved.


🚀 Quick Start & Download

Current stable release: v2.0.0 (October 17, 2026). Setup and Standalone include .NET 8; Lightweight requires the .NET 8 Desktop Runtime x64 on the target computer.

To find mirrored downloads, look up the same tag on the AtomGit releases page.

Warning

All three v2.0.0 release packages are unsigned while the production CA certificate is being arranged. Windows may show an unknown publisher warning. Download only from the official Release and verify against its SHA256SUMS.txt; no test certificate was used for this release.

Package Recommended For Description Download
Setup Installer Guided installation, uninstall, and upgrades Includes .NET; detects a running StarPie during installation Download Setup
Standalone Portable Extract-and-run use without installation Includes the .NET runtime Download Standalone
Lightweight Portable Computers with .NET 8 Desktop Runtime installed Does not include the .NET runtime Download Lightweight
Historical and Preview Releases Older versions or preview builds v1.8.0 Beta is a historical development line; v2.0.0 is the current stable release Browse Releases

Back up configuration and plugin data before upgrading. When upgrading from v1.7.4, install and enable the required official modules in Plugins & Extensions. Missing modules leave action data intact, but the corresponding actions remain unavailable. Interaction sounds require the separate sound plugin; the host no longer provides built-in playback. Review existing profiles, enabled states, and preload preferences. Older plugins with an explicit maximum host version may need their authors to update the compatibility declaration.

Basic Workflow:

  1. Download and run StarPie.exe; the app runs quietly in the system tray.
  2. Double-click the tray icon to open settings and record the wheel trigger in trigger settings.
  3. Install and enable the official plugins you need in Plugins & Extensions before configuring their actions.
  4. Hold the trigger and drag past the threshold, or long-press as configured, to summon the wheel near the cursor.
  5. Move over the desired sector and release to execute its action; flick outward to cancel or run the configured cancellation action.
  6. To use trail gestures, enable a dedicated gesture trigger and map one-to-three-segment direction combinations on the Actions page.

🛠️ Local Build & Development

The commands below check out the v2.0.0 stable tag. For ongoing development, clone the default main branch and consult the plugin documentation; development source may be ahead of stable releases.

Requirements

  • Windows 10 / 11 (x64)
  • .NET 8.0 SDK
  • Python 3.10+ (only needed to run the automated test suite)

Build & Run

# 1. Clone the repository
git clone --branch v2.0.0 https://github.com/Star-Pie/StarPie.git
cd StarPie

# 2. Build the project (Release)
dotnet build WinPieGestures/WinPieGestures.csproj -c Release

# 3. Run the project
dotnet run --project WinPieGestures/WinPieGestures.csproj

# 4. Publish Lightweight (requires .NET 8 Desktop Runtime on the target computer)
dotnet publish WinPieGestures/WinPieGestures.csproj -c Release -r win-x64 --no-self-contained -o releases/local/Lightweight

# 5. Publish Standalone (includes the .NET runtime)
dotnet publish WinPieGestures/WinPieGestures.csproj -c Release -r win-x64 --self-contained true -p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true -o releases/local/Standalone

📌 Project Status

StarPie repository activity

  • Stable release: v2.0.0, released October 17, 2026.
  • Development: Quick Search 0.2.2 is a standalone plugin that indexes the drives and folders you select. The host’s main branch routes existing Quick Finder bindings to the plugin. The published plugin catalogs do not yet include a 0.2.2 package. Quick Search source
  • Version history: the release originally planned as v1.8.0 became v2.0.0 to reflect the scale of the changes, concluding the v1.8.0 Beta series. The plugin system and Theme Studio are now part of stable. See Releases and CHANGELOG.md for version history.

Windows Code Signing Support

SignPath Free code signing on Windows provided by SignPath.io, certificate by SignPath Foundation.

💬 Community

QQ Public Testing Group
StarPie QQ public testing group QR code, group number 1079199287

Scan the QR code with QQ or click the badge below to join QQ Public Testing Group: 1079199287

You can also contact the developers by email Developer 1: erisnebula09@gmail.comDeveloper 2: ztzastra@gmail.com

You are also welcome to connect with us on GitHub:

Channel Purpose
GitHub Discussions Exchange tips, share themes and workflows, and discuss feature ideas
GitHub Issues Report bugs, compatibility problems, and concrete feature requests
Pull Requests Submit or discuss code, documentation, and translation improvements

Be kind, respectful, and patient. Provide reproducible details where possible, and never post passwords, API keys, or configuration files containing private information.


🤝 Contributing

Code, documentation, translation improvements, themes, demo assets, and compatibility feedback are welcome. Read the contributing guide before getting started; see the plugin development documentation for plugin contributions.

  • Report an issue: search existing Issues first, then include StarPie and Windows versions, reproduction steps, and relevant screenshots or logs. Remove private information before sharing logs.
  • Discuss a proposal: for changes to interaction behavior, configuration compatibility, or plugin contracts, start with an Issue or Discussion.
  • Submit improvements: explain the purpose, verification results, and unverified areas in your Pull Request. Visual changes and real system interactions still require hands-on acceptance testing.

Thank you to all project contributors!

🙏 Contributor Acknowledgements

Tip

Every improvement to StarPie is made possible by its open-source community. Thank you to everyone who contributes code, reports issues, tests changes, improves translations, or shares themes.

StarPie GitHub contributors

❤️ Support & Thanks

Thank you to everyone who supports StarPie. Your support helps us maintain the code, test compatibility, and improve the documentation. Core features remain free and open source.

Support on Afdian · WeChat, Alipay, and the full sponsors page

Thank you to StarPie supporters. Open the full supporters list.

Sharing your experience, reporting issues, testing changes, and contributing code are valuable support, too. Public listing is entirely optional. To join, update, or leave the list, contact the maintainer as explained on the sponsors page.


⭐ Star History

StarPie GitHub Star history chart