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 anonymous environment snapshot on first run per machine (node/npm versions, platform stats, names of set env vars, no values and no files) so support reports carry context.
- 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();