Vigilant is a lightweight system tray application for Windows designed to keep your system active and prevent it from going into sleep mode or changing your status to "Away".
Vigilant runs silently in the background and periodically (every 3 minutes by default) simulates a press of the F15 key.
The F15 key is a non-disruptive key that is not present on most physical keyboards, meaning it won't interfere with your typing or any open applications, but it is recognized by the operating system as user activity.
- System Tray Integration: Easily accessible from the taskbar.
- Visual Feedback: The icon changes to grayscale when paused and color when active.
- Easy Control: Right-click the icon to Pause, Resume, or Exit.
- Lightweight: Minimal CPU and memory footprint.
- Auto-stop: Gracefully closes when you exit the app.
Vigilant/
├── assets/ # Application icons and images
├── scripts/ # Windows batch scripts for setup, run, and build
├── src/ # Python source code
├── .gitignore # Git ignored files
├── LICENSE # MIT License
├── README.md # Project documentation
├── requirements.txt # Python dependencies
└── Vigilant.spec # PyInstaller specification file
- Python 3.9+
- Windows (Primary target for F15 key simulation)
-
Clone the repository:
git clone https://github.com/AnderCMD/Vigilant.git cd Vigilant -
Run the setup script: Execute the setup script in the
scripts/folder to create a virtual environment and install the required dependencies:.\scripts\setup.bat
After installation, you can run the application using the convenient batch script:
.\scripts\run.batAlternatively, you can run it directly with Python:
python src/main.pyIf you want to create a standalone .exe file for Windows:
-
Install PyInstaller:
pip install pyinstaller
-
Run the provided
build.batfor an automated build:.\scripts\build.batOr run the command manually:
pyinstaller --noconsole --onefile --icon=assets/icon.ico --add-data "assets/icon.ico;assets" --name Vigilant src/main.py--noconsole: Prevents a terminal window from appearing.--onefile: Bundles everything into a single.exe.--add-data: Includes the icon file inside the executable (mapped toassets/subfolder).
The generated file will be in the dist/ folder.
pyautogui: For simulating key presses.pystray: For creating the system tray icon.Pillow: For image handling and icon manipulation.
Vigilant does not collect any data, connect to the internet, or track your keystrokes. It only generates a single keypress at a fixed interval.
MIT License - feel free to use and modify for personal or commercial projects.