{"id":18976300,"url":"https://github.com/aiogram/deta","last_synced_at":"2025-04-16T10:31:36.698Z","repository":{"id":66186357,"uuid":"574250573","full_name":"aiogram/deta","owner":"aiogram","description":"Deta integration","archived":true,"fork":false,"pushed_at":"2023-09-07T14:40:54.000Z","size":36,"stargazers_count":20,"open_issues_count":3,"forks_count":4,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-09T21:22:59.200Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aiogram.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,"governance":null}},"created_at":"2022-12-04T21:49:12.000Z","updated_at":"2025-03-15T14:52:06.000Z","dependencies_parsed_at":"2023-09-26T03:29:36.102Z","dependency_job_id":null,"html_url":"https://github.com/aiogram/deta","commit_stats":{"total_commits":14,"total_committers":5,"mean_commits":2.8,"dds":0.4285714285714286,"last_synced_commit":"60e8e87884b0b1ef5141f45dd5091a3a36bfdda8"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aiogram%2Fdeta","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aiogram%2Fdeta/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aiogram%2Fdeta/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aiogram%2Fdeta/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aiogram","download_url":"https://codeload.github.com/aiogram/deta/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248830904,"owners_count":21168368,"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":[],"created_at":"2024-11-08T15:23:30.982Z","updated_at":"2025-04-16T10:31:36.679Z","avatar_url":"https://github.com/aiogram.png","language":"Python","readme":"# aiogram on Deta.space\n\n## Deployment Example\n\nTo get started, message @BotFather on Telegram to register your bot and receive its authentication\ntoken (`BOT_TOKEN`). To secure your webhook endpoint, you will need a secret word (`WEBHOOK_SECRET`)\n\nBrief instructions:\n- Create a new project using the [Space CLI](https://deta.space/docs/en/build/reference/cli) with the command ```space new```\n- Then find out the ID of the created application on the site and use ```space link``` - this will connect your\n local repository with the remote application\n- Once you have tested it locally with the ```space dev``` command\nyou can start the process of installing the bot on the cloud using ```space push```\n\n[![Deploy](https://button.deta.dev/1/svg)](https://deta.space/)\n\nAfter that you can set webhook into new URL received from Deta, for example by using CURL:\n\n```bash\ncurl -X POST https://api.telegram.org/bot\u003cTELEGRAM_TOKEN\u003e/setWebhook \\\n   -H \"Content-Type: application/json\" \\\n   -d '{\"url\": \"https://\u003cexample-bot\u003e.deta.app/webhook\", \"secret_token\": \"\u003cTELEGRAM_SECRET\u003e\"}'\n```\n\nCongratulations! Now you have deployed Telegram Bot on Deta.space\n\nTo stop the webhook, run the following command:\n\n```bash\ncurl -X POST https://api.telegram.org/bot\u003cTELEGRAM_TOKEN\u003e/deleteWebhook \\\n   -H \"Content-Type: application/json\"\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faiogram%2Fdeta","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faiogram%2Fdeta","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faiogram%2Fdeta/lists"}