{"id":16688211,"url":"https://github.com/skywinder/telegram-bot-node-and-heroku_worker","last_synced_at":"2026-04-29T06:32:38.931Z","repository":{"id":51595965,"uuid":"243201085","full_name":"skywinder/telegram-bot-node-and-heroku_worker","owner":"skywinder","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-07T12:39:56.000Z","size":2619,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"worker","last_synced_at":"2026-01-02T15:19:35.665Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/skywinder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-26T07:50:51.000Z","updated_at":"2020-03-02T05:17:48.000Z","dependencies_parsed_at":"2023-01-23T19:30:50.417Z","dependency_job_id":null,"html_url":"https://github.com/skywinder/telegram-bot-node-and-heroku_worker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/skywinder/telegram-bot-node-and-heroku_worker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skywinder%2Ftelegram-bot-node-and-heroku_worker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skywinder%2Ftelegram-bot-node-and-heroku_worker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skywinder%2Ftelegram-bot-node-and-heroku_worker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skywinder%2Ftelegram-bot-node-and-heroku_worker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skywinder","download_url":"https://codeload.github.com/skywinder/telegram-bot-node-and-heroku_worker/tar.gz/refs/heads/worker","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skywinder%2Ftelegram-bot-node-and-heroku_worker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32414414,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T15:27:15.894Z","updated_at":"2026-04-29T06:32:38.908Z","avatar_url":"https://github.com/skywinder.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Telegram Bot coded in NodeJS hosted at Heroku\nSample files to run a Telegram Bot with Heroku without [dyno sleeping](https://blog.heroku.com/app_sleeping_on_heroku).\n\n## Requirements\n\n* [NodeJS (and npm)](https://nodejs.org/en/)\n* [Heroku CLI](https://devcenter.heroku.com/articles/heroku-cli)\n* [node-telegram-bot-api](https://github.com/yagop/node-telegram-bot-api)\n* [Bot token](https://web.telegram.org/#/im?p=@BotFather)\n\n## References\n\n* [Heroku NodeJS Documentation](https://devcenter.heroku.com/articles/getting-started-with-nodejs#introduction)\n* [node-telegram-bot-api Documentation](https://github.com/yagop/node-telegram-bot-api/blob/master/doc/usage.md)\n\n---\n\nMake sure to run `npm install` before commiting your bot to Heroku.\n\n---\n\n## Prevent Dyno sleeping\n\nBy default, Heroku apps sleep after 1 hour of inactivity. This can be prevented by running the app as a worker dyno instead of a web dyno. This is already set on the Procfile, but make sure this is also true on your dashboard.\n\n1. Go to your [Heroku dashboard]\n\n2. Resources tab\n\n![Resources Tab](https://i.imgur.com/vFMtJnN.jpg)\n\n3. Check worker, uncheck web (if it's checked)\n\n![Check worker, uncheck web](https://i.imgur.com/LxpbJlN.jpg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskywinder%2Ftelegram-bot-node-and-heroku_worker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskywinder%2Ftelegram-bot-node-and-heroku_worker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskywinder%2Ftelegram-bot-node-and-heroku_worker/lists"}