{"id":13461899,"url":"https://github.com/yukuku/telebot","last_synced_at":"2025-10-26T12:31:14.712Z","repository":{"id":41284415,"uuid":"38031649","full_name":"yukuku/telebot","owner":"yukuku","description":"Telegram Bot starter kit. Very easy to install with Google App Engine.","archived":false,"fork":false,"pushed_at":"2022-09-14T15:22:15.000Z","size":20,"stargazers_count":691,"open_issues_count":12,"forks_count":235,"subscribers_count":57,"default_branch":"master","last_synced_at":"2025-03-24T23:33:19.695Z","etag":null,"topics":["appengine","telegram-bot"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yukuku.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-25T06:17:46.000Z","updated_at":"2025-03-20T13:37:25.000Z","dependencies_parsed_at":"2023-01-18T07:45:24.435Z","dependency_job_id":null,"html_url":"https://github.com/yukuku/telebot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yukuku/telebot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yukuku%2Ftelebot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yukuku%2Ftelebot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yukuku%2Ftelebot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yukuku%2Ftelebot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yukuku","download_url":"https://codeload.github.com/yukuku/telebot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yukuku%2Ftelebot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279016833,"owners_count":26085890,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["appengine","telegram-bot"],"created_at":"2024-07-31T12:00:26.961Z","updated_at":"2025-10-13T19:52:14.623Z","avatar_url":"https://github.com/yukuku.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":["PHP"],"readme":"# telebot\nTelegram Bot starter kit. Very easy to install with Google App Engine.\n\nReddit post: http://www.reddit.com/r/Telegram/comments/3b1pwl/create_your_own_telegram_bot_stepbystep/\n\nInstructions\n============\n\n1. Message @botfather https://telegram.me/botfather with the following text: `/newbot`\n   If you don't know how to message by username, click the search field on your Telegram app and type `@botfather`, you should be able to initiate a conversation. Be careful not to send it to the wrong contact, because some users has similar usernames to `botfather`.\n   \n   ![botfather initial conversation](http://i.imgur.com/pGOtOcj.png)\n\n2. @botfather replies with `Alright, a new bot. How are we going to call it? Please choose a name for your bot.`\n\n3. Type whatever name you want for your bot.\n\n4. @botfather replies with `Good. Now let's choose a username for your bot. It must end in `bot`. Like this, for example: TetrisBot or tetris_bot.`\n\n5. Type whatever username you want for your bot, minimum 5 characters, and must end with `bot`. For example: `whateversamplebot` \n\n6. @botfather replies with:\n\n    Done! Congratulations on your new bot. You will find it at telegram.me/whateversamplebot. You can now add a description, about section and profile picture for your bot, see /help for a list of commands.\n\n    Use this token to access the HTTP API:\n    \u003cb\u003e123456789:AAG90e14-0f8-40183D-18491dDE\u003c/b\u003e\n\n    For a description of the Bot API, see this page: https://core.telegram.org/bots/api\n    \n7. Note down the 'token' mentioned above.\n\n8. Type `/setprivacy` to @botfather.\n\n   ![botfather later conversation](http://i.imgur.com/ZrRdaa0.png)\n\n9. @botfather replies with `Choose a bot to change group messages settings.`\n\n10. Type `@whateversamplebot` (change to the username you set at step 5 above, but start it with `@`)\n\n11. @botfather replies with\n\n    'Enable' - your bot will only receive messages that either start with the '/' symbol or mention the bot by username.\n    'Disable' - your bot will receive all messages that people send to groups.\n    Current status is: ENABLED\n    \n12. Type `Disable` to let your bot receive all messages sent to a group. This step is up to you actually.\n\n13. @botfather replies with `Success! The new status is: DISABLED. /help`\n\n14. Go to https://console.cloud.google.com/project\n\n15. Click `Create Project`\n\n16. Type the project name, whatever you want. For example: `octopus-gorilla-123`. Make sure the Project ID is also the same.\n\n    ![App Engine registration](http://i.imgur.com/mxw8owO.png)\n    \n17. Clone this repository. If you don't understand what I said, click the green `Clone or download` button on this page, click `Download ZIP`, and extract the ZIP file.\n\n18. Open `app.yaml` file using a good text editor like Sublime Text. Change the `YOUR_APP_ID_HERE` to the Project ID you set on step 16, and save the file.\n\n   ![app.yaml](http://i.imgur.com/m9yRwNw.png)\n\n19. Open `main.py` file using a good text editor. Change the `YOUR_BOT_TOKEN_HERE` to the token you get from @botfather at step 6, and save the file.\n\n   ![main.py](http://i.imgur.com/oNFEdsp.png)\n\n20. Download Google App Engine SDK for Python from https://cloud.google.com/appengine/downloads and install it.\n\n21. Run the GoogleAppEngineLauncher application.\n\n22. Click the `File` menu, choose `Add Existing Application...` and browse to the folder with the `app.yaml` and `main.py` file.\n\n23. The project ID should appear as a row at the `Name` column.\n\n    ![app engine launcher](http://i.imgur.com/SXr2Tz2.png)\n\n24. Click `Deploy`, enter your Google credentials, and your app should be installed to Google's servers.\n\n25. Open your browser and go to https://`project-id`.appspot.com/me (replace `project-id` with the Project ID you set on step 16).\n\n26. Wait until you see a long text with `\"ok\": true` and your bot's name. This could take a minute or so, please reload if it does not succeed.\n\n27. Now, go to https://`project-id`.appspot.com/set_webhook?url=https://`project-id`.appspot.com/webhook (replace both `project-id`s with the Project ID you set on step 16).\n\n28. You should see `Webhook was set`.\n\n29. Open your Telegram client and send the message `/start` to your bot. (type @`your-bot-username` at the search field to initiate the conversation)\n\n30. You can, for example, send `what time` to the bot and the bot will reply you. Try sending `/image` as well. Mission completed!\n\nTo customize the bot, edit the `main.py` starting from the `CUSTOMIZE FROM HERE` line. They are simple if-else statements. \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyukuku%2Ftelebot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyukuku%2Ftelebot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyukuku%2Ftelebot/lists"}