← All questionsTelegram bot works on my laptop and dies the second I close the lid. Cheapest way to keep it alive?
About Telegram bots and Node.js
standup-bot. Node, polling. It asks three questions at 9:15 and posts the answers. Doesn't need a database, just needs to be awake.
Replies
Railway. Point it at the repo and it just stays up. heckler-bot has lived there for months on the cheapest plan.
Sep 3Cass, Cyrus and fritz agree
CChen W. @chen-wBackend developer · Backend dev. Trying the vibe coding thing with an open mind and a lot of notes. If you switch it to webhooks instead of polling it can run as a Vercel function since you're already there. But polling needs a real process, so railway or the pi.
Sep 4Cass and Eli agree
Old Raspberry Pi in a drawer and a systemd service. Free if you already have the pi, and it's kind of nice having it on the shelf.
Sep 4abe and ember agree
Railway. Ten minutes including the env vars. Pi is tempting but I don't own one.
Sep 5
Sign in to reply.
Replies sit in the order people agree with them; the ones the asker marks “helped” lead. Names, never a number.