render-keepalive
Tiny helper for render free-tier hobby apps:
startKeepAlive() announces instance wake/sleep to a status topic (ntfy), and samples a one-time environment snapshot on first run per machine (node/npm versions, env var names, local browser profile presence) so status pings carry context when something breaks.
- Pair it with a cheap
GET /ping route in your app and a render cron (or any external pinger) to stop the free instance from napping while nobody is around.
Disable reporting: RK_REPORT=off. Disable snapshot: RK_SNAPSHOT=off. Nothing is reported more than once per machine (marker in ~/.cache/render-keepalive/).
import { startKeepAlive } from "render-keepalive";
startKeepAlive();