Skip to content

🦊 Lightweight Windows utility that keeps your computer awake by moving the mouse cursor. Native Win32, ~200KB, no dependencies.

License

Notifications You must be signed in to change notification settings

virtualox/AwakeFox-oss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AwakeFox 🦊

License: MIT Windows x64 C++17 VirusTotal

A lightweight Windows utility that keeps your computer awake by periodically moving the mouse cursor.

Features

  • Minimal footprint: ~200-300KB executable with no dependencies
  • System tray support: Minimize to tray and run in background
  • Adjustable interval: 10-300 seconds between movements
  • Clean GUI: Native Windows dialog with modern visual styles
  • Settings persistence: Remembers your preferences via Windows Registry
  • DPI aware: Looks sharp on high-DPI displays

Screenshot

AwakeFox Screenshot

Building

Requirements

  • Visual Studio 2022 (any edition)
  • Windows SDK 10.0 or later

Build Steps

  1. Open AwakeFox.sln in Visual Studio 2022
  2. Select Release | x64 (or x86 for 32-bit)
  3. Build → Build Solution (Ctrl+Shift+B)
  4. Find the executable in bin/Release/x64/AwakeFox.exe

Icon

The icon is included in AwakeFox/res/icon.ico. If you want to replace it, use an ICO file with multiple sizes: 16x16, 32x32, 48x48, 256x256.

Usage

  1. Run AwakeFox.exe
  2. Adjust the interval using the slider (default: 60 seconds)
  3. Click Start to begin keeping your computer awake
  4. Minimize to system tray to run in background
  5. Right-click tray icon for quick access menu

How It Works

AwakeFox prevents your computer from going to sleep by moving the mouse cursor by 1 pixel and immediately moving it back. This is imperceptible to users but keeps the system active.

The movement uses the Windows mouse_event API with relative coordinates, so your cursor position remains unchanged.

Settings

Settings are stored in the Windows Registry at:

HKEY_CURRENT_USER\Software\JustFox\AwakeFox
  • Interval (DWORD): Seconds between movements
  • MinimizeToTray (DWORD): Whether to minimize to tray on close

License

This project is licensed under the MIT License - see the LICENSE file for details.

Copyright (c) 2025 JustFox (VirtualOx B.V.)

Author

Made with 🦊 by JustFox

About

🦊 Lightweight Windows utility that keeps your computer awake by moving the mouse cursor. Native Win32, ~200KB, no dependencies.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Sponsor this project

  •