Caffeine is a minimal, single-file Windows application that lives in your system tray and keeps your screen awake. No more wiggling your mouse during long presentations, downloads, or remote sessions.
Features
- Keep Awake — Uses the native Windows
SetThreadExecutionState API to prevent sleep and display timeout
- Stay Green Mode — Jiggles the mouse by 1 pixel to keep collaboration apps (Teams, Slack) showing you as "Available"
- Auto-Off Timers — Set caffeine to deactivate after 15 minutes, 30 minutes, 1 hour, or 2 hours
- Pomodoro Timer — Built-in Pomodoro technique timer with configurable work/break durations and cycles
- Dark & Light Themes — Follows your Windows system theme or can be set manually
- System Tray Integration — Left-click to toggle, double-click to open, right-click for menu



Technical Highlights
- Single-file executable with no installer needed — just download and run
- Zero external NuGet dependencies
- Custom odometer-style digit animation for the elapsed timer
- Native Win32 interop via P/Invoke for power management and input simulation
- Runs entirely from the system tray with minimal resource usage