Skip to content

CLI tool to keep projects awake by pinging deployed URLs or local dev servers to prevent downtime.

Notifications You must be signed in to change notification settings

0xDaniiel/keepawake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🟒 keepawake

A tiny CLI tool that keeps your projects alive β€” whether it's a hosted app (like Glitch, Cyclic, or Replit) or a local dev server you don’t want to fall asleep.


πŸ”§ Features

  • 🌍 Ping-based Keep-Alive
    Automatically sends pings to your deployed project’s URL to prevent it from going idle or sleeping.

  • πŸ’» Local Dev Stabilizer
    Keeps a background Node.js process alive to prevent your local development environment from freezing or shutting down when your system sleeps.


πŸ“¦ Installation

npm install -g @0xDaniiel/keepawake

Or use locally with npx: npx @0xDaniiel/keepawake https://your-app.com

πŸš€ Usage

πŸ” Ping a Live Project Use this to keep online platforms like Replit, Glitch, or Cyclic from timing out

keepawake  https://your-live-app.com

This sends a heartbeat to your URL every 5 minutes.

πŸ’» Keep a Local Process Awake

Use this during development to prevent your terminal from shutting down after inactivity.

keepawake local

This logs a heartbeat message every minute and keeps the session alive.

🏷️ Flags

-- interval=<seconds> : Set how often to ping (default is every 300 seconds / 5 minutes)
-- once : Send just one ping, then exit
-- local : Keep your local terminal session awake
-- help or -h : Show the help menu
-- version or -v : Show the current version

About

CLI tool to keep projects awake by pinging deployed URLs or local dev servers to prevent downtime.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published