{"id":19826436,"url":"https://github.com/chenycl/useaihub","last_synced_at":"2025-08-19T00:09:40.228Z","repository":{"id":253986426,"uuid":"845114265","full_name":"ChenYCL/useaihub","owner":"ChenYCL","description":"How to use openai with useaihub service document","archived":false,"fork":false,"pushed_at":"2024-08-21T02:44:25.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T20:49:24.452Z","etag":null,"topics":["chatbot","cloud-ai-service","openai","openai-api"],"latest_commit_sha":null,"homepage":"https://api.useaihub.com","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ChenYCL.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-08-20T15:55:42.000Z","updated_at":"2024-08-21T02:44:28.000Z","dependencies_parsed_at":"2024-08-21T21:18:02.922Z","dependency_job_id":null,"html_url":"https://github.com/ChenYCL/useaihub","commit_stats":null,"previous_names":["chenycl/useaihub"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ChenYCL/useaihub","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChenYCL%2Fuseaihub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChenYCL%2Fuseaihub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChenYCL%2Fuseaihub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChenYCL%2Fuseaihub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChenYCL","download_url":"https://codeload.github.com/ChenYCL/useaihub/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChenYCL%2Fuseaihub/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271078587,"owners_count":24695473,"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-08-18T02:00:08.743Z","response_time":89,"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":["chatbot","cloud-ai-service","openai","openai-api"],"created_at":"2024-11-12T11:10:25.014Z","updated_at":"2025-08-19T00:09:40.172Z","avatar_url":"https://github.com/ChenYCL.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# 如果您是其它行业的，这里有5分钟快速安装docker步骤：\n\n## macOS 用户安装 Docker\n\n1. 访问 [Docker 官网](https://www.docker.com/products/docker-desktop/)\n2. 点击 \"Download for Mac\" 按钮\n3. 下载完成后,双击 \"Docker.dmg\" 文件\n4. 在打开的窗口中,将 Docker 图标拖拽到 Applications 文件夹\n5. 打开 Applications 文件夹,双击 Docker 图标启动它\n6. 首次启动时,系统可能会要求输入管理员密码,请输入并确认\n7. Docker 启动后,顶部菜单栏会出现一个小鲸鱼图标\n8. 打开 Terminal(终端),输入 `docker --version` 确认安装成功\n\n## Windows 用户安装 Docker\n\n1. 访问 [Docker 官网](https://www.docker.com/products/docker-desktop/)\n2. 点击 \"Download for Windows\" 按钮\n3. 下载完成后,双击运行 \"Docker Desktop Installer.exe\"\n4. 在安装向导中,保持默认选项,点击 \"Ok\" 继续\n5. 安装完成后,点击 \"Close and restart\" 重启电脑\n6. 重启后,Docker 会自动启动。任务栏中会出现 Docker 图标\n7. 首次运行可能会弹出提示,要求安装 WSL 2。按照提示完成安装\n8. 打开 PowerShell 或命令提示符,输入 `docker --version` 确认安装成功\n\n## 整体效果：\n\nhttps://github.com/user-attachments/assets/0f8e33b0-984d-4e7d-8257-9a2cd971a033\n\n## 如何使用\n\n1. 部署 Lobe Chat:\n\n   a. 访问 Lobe Chat 的 GitHub 仓库: https://github.com/lobehub/lobe-chat\n   \n   b. 选择一种部署方式:\n      - 使用 Vercel 一键部署\n      - 使用 Docker 部署\n\n   c. 对于 Vercel 一键部署:\n   \n| Deploy with Vercel |\n| :-----------------: |\n| [![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Flobehub%2Flobe-chat\u0026project-name=lobe-chat\u0026repository-name=lobe-chat) |\n\n   d. 对于 Docker 部署:\n      - 运行以下命令:\n```bash\n       docker run -d -p 3210:3210 \\\n        -e OPENAI_API_KEY=sk-xxxx \\\n        -e OPENAI_PROXY_URL=https://api.useaihub.com/v1 \\\n        -e ACCESS_CODE=lobe66 \\\n        --name lobe-chat \\\n        lobehub/lobe-chat\n```\n\n  - 访问 http://localhost:3210 使用 Lobe Chat\n\n\n2. 配置 OpenAI 接口服务:\n\n   a. 访问 api.useaihub.com 注册账号并获取 API 密钥（https://api.useaihub.com/token）。\n\u003cimg width=\"1559\" alt=\"image\" src=\"https://github.com/user-attachments/assets/8fc882c4-1db2-463a-9ffc-fdec321caf13\"\u003e\n\n\n   b. 在已部署的 Lobe Chat 中,打开设置。\n\n   c. 在 \"OpenAI API 设置\" 部分:\n      - API 密钥: 输入从 api.useaihub.com 获取的 API 密钥\n      - API 接口地址: 输入 https://api.useaihub.com/v1\n\n   d. 保存设置。\n   \n\n4. 开始使用:\n   现在你可以开始使用 Lobe Chat,它将通过你在 api.useaihub.com 的账户访问 OpenAI 的服务。\n\n ## 加入群组，联系我修改用户类别更多模型!\n https://github.com/user-attachments/assets/4bafc182-f842-46d0-b0cb-18eb113589b8\n   \n\u003cimg src=\"https://github.com/user-attachments/assets/4bafc182-f842-46d0-b0cb-18eb113589b8\" width=\"200\" height=\"300\"\u003e\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchenycl%2Fuseaihub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchenycl%2Fuseaihub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchenycl%2Fuseaihub/lists"}