{"id":13988659,"url":"https://github.com/Itz-fork/Yui","last_synced_at":"2025-07-22T09:31:22.268Z","repository":{"id":42393121,"uuid":"437350702","full_name":"Itz-fork/Yui","owner":"Itz-fork","description":"Simple Telegram AI Chat bot made using OpenAI and Luna API","archived":false,"fork":false,"pushed_at":"2022-06-17T14:27:11.000Z","size":65,"stargazers_count":37,"open_issues_count":1,"forks_count":55,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-01T12:23:34.632Z","etag":null,"topics":["ai-chat","chat-bot","openai-chat-bot","telegram-chat-bot"],"latest_commit_sha":null,"homepage":"","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/Itz-fork.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":"2021-12-11T17:48:46.000Z","updated_at":"2025-03-26T12:38:10.000Z","dependencies_parsed_at":"2022-08-31T06:10:21.628Z","dependency_job_id":null,"html_url":"https://github.com/Itz-fork/Yui","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Itz-fork/Yui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Itz-fork%2FYui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Itz-fork%2FYui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Itz-fork%2FYui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Itz-fork%2FYui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Itz-fork","download_url":"https://codeload.github.com/Itz-fork/Yui/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Itz-fork%2FYui/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266465069,"owners_count":23933054,"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-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["ai-chat","chat-bot","openai-chat-bot","telegram-chat-bot"],"created_at":"2024-08-09T13:01:17.470Z","updated_at":"2025-07-22T09:31:21.893Z","avatar_url":"https://github.com/Itz-fork.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Yui\n\n***Yui, is a simple telegram chat bot made using OpenAI, AFFILIATE+ and Luna Chat bot***\n\n----\n\n## Deployment 👀\n\nDeploying is easy 🤫! You can deploy this bot in Heroku or in a VPS ♥️! **Star 🌟 Fork 🍴 and Deploy**\n\n#### With Heroku\n\n\u003ca href=\"https://www.heroku.com/deploy?template=https://github.com/Itz-fork/Yui\"\u003e\n  \u003cimg src=\"https://www.herokucdn.com/deploy/button.svg\"\u003e\n\u003c/a\u003e\n\n#### Self-Hosting\n\n```bash\ngit clone https://github.com/Itz-fork/Yui.git\ncd Yui\npip3 install -r requirements.txt\n```\n\n**Edit \"config.py\" with your own values**\n\n```bash\npython3 -m Yui\n```\n\n\n## Configs 🗒️\n\n- `APP_ID` - Your APP ID. Get it from [my.telegram.org](my.telegram.org)\n- `API_HASH` - Your API_HASH. Get it from [my.telegram.org](my.telegram.org)\n- `BOT_TOKEN` - Bot Token of Your Telegram Bot. Get it from [@BotFather](https://t.me/BotFather)\n- `OWNER_ID` - Your Telegram Account ID. Get it from [@MissRose_bot](https://t.me/MissRose_bot) (Start the bot and send \u003csamp\u003e/info\u003c/samp\u003e command)\n- `CHAT_BOT_NAME` - Custom name for your chatbot. (Default to `Yui`)\n- `OPENAI_KEY` - Your own [OpenAI](https://openai.com/) API Key\n  - Go to [OpenAI Sign Up Page](https://beta.openai.com/signup) and create your OpenAI Account\n  - Then go to [API Keys Section](https://beta.openai.com/account/api-keys)\n  - From there you can copy your OpenAI API Key\n- `ARQ_KEY` - Your ARQ API Key. Get it from [@ARQRobot](https://t.me/ARQRobot)\n- `DEFAULT_CHATBOT` - The Default chatbot you want to use after OpenAI. (`affiliateplus` or `luna`)\n- `MAX_TOKENS` - The maximum number of tokens to generate in the completion\n\n**For Heroku Users,**\n\n- `ON_HEROKU` - Set this var to `True`\n- `HEROKU_APP_NAME` - Your Heroku app name\n- `HEROKU_API` - Your Heroku API\n  - Go to [account dashboard](https://dashboard.heroku.com/account)\n  - Scroll down and find the \"API Key\" section and click on Reveal button to get your API Key\n\n\n### Note ⚠️\n\nIf you want to increase the response length limit change [Max Response Length Limit Value](https://github.com/Itz-fork/Yui/blob/ef431bb67f5c51ee3d5a634d91a2b0f740192d36/Yui/data/defaults.py#L19) to whatever you want (Value must be a integer). Also increasing this can spend your OpenAI credits quickly\n\n## Support 🍪\n\n\u003ca href=\"https://t.me/NexaBotsUpdates\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Updates_Channel-0a0a0a?style=for-the-badge\u0026logo=telegram\u0026logoColor=white\"\u003e\n\u003c/a\u003e\n\u003ca href=\"https://t.me/Nexa_bots\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Support_Group-0a0a0a?style=for-the-badge\u0026logo=telegram\u0026logoColor=white\"\u003e\n\u003c/a\u003e\n\n\u003c/br\u003e\n\n\n## License \u0026 Copyright 👮\n\n```\nCopyright (c) 2021 Itz-fork\n\nThis Yui repository is licensed under GPLv3 License (https://github.com/Itz-fork/Yui/blob/master/LICENSE)\nCopying or Modifying Any Part of the code without permission is strictly prohibited\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FItz-fork%2FYui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FItz-fork%2FYui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FItz-fork%2FYui/lists"}