Skip to content
/ Wdottop Public

A minimalist 1-pixel "Ghost Window" in Go that stays on top to prevent GPU downclocking. Features click-through, transparency, and system tray integration.

License

Notifications You must be signed in to change notification settings

Suceru/Wdottop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Version Platform License

Wdottop

A minimalist 1-pixel "Ghost Window" in Go that stays on top to prevent GPU downclocking. Features click-through, transparency, and system tray integration.
这是一个极简的 Windows 实用工具,使用 Go 语言通过原生的 Win32 API 构建。它会创建一个置顶的、1x1 像素的“幽灵窗口”。

🛠 核心功能

  • 1 像素窗口:极小化占用,物理上几乎不可见。
  • 绝对置顶 (HWND_TOPMOST):始终处于所有窗口的最前端,确保系统将其视为当前的活跃焦点。
  • 点击穿透 (WS_EX_TRANSPARENT):虽然窗口在最前,但鼠标点击会直接穿透到下层应用,不影响正常操作。
  • 诱导 GPU 性能:通过维持前台活跃窗口状态,防止显卡驱动因检测不到活跃应用而进入低功耗/降频模式。
  • 系统托盘:无任务栏图标,通过系统托盘图标右键即可退出。

🚀 快速开始

编译环境

  • Go 1.20+
  • Windows 环境

编译命令

为了隐藏控制台窗口并优化体积,请使用以下命令编译:

go build -ldflags="-H windowsgui -s -w" -o Wdottop.exe core/main.go

About

A minimalist 1-pixel "Ghost Window" in Go that stays on top to prevent GPU downclocking. Features click-through, transparency, and system tray integration.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages