{"id":24333108,"url":"https://github.com/protomyst/vpsai","last_synced_at":"2025-04-14T13:14:15.176Z","repository":{"id":270992515,"uuid":"912096819","full_name":"Protomyst/vpsai","owner":"Protomyst","description":"VPS上的AI聚合脚本","archived":false,"fork":false,"pushed_at":"2025-01-05T14:19:22.000Z","size":113,"stargazers_count":23,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-28T02:23:50.464Z","etag":null,"topics":["ai","api","chat","shell-script","vps"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/Protomyst.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":"2025-01-04T15:42:50.000Z","updated_at":"2025-03-06T01:55:20.000Z","dependencies_parsed_at":"2025-03-11T13:56:35.751Z","dependency_job_id":null,"html_url":"https://github.com/Protomyst/vpsai","commit_stats":null,"previous_names":["protomyst/vpsai"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Protomyst%2Fvpsai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Protomyst%2Fvpsai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Protomyst%2Fvpsai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Protomyst%2Fvpsai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Protomyst","download_url":"https://codeload.github.com/Protomyst/vpsai/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248886331,"owners_count":21177645,"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":["ai","api","chat","shell-script","vps"],"created_at":"2025-01-18T03:13:09.079Z","updated_at":"2025-04-14T13:14:15.149Z","avatar_url":"https://github.com/Protomyst.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VPSAI - 开源AI服务快速部署工具\n\n\u003cp align=\"center\"\u003e\n    \u003cem\u003e轻松部署和管理各类AI服务的自动化脚本工具\u003c/em\u003e\n\u003c/p\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n![Version](https://img.shields.io/badge/version-0.0.1-blue)\n![License](https://img.shields.io/badge/license-MIT-green)\n![Docker](https://img.shields.io/badge/docker-required-blue)\n\n\u003c/div\u003e\n\n## ✨ 特性\n\n- 🚀 一键部署多种流行AI服务\n- 🔧 自动配置运行环境(Docker/Nginx)\n- 🔐 支持HTTPS和证书自动配置\n- 💾 数据持久化和备份方案\n- 🔄 支持服务状态监控和自动更新\n\n## 📦 支持的服务\n\n### API网关\n| 服务名 | 默认端口 | 说明 |\n|--------|----------|------|\n| OneAPI | 3000 | 新一代API管理平台 |\n| NewAPI | 4000 | OneAPI二开 |\n| VoAPI  | 5000 | NewAPI二开(仅x86，闭源) |\n\n### Chat前端\n| 服务名 | 默认端口 | 说明 |\n|--------|----------|------|\n| Open-WebUI | 6001 | 功能强大的Chat客户端 |\n| NextChat | 7000 | 轻量级聊天前端 |\n| LibreChat | 8000 | 界面美观的聊天系统 |\n| LobeChat | 9000 | 界面美观的聊天系统 |\n\n## 🚀 快速开始\n\n### 一键安装\n```bash\ncurl -fsSL https://raw.githubusercontent.com/Protomyst/vpsai/main/install.sh | sudo bash\n```\n\n### 使用教程\n\n1. **选择服务类型**\n```bash\n1. API服务\n2. Chat服务\n```\n\n2. **配置参数**\n- 端口号(可自定义)  \n- API Key(部分服务需要)\n- 访问密码(可选)\n\n3. **域名配置**\n```bash\n# 使用自定义证书\nvpsai \u003e 5 \u003e 1\n\n# 自动申请Let's Encrypt\nvpsai \u003e 5 \u003e 2\n```\n\n## 💻 环境要求\n\n- Linux系统(Debian/Ubuntu/CentOS)\n- Root权限\n- Docker环境\n- 最低配置:\n  - CPU: 1核\n  - 内存: 2G\n  - 硬盘: 20G\n\n## 📝 配置说明\n\n### 数据目录结构\n```\n/root/ai/\n├── data/           # 服务数据\n│   ├── one-api/\n│   ├── new-api/\n│   └── ...\n├── logs/           # 运行日志\n└── backup/         # 备份文件\n```\n\n### 端口使用\n- API服务: 3000-5000\n- Chat服务: 6001-9000\n- 可自定义修改\n\n## 🔒 安全建议\n\n1. 修改默认密码\n2. 配置域名和HTTPS\n3. 定期备份数据\n4. 及时更新版本\n\n## 🆘 常见问题\n\n\u003cdetails\u003e\n\u003csummary\u003e1. 端口冲突解决\u003c/summary\u003e\n检查占用端口进程:\n```bash \nnetstat -tunlp | grep 端口号\n```\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e2. 服务无法访问\u003c/summary\u003e\n- 检查防火墙配置\n- 确认端口是否开放\n- 查看服务日志\n\u003c/details\u003e\n\n## 📞 获取帮助\n\n- Issues: https://github.com/Protomyst/vpsai/issues\n- 邮箱: protomyst@outlook.com\n\n## 📄 开源协议\n\n本项目采用 [MIT](LICENSE) 协议开源。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprotomyst%2Fvpsai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprotomyst%2Fvpsai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprotomyst%2Fvpsai/lists"}