Hacker News new | ask | show | jobs
Show HN: Keep-Alive – Cross-Platform Tool to Prevent System Sleep (github.com)
3 points by sog 555 days ago
Keep-Alive is a lightweight, cross-platform utility designed to prevent your system from going to sleep. It’s perfect for maintaining active connections, downloads, or any long-running process.

Features:

- Configurable keep-alive durations.

- Cross-platform support: macOS, Windows, and Linux.

- Lightweight, efficient, and easy to use.

- Uses native APIs for reliability:

  - macOS: caffeinate

  - Windows: SetThreadExecutionState

  - Linux: systemd-inhibit.

Why I Built It: I created Keep-Alive after struggling with systems going idle during tasks like large downloads or remote connections. I wanted a simple, intuitive solution that required no setup.

Try it here: https://github.com/stigoleg/keep-alive

I’d love to hear your feedback, ideas, or suggestions! Thank you for checking it out!