{"id":16930099,"url":"https://github.com/ayaka14732/telegram-translate-bot","last_synced_at":"2025-04-11T18:31:51.252Z","repository":{"id":47118116,"uuid":"284449870","full_name":"ayaka14732/telegram-translate-bot","owner":"ayaka14732","description":"Telegram translation bot @suginatransbot","archived":false,"fork":false,"pushed_at":"2023-03-15T13:57:19.000Z","size":301,"stargazers_count":10,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-25T14:21:35.184Z","etag":null,"topics":["telegram","telegram-bot","translation"],"latest_commit_sha":null,"homepage":"https://t.me/suginatransbot","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ayaka14732.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-02T11:40:42.000Z","updated_at":"2024-04-11T06:30:11.000Z","dependencies_parsed_at":"2024-10-13T20:40:58.880Z","dependency_job_id":null,"html_url":"https://github.com/ayaka14732/telegram-translate-bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayaka14732%2Ftelegram-translate-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayaka14732%2Ftelegram-translate-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayaka14732%2Ftelegram-translate-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayaka14732%2Ftelegram-translate-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ayaka14732","download_url":"https://codeload.github.com/ayaka14732/telegram-translate-bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248458550,"owners_count":21107099,"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":["telegram","telegram-bot","translation"],"created_at":"2024-10-13T20:40:53.985Z","updated_at":"2025-04-11T18:31:51.164Z","avatar_url":"https://github.com/ayaka14732.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://t.me/suginatransbot\"\u003e\u003cimg src=\"avartar.jpeg\" height=\"200px\" align=\"right\"/\u003e\u003c/a\u003e\n\n# telegram-translate\n\nTelegram translation bot [@suginatransbot](https://t.me/suginatransbot)\n\n## Develop\n\nCreate a bot by talking to [BotFather](https://t.me/botfather).\n\nRegister for [Baidu translate API](https://fanyi-api.baidu.com/).\n\n## Run\n\nSet the following environment variables in `.env`:\n\n- `BOT_TOKEN`\n- `BAIDU_APP_ID`\n- `BAIDU_APP_KEY`\n\nRun:\n\n```sh\npython main.py\n```\n\nAlternatively, pass the environment variables to Docker in the command:\n\n```sh\ndocker run -d \\\n  -e BOT_TOKEN=\u003cBOT_TOKEN\u003e \\\n  -e BAIDU_APP_ID=\u003cBAIDU_APP_ID\u003e \\\n  -e BAIDU_APP_KEY=\u003cBAIDU_APP_KEY\u003e \\\n  telegram-translate\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayaka14732%2Ftelegram-translate-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fayaka14732%2Ftelegram-translate-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayaka14732%2Ftelegram-translate-bot/lists"}