An open API service indexing awesome lists of open source software.

https://github.com/sumitsarraf/keep-awake-bot-python

A lightweight Python script to simulate user activity by moving the cursor and pressing the Shift key at intervals. Useful for preventing system sleep or appearing active.
https://github.com/sumitsarraf/keep-awake-bot-python

afk automation keep-awake keyboard mouse productivity pyautogui python script

Last synced: 6 months ago
JSON representation

A lightweight Python script to simulate user activity by moving the cursor and pressing the Shift key at intervals. Useful for preventing system sleep or appearing active.

Awesome Lists containing this project

README

          

# 🖱️ keep-awake-bot-python is Auto Mouse Mover with Shift Key Presser

A simple Python script that periodically moves the mouse to random screen locations and simulates a **Shift key** press. Useful for preventing system sleep or appearing "active" on your machine.

## 🚀 Features

- Random mouse movement within screen bounds
- Periodic `Shift` key presses to simulate activity
- Built-in **fail-safe** to stop execution by moving the mouse to a screen corner
- Minimal dependencies and easy to run

## 🧠 Use Cases

- Keep your computer from locking or going to sleep
- Avoid status changes in communication apps (e.g., Teams, Slack)
- Simulate user activity for testing

## 🧰 Prerequisites

- Python 3.6+
- `pyautogui` library

Install dependencies with:

```bash
pip install pyautogui