caffeine/README.md
2026-05-09 21:17:44 +02:00

493 B

caffeine

Keeps your PC awake and your status active by simulating an F16 keypress every 60 seconds.

Requirements

pip install pynput

Usage

python3 caffeine.py

Output

Caffeine started. Ctrl+C to stop. [2026-05-09 10:00:00] F16 pressed #1 [2026-05-09 10:01:00] F16 pressed #2

Press Ctrl+C to stop.

Why F16?

F16 exists at OS level but isn't mapped to any action in most applications, so it registers as activity without interfering with your work.