{"id":16912873,"url":"https://github.com/aborg-dev/telegrambot","last_synced_at":"2025-04-11T16:14:26.962Z","repository":{"id":50209723,"uuid":"106951474","full_name":"aborg-dev/TelegramBot","owner":"aborg-dev","description":"Tutorial on Telegram chatbot on Heroku","archived":false,"fork":false,"pushed_at":"2022-12-08T00:42:07.000Z","size":11,"stargazers_count":6,"open_issues_count":2,"forks_count":8,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-25T12:21:39.323Z","etag":null,"topics":["heroku","telegram"],"latest_commit_sha":null,"homepage":"","language":"Python","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/aborg-dev.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":"2017-10-14T18:15:07.000Z","updated_at":"2024-08-02T02:47:32.000Z","dependencies_parsed_at":"2023-01-25T01:31:16.569Z","dependency_job_id":null,"html_url":"https://github.com/aborg-dev/TelegramBot","commit_stats":null,"previous_names":["aborg-dev/telegrambot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aborg-dev%2FTelegramBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aborg-dev%2FTelegramBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aborg-dev%2FTelegramBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aborg-dev%2FTelegramBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aborg-dev","download_url":"https://codeload.github.com/aborg-dev/TelegramBot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248438515,"owners_count":21103410,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["heroku","telegram"],"created_at":"2024-10-13T19:11:22.679Z","updated_at":"2025-04-11T16:14:26.936Z","avatar_url":"https://github.com/aborg-dev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TelegramBot\n\nThis repo guides you through a simple echo Telegram bot example.\n\n## Local Setup\n\n1. Register bot by talking to @BotFather, and save the token\n2. Try out using this token to get updates at https://api.telegram.org/bot`TOKEN`/getUpdates\n3. Try sending a message to https://api.telegram.org/bot`TOKEN`/sendMessage?chat_id=`ID`\u0026text=`TEXT`\n4. Get the code: `git clone https://github.com/akashin/TelegramBot.git`\n5. Install dependencies: `pip install -r requirements.txt`\n6. Run the bot with: `python bot.py`\n\n## Heroku Setup\nComplete the steps from the local setup and then:\n\n1. Register on https://heroku.com\n2. Install heroku command line interface https://devcenter.heroku.com/articles/heroku-cli\n3. Create new Heroku application for our bot:\n```sh\nheroku login\nheroku create --region eu appname # create app in eu region, common regions: eu, us\nheroku buildpacks:set heroku/python # set python buildpack\ngit push heroku master # deploy app to heroku\nheroku config:set TELEGRAM_TOKEN=123456789:AAABBBCCCDDDEEEFFFGGGHHHIIIJJJKKKLL # set config vars\nheroku logs --tail # If for some reason it’s not working, check the logs\n```\n\nThis should automatically start your bot on Heroku.\n\n## Materials\n\n- Good tutorial: http://djangostars.com/blog/how-to-create-and-deploy-a-telegram-bot/\n- Useful Heroku commands: https://github.com/Kylmakalle/heroku-telegram-bot\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faborg-dev%2Ftelegrambot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faborg-dev%2Ftelegrambot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faborg-dev%2Ftelegrambot/lists"}