{"id":17859269,"url":"https://github.com/zeshuaro/telegram_cognitive_bot","last_synced_at":"2025-04-02T19:43:26.489Z","repository":{"id":103426741,"uuid":"98256377","full_name":"zeshuaro/telegram_cognitive_bot","owner":"zeshuaro","description":"Telegram Cognitive Bot","archived":false,"fork":false,"pushed_at":"2024-05-21T05:41:30.000Z","size":492,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-08T10:27:14.162Z","etag":null,"topics":["bot","cognitive-services","python-telegram-bot","telegram"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zeshuaro.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":"2017-07-25T02:42:38.000Z","updated_at":"2023-05-28T12:09:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"ffc3ae80-65dd-41af-8d14-a585491eae3e","html_url":"https://github.com/zeshuaro/telegram_cognitive_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/zeshuaro%2Ftelegram_cognitive_bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeshuaro%2Ftelegram_cognitive_bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeshuaro%2Ftelegram_cognitive_bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeshuaro%2Ftelegram_cognitive_bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zeshuaro","download_url":"https://codeload.github.com/zeshuaro/telegram_cognitive_bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246883654,"owners_count":20849523,"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":["bot","cognitive-services","python-telegram-bot","telegram"],"created_at":"2024-10-28T06:42:08.594Z","updated_at":"2025-04-02T19:43:26.443Z","avatar_url":"https://github.com/zeshuaro.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Telegram Cognitive Bot\n\nTelegram Bot that provides cognitive services\n\nConnect to [Bot](https://t.me/cognitivebot)\n\nStay tuned for updates and new releases on the [Telegram Channel](https://t.me/cognitivebotdev)\n\nFind the bot at [Store Bot](https://storebot.me/bot/cognitivebot)\n\n## Getting Started\n\nThese instructions will get you a copy of the project up and running on your local machine for development and \ntesting purposes\n\n### Prerequisites\n\nRun the following command to install the required libraries:\n\n```\npip install -r requirements.txt\n```\n\nBelow is a list of the main libraries that are included:\n\n* [Python Telegram Bot](https://github.com/python-telegram-bot/python-telegram-bot)\n* [Pillow](https://github.com/python-pillow/Pillow)\n* [SpeechRecognition](https://github.com/Uberi/speech_recognition)\n\nThe bot uses [Cognitive Services APIs](https://azure.microsoft.com/en-au/services/cognitive-services/) provided my \nMicrosoft Azure.\n\nMake a `.env` file and put your telegram token in there. \n\nYou will also need to include the tokens and URLs of the Computer Vision API, Emotion API and Bing Speech API.\n\nIf you want to use the webhook method to run the bot, also include `APP_URL` and `PORT` in the `.env` file. If you \nwant to use polling instead, do not include `APP_URL` in your `.env` file.\n\nBelow is an example:\n\n```\nTELEGRAM_TOKEN=\u003ctelegram_token\u003e\nCOMP_VISION_TOKEN=\u003ccomp_vision_token\u003e\nCOMP_VISION_ANALYSIS_URL=\u003ccomp_vision_analysis_url\u003e\nCOMP_VISION_TEXT_URL=\u003ccomp_vision_text_url\u003e\nEMOTION_TOKEN=\u003cemotion_token\u003e\nEMOTION_URL=\u003cemotion_url\u003e\nBING_SPEECH_TOKEN=\u003cbing_speech_token\u003e\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeshuaro%2Ftelegram_cognitive_bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzeshuaro%2Ftelegram_cognitive_bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeshuaro%2Ftelegram_cognitive_bot/lists"}