{"id":20298146,"url":"https://github.com/KwokKwok/Silo","last_synced_at":"2025-05-07T20:34:31.243Z","repository":{"id":253966013,"uuid":"845073357","full_name":"KwokKwok/Silo","owner":"KwokKwok","description":"多模型同时对话、文生图，纯前端。Multi-model simultaneous chat、text-to-image generation, all done through pure front-end (API mode, no server-side needed).","archived":false,"fork":false,"pushed_at":"2025-05-07T04:30:35.000Z","size":2424,"stargazers_count":231,"open_issues_count":1,"forks_count":25,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-07T05:26:01.524Z","etag":null,"topics":["chatbot","chatgpt","claude","frontend","multi-model","openai","self-hosted","siliconflow","text-to-image"],"latest_commit_sha":null,"homepage":"https://silo-chat.vercel.app/","language":"JavaScript","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/KwokKwok.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,"zenodo":null}},"created_at":"2024-08-20T14:26:50.000Z","updated_at":"2025-05-07T04:30:39.000Z","dependencies_parsed_at":"2025-05-07T05:32:16.890Z","dependency_job_id":null,"html_url":"https://github.com/KwokKwok/Silo","commit_stats":null,"previous_names":["kwokkwok/silochat","kwokkwok/silo"],"tags_count":32,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KwokKwok%2FSilo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KwokKwok%2FSilo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KwokKwok%2FSilo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KwokKwok%2FSilo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KwokKwok","download_url":"https://codeload.github.com/KwokKwok/Silo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252953717,"owners_count":21830890,"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":["chatbot","chatgpt","claude","frontend","multi-model","openai","self-hosted","siliconflow","text-to-image"],"created_at":"2024-11-14T16:02:16.684Z","updated_at":"2025-05-07T20:34:31.216Z","avatar_url":"https://github.com/KwokKwok.png","language":"JavaScript","readme":"[English Version](https://github.com/KwokKwok/Silo/blob/main/README_EN.md)\n\n\u003cp align=\"center\"\u003e\u003ca href=\"https://silo-chat.vercel.app\" target=\"_blank\" rel=\"noreferrer noopener\"\u003e\u003cimg style=\"width:160px\" alt=\"Silo\" src=\"https://silo-chat.vercel.app/logo.svg\"\u003e\u003c/a\u003e\u003c/p\u003e\n\u003ch1 align=\"center\"\u003eSilo - 纯前端多模型对话、文生图\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\u003ca target=\"_blank\" rel=\"noreferrer noopener\" href=\"https://silo-chat.vercel.app\"\u003e\u003cimg alt=\"在线体验\" src=\"https://img.shields.io/badge/在线体验-112418.svg?\u0026style=for-the-badge\u0026logo=safari\u0026logoColor=white\"\u003e\u003c/a\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003ca rel=\"noreferrer noopener\" target=\"_blank\" href=\"https://chromewebstore.google.com/detail/nakohnjaacfmjiodegibhnepfmioejln\"\u003e\u003cimg alt=\"Chrome Web Store\" src=\"https://img.shields.io/badge/安装 Chrome 扩展-141e24.svg?\u0026style=for-the-badge\u0026logo=google-chrome\u0026logoColor=white\"\u003e\u003c/a\u003e \n\u003c!-- \u003ca rel=\"noreferrer noopener\" target=\"_blank\" href=\"https://microsoftedge.microsoft.com/addons/detail/silo-siliconcloud-api-p/kjfjhcmdndibdlfofffhoehailbdlbod\"\u003e\u003cimg alt=\"Chrome Web Store\" src=\"https://img.shields.io/badge/安装 Edge 扩展-141e24.svg?\u0026style=for-the-badge\u0026logo=microsoft-edge\u0026logoColor=white\"\u003e\u003c/a\u003e  --\u003e\n\u003ca target=\"_blank\" rel=\"noreferrer noopener\" href=\"https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FKwokKwok%2FSilo.git\u0026project-name=silo\u0026repository-name=silo\u0026env=SILO_EXPERIENCE_SK\u0026envDescription=%E8%BE%93%E5%85%A5%200%20%E8%A1%A8%E7%A4%BA%E4%B8%8D%E6%8F%90%E4%BE%9B%E4%BD%93%E9%AA%8C%E5%AF%86%E9%92%A5%E6%96%B9%E5%BC%8F%E8%AE%BF%E9%97%AE%EF%BC%8C%E6%9B%B4%E5%A4%9A%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F%E5%8F%AF%E6%9F%A5%E7%9C%8B%20GitHub%20README%20%E8%AF%B4%E6%98%8E\u0026envLink=https%3A%2F%2Fgithub.com%2FKwokKwok%2FSilo%3Ftab%3Dreadme-ov-file%23%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F%E5%8F%8A%E8%AF%B4%E6%98%8E\"\u003e\u003cimg alt=\"Deploy\" src=\"https://img.shields.io/badge/部署到 Vercel-000000?style=for-the-badge\u0026logo=vercel\u0026logoColor=white\"\u003e\u003c/a\u003e\u003c/p\u003e\n\n\u003cbr/\u003e\n\u003cp align=\"center\"\u003eSilo 是一个主要基于  \u003ca target=\"_blank\" href=\"https://siliconflow.cn/zh-cn/siliconcloud\" target=\"_blank\"\u003eSiliconCloud\u003c/a\u003e  API 的应用，目前已支持多个大模型同时\u003cb\u003e对话、文生图\u003c/b\u003e，响应极快。支持模型参数调整、余额自动刷新等功能。\u003c/p\u003e\n\u003cp align=\"center\"\u003e你也可以方便的添加 Google Gemini、Claude、X-AI/Grok、OpenAI 等模型。\u003c/p\u003e\n\u003cp align=\"center\"\u003e不需要服务端。\u003c/p\u003e\n\u003cbr/\u003e\n\n## 特点\n\n🌐 提供浏览器插件和 Web 端的访问方式，插件支持划词解释和页面总结\u003cbr\u003e\n📱 支持 PWA，可安装为本地应用\u003cbr\u003e\n🚀 基于 SiliconCloud API，模型丰富，响应快\u003cbr\u003e\n🔑 配置简单，只需配置一次密钥\u003cbr\u003e\n💰 支持 SiliconCloud 余额自动刷新\u003cbr\u003e\n🧩 可以通过自定义模型的功能来接入更多对话模型。快速支持 Gemini、Claude、DeepSeek、智谱等，提供 OpenAI 兼容配置，以及自己写代码的硬核方式\u003cbr\u003e\n🔄 支持调整模型顺序\u003cbr\u003e\n🌙 夜间模式\u003cbr\u003e\n🧘‍♂️ 禅模式\u003cbr\u003e\n🇬🇧 多语言支持 \u003cbr\u003e\n📱 手机端支持（受限于屏幕尺寸，提供较简单的版本）\u003cbr\u003e\n📦 纯前端实现（方便迁移、CDN 部署等，不依赖服务器中转）\u003cbr\u003e\n🔧 模型参数调整\u003cbr\u003e\n💬 优化的输入体验\u003cbr\u003e\n\n\u003c!-- ![dark](./docs/dark.png)\n![light](./docs/light.png)\n\u003cimg src=\"./docs/mobile.jpg\" alt=\"mobile\" width=\"250\"\u003e --\u003e\n\n## 通过 URL 设置参数\n\nSilo 支持通过 URL 获取参数，这使得它可以作为搜索引擎使用。例如，在 Chrome 中将 `https://silo-chat.vercel.app/#/chat?q=%s` 添加为搜索引擎。\n\n此外，你可以通过指定 `active_models` 或 `system_prompt_id` 来临时设置新对话页面的模型和系统提示词。\n\n可用参数：\n\n```js\n- q: 对话问题，适用于搜索引擎\n- active_models: 激活的对话模型 ID，多个模型用英文逗号分隔。模型 ID 可在对话面板中复制\n- system_prompt_id: 激活的系统提示词 ID。系统提示词 ID 可在选择页面复制\n```\n\n\u003e [!NOTE]\n\u003e 比如，你可以通过指定 `system_prompt_id` 提供一个翻译引擎\u003cbr\u003e`https://silo-chat.vercel.app/#/chat?q=%s\u0026system_prompt_id=preset-english-translator`\n\n## 浏览器扩展\n\n\u003cp align=\"left\"\u003e\u003ca target=\"_blank\" rel=\"noreferrer noopener\" href=\"https://chromewebstore.google.com/detail/nakohnjaacfmjiodegibhnepfmioejln\"\u003e\u003cimg alt=\"Chrome Web Store\" src=\"https://img.shields.io/badge/安装 Chrome 扩展-141e24.svg?\u0026style=for-the-badge\u0026logo=google-chrome\u0026logoColor=white\"\u003e\u003c/a\u003e\n\u003c!-- \u003ca rel=\"noreferrer noopener\" target=\"_blank\" href=\"https://microsoftedge.microsoft.com/addons/detail/silo-siliconcloud-api-p/kjfjhcmdndibdlfofffhoehailbdlbod\"\u003e\u003cimg alt=\"Chrome Web Store\" src=\"https://img.shields.io/badge/安装 Edge 扩展-141e24.svg?\u0026style=for-the-badge\u0026logo=microsoft-edge\u0026logoColor=white\"\u003e\u003c/a\u003e  --\u003e\n\u003ca target=\"_blank\" rel=\"noreferrer noopener\" href=\"https://github.com/KwokKwok/SiloChat/releases\"\u003e\u003cimg alt=\"在线体验\" src=\"https://img.shields.io/badge/RELEASES-181717.svg?\u0026style=for-the-badge\u0026logo=github\u0026logoColor=white\"\u003e\u003c/a\u003e\u003c/p\u003e\n\n当本项目发生版本变更时，会自动打包提交到 Chrome 应用商店。并将产生的 zip 文件上传到 [GitHub Releases](https://github.com/KwokKwok/SiloChat/releases)，您也可以直接下载并在浏览器中安装。\n\n## Docker 部署\n\n```yaml\nversion: '3.8'\n\nservices:\n  frontend:\n    image: ghcr.io/kwokkwok/silo:latest\n    restart: always\n    ports:\n      - '3000:3000'\n    environment:\n      # 设置硅基流动体验 API 密钥\n      - SILO_EXPERIENCE_SK=\n      # 默认激活的对话模型\n      - SILO_DEFAULT_ACTIVE_CHAT_MODELS=Qwen/Qwen2.5-7B-Instruct,THUDM/glm-4-9b-chat,01-ai/Yi-1.5-9B-Chat-16K\n```\n\n## 环境变量及说明\n\n\u003e [!NOTE]\n\u003e 本部分普通用户无需关心，仅自行部署者可能需要了解。环境变量配置后可能需要重启或重新部署。请自行验证是否生效。\n\n\u003e [!NOTE]\n\u003e 再次提醒，本项目是纯前端的，配置的密钥可能会被恶意使用，请谨慎配置。\n\n```js\n- SILO_EXPERIENCE_SK: 硅基流动体验 API 密钥。可输入 0 代表不提供该方式\n- SILO_PAID_SK: 硅基流动付费 API 密钥，设置之后不会有体验密钥提示及限制\n- PAID_SK_PASSWORD: 保护付费密钥的密码，设置之后用户界面输入密码即可自动使用付费密钥。设置 SILO_PAID_SK 时强烈建议同时设置该变量。请注意，该变量不以 SILO_ 开头\n- SILO_AFF_LINK: 硅基流动密钥弹框处注册链接\n- SILO_DEFAULT_ACTIVE_CHAT_MODELS: 默认激活的对话模型，多个模型以英文逗号分隔\n- SILO_DEFAULT_ACTIVE_IMAGE_MODELS: 默认激活的文生图模型，多个模型以英文逗号分隔\n```\n\n## 致谢\n\n1. 感谢 [SiliconCloud](https://siliconflow.cn/zh-cn/siliconcloud)。\n1. 聊天页面参考 [Vercel AI Playground](https://sdk.vercel.ai/playground)、分栏参考 [ChatHub](https://chathub.gg/)\n1. 翻译使用了 [沉浸式翻译](https://immersivetranslate.com/zh-Hans/) 的默认 Prompt，很有效，感谢！\n\n## 许可证\n\n本项目采用 MIT 许可证。详情请见[LICENSE](LICENSE)文件。\n\n## 更多\n\n\u003cdetails\u003e\n\u003csummary\u003eBuy me a 辣条\u003c/summary\u003e\n\n### Buy me a 辣条\n\n\u003e 感谢 [黄少侠@即刻](https://m.okjike.com/users/18C4EC79-964F-4DF5-8D63-033A2345B2ED) 的提议。本项目开源且完全免费，如果您觉得本项目对您有用，欢迎 Buy me a 辣条~\n\n\u003cimg src=\"https://i.imgur.com/Z8zXeSP.jpeg\" alt=\"Buy Me A Coffee\" width=\"224\"\u003e\n\u003c/details\u003e\n","funding_links":[],"categories":["A01_文本生成_文本对话","JavaScript"],"sub_categories":["大语言对话模型及数据"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKwokKwok%2FSilo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FKwokKwok%2FSilo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKwokKwok%2FSilo/lists"}