[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"similar-ItsPi3141--alpaca-electron":3,"tool-ItsPi3141--alpaca-electron":61},[4,18,26,36,44,53],{"id":5,"name":6,"github_repo":7,"description_zh":8,"stars":9,"difficulty_score":10,"last_commit_at":11,"category_tags":12,"status":17},4358,"openclaw","openclaw\u002Fopenclaw","OpenClaw 是一款专为个人打造的本地化 AI 助手，旨在让你在自己的设备上拥有完全可控的智能伙伴。它打破了传统 AI 助手局限于特定网页或应用的束缚，能够直接接入你日常使用的各类通讯渠道，包括微信、WhatsApp、Telegram、Discord、iMessage 等数十种平台。无论你在哪个聊天软件中发送消息，OpenClaw 都能即时响应，甚至支持在 macOS、iOS 和 Android 设备上进行语音交互，并提供实时的画布渲染功能供你操控。\n\n这款工具主要解决了用户对数据隐私、响应速度以及“始终在线”体验的需求。通过将 AI 部署在本地，用户无需依赖云端服务即可享受快速、私密的智能辅助，真正实现了“你的数据，你做主”。其独特的技术亮点在于强大的网关架构，将控制平面与核心助手分离，确保跨平台通信的流畅性与扩展性。\n\nOpenClaw 非常适合希望构建个性化工作流的技术爱好者、开发者，以及注重隐私保护且不愿被单一生态绑定的普通用户。只要具备基础的终端操作能力（支持 macOS、Linux 及 Windows WSL2），即可通过简单的命令行引导完成部署。如果你渴望拥有一个懂你",349277,3,"2026-04-06T06:32:30",[13,14,15,16],"Agent","开发框架","图像","数据工具","ready",{"id":19,"name":20,"github_repo":21,"description_zh":22,"stars":23,"difficulty_score":10,"last_commit_at":24,"category_tags":25,"status":17},3808,"stable-diffusion-webui","AUTOMATIC1111\u002Fstable-diffusion-webui","stable-diffusion-webui 是一个基于 Gradio 构建的网页版操作界面，旨在让用户能够轻松地在本地运行和使用强大的 Stable Diffusion 图像生成模型。它解决了原始模型依赖命令行、操作门槛高且功能分散的痛点，将复杂的 AI 绘图流程整合进一个直观易用的图形化平台。\n\n无论是希望快速上手的普通创作者、需要精细控制画面细节的设计师，还是想要深入探索模型潜力的开发者与研究人员，都能从中获益。其核心亮点在于极高的功能丰富度：不仅支持文生图、图生图、局部重绘（Inpainting）和外绘（Outpainting）等基础模式，还独创了注意力机制调整、提示词矩阵、负向提示词以及“高清修复”等高级功能。此外，它内置了 GFPGAN 和 CodeFormer 等人脸修复工具，支持多种神经网络放大算法，并允许用户通过插件系统无限扩展能力。即使是显存有限的设备，stable-diffusion-webui 也提供了相应的优化选项，让高质量的 AI 艺术创作变得触手可及。",162132,"2026-04-05T11:01:52",[14,15,13],{"id":27,"name":28,"github_repo":29,"description_zh":30,"stars":31,"difficulty_score":32,"last_commit_at":33,"category_tags":34,"status":17},1381,"everything-claude-code","affaan-m\u002Feverything-claude-code","everything-claude-code 是一套专为 AI 编程助手（如 Claude Code、Codex、Cursor 等）打造的高性能优化系统。它不仅仅是一组配置文件，而是一个经过长期实战打磨的完整框架，旨在解决 AI 代理在实际开发中面临的效率低下、记忆丢失、安全隐患及缺乏持续学习能力等核心痛点。\n\n通过引入技能模块化、直觉增强、记忆持久化机制以及内置的安全扫描功能，everything-claude-code 能显著提升 AI 在复杂任务中的表现，帮助开发者构建更稳定、更智能的生产级 AI 代理。其独特的“研究优先”开发理念和针对 Token 消耗的优化策略，使得模型响应更快、成本更低，同时有效防御潜在的攻击向量。\n\n这套工具特别适合软件开发者、AI 研究人员以及希望深度定制 AI 工作流的技术团队使用。无论您是在构建大型代码库，还是需要 AI 协助进行安全审计与自动化测试，everything-claude-code 都能提供强大的底层支持。作为一个曾荣获 Anthropic 黑客大奖的开源项目，它融合了多语言支持与丰富的实战钩子（hooks），让 AI 真正成长为懂上",140436,2,"2026-04-05T23:32:43",[14,13,35],"语言模型",{"id":37,"name":38,"github_repo":39,"description_zh":40,"stars":41,"difficulty_score":32,"last_commit_at":42,"category_tags":43,"status":17},2271,"ComfyUI","Comfy-Org\u002FComfyUI","ComfyUI 是一款功能强大且高度模块化的视觉 AI 引擎，专为设计和执行复杂的 Stable Diffusion 图像生成流程而打造。它摒弃了传统的代码编写模式，采用直观的节点式流程图界面，让用户通过连接不同的功能模块即可构建个性化的生成管线。\n\n这一设计巧妙解决了高级 AI 绘图工作流配置复杂、灵活性不足的痛点。用户无需具备编程背景，也能自由组合模型、调整参数并实时预览效果，轻松实现从基础文生图到多步骤高清修复等各类复杂任务。ComfyUI 拥有极佳的兼容性，不仅支持 Windows、macOS 和 Linux 全平台，还广泛适配 NVIDIA、AMD、Intel 及苹果 Silicon 等多种硬件架构，并率先支持 SDXL、Flux、SD3 等前沿模型。\n\n无论是希望深入探索算法潜力的研究人员和开发者，还是追求极致创作自由度的设计师与资深 AI 绘画爱好者，ComfyUI 都能提供强大的支持。其独特的模块化架构允许社区不断扩展新功能，使其成为当前最灵活、生态最丰富的开源扩散模型工具之一，帮助用户将创意高效转化为现实。",107662,"2026-04-03T11:11:01",[14,15,13],{"id":45,"name":46,"github_repo":47,"description_zh":48,"stars":49,"difficulty_score":10,"last_commit_at":50,"category_tags":51,"status":17},4292,"Deep-Live-Cam","hacksider\u002FDeep-Live-Cam","Deep-Live-Cam 是一款专注于实时换脸与视频生成的开源工具，用户仅需一张静态照片，即可通过“一键操作”实现摄像头画面的即时变脸或制作深度伪造视频。它有效解决了传统换脸技术流程繁琐、对硬件配置要求极高以及难以实时预览的痛点，让高质量的数字内容创作变得触手可及。\n\n这款工具不仅适合开发者和技术研究人员探索算法边界，更因其极简的操作逻辑（仅需三步：选脸、选摄像头、启动），广泛适用于普通用户、内容创作者、设计师及直播主播。无论是为了动画角色定制、服装展示模特替换，还是制作趣味短视频和直播互动，Deep-Live-Cam 都能提供流畅的支持。\n\n其核心技术亮点在于强大的实时处理能力，支持口型遮罩（Mouth Mask）以保留使用者原始的嘴部动作，确保表情自然精准；同时具备“人脸映射”功能，可同时对画面中的多个主体应用不同面孔。此外，项目内置了严格的内容安全过滤机制，自动拦截涉及裸露、暴力等不当素材，并倡导用户在获得授权及明确标注的前提下合规使用，体现了技术发展与伦理责任的平衡。",88924,"2026-04-06T03:28:53",[14,15,13,52],"视频",{"id":54,"name":55,"github_repo":56,"description_zh":57,"stars":58,"difficulty_score":32,"last_commit_at":59,"category_tags":60,"status":17},3704,"NextChat","ChatGPTNextWeb\u002FNextChat","NextChat 是一款轻量且极速的 AI 助手，旨在为用户提供流畅、跨平台的大模型交互体验。它完美解决了用户在多设备间切换时难以保持对话连续性，以及面对众多 AI 模型不知如何统一管理的痛点。无论是日常办公、学习辅助还是创意激发，NextChat 都能让用户随时随地通过网页、iOS、Android、Windows、MacOS 或 Linux 端无缝接入智能服务。\n\n这款工具非常适合普通用户、学生、职场人士以及需要私有化部署的企业团队使用。对于开发者而言，它也提供了便捷的自托管方案，支持一键部署到 Vercel 或 Zeabur 等平台。\n\nNextChat 的核心亮点在于其广泛的模型兼容性，原生支持 Claude、DeepSeek、GPT-4 及 Gemini Pro 等主流大模型，让用户在一个界面即可自由切换不同 AI 能力。此外，它还率先支持 MCP（Model Context Protocol）协议，增强了上下文处理能力。针对企业用户，NextChat 提供专业版解决方案，具备品牌定制、细粒度权限控制、内部知识库整合及安全审计等功能，满足公司对数据隐私和个性化管理的高标准要求。",87618,"2026-04-05T07:20:52",[14,35],{"id":62,"github_repo":63,"name":64,"description_en":65,"description_zh":66,"ai_summary_zh":66,"readme_en":67,"readme_zh":68,"quickstart_zh":69,"use_case_zh":70,"hero_image_url":71,"owner_login":72,"owner_name":73,"owner_avatar_url":74,"owner_bio":75,"owner_company":76,"owner_location":77,"owner_email":76,"owner_twitter":76,"owner_website":76,"owner_url":78,"languages":79,"stars":100,"forks":101,"last_commit_at":102,"license":103,"difficulty_score":32,"env_os":104,"env_gpu":105,"env_ram":106,"env_deps":107,"category_tags":115,"github_topics":117,"view_count":32,"oss_zip_url":76,"oss_zip_packed_at":76,"status":17,"created_at":133,"updated_at":134,"faqs":135,"releases":136},4304,"ItsPi3141\u002Falpaca-electron","alpaca-electron","The simplest way to run Alpaca (and other LLaMA-based local LLMs) on your own computer","Alpaca Electron 是一款专为个人电脑设计的本地大语言模型聊天工具，旨在让用户以最简单的方式运行 Alpaca 及其他基于 LLaMA 架构的 AI 模型。它解决了传统部署方式中需要配置复杂命令行环境、编译代码或依赖昂贵显卡的痛点，让普通用户也能轻松在本地体验开源 AI 的魅力。\n\n这款软件非常适合希望保护数据隐私、在没有网络连接环境下使用 AI，或者仅拥有普通 CPU 而无高端显卡的普通用户及爱好者。其核心亮点在于基于高效的 llama.cpp 后端构建，不仅完全离线运行（仅需下载模型时联网），还大幅降低了硬件门槛，无需任何外部依赖即可通过安装包直接运行。此外，Alpaca Electron 提供了类似主流商业聊天机器人的简洁图形界面，支持上下文记忆功能，并兼容多种量化模型格式。目前虽主要完善支持 Windows 系统，但也为 macOS 和 Linux 用户提供了探索可能。只需下载模型文件并指定路径，用户即可立即开始与本地 AI 进行流畅对话，是入门本地大模型应用的理想选择。","\u003Ch1 align=\"center\">\n\u003Csub>\n\u003Cimg src=\"https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002FItsPi3141_alpaca-electron_readme_148d68cc84bc.png\" height=144>\n\u003C\u002Fsub>\n\u003Cbr>\nAlpaca Electron\n\u003C\u002Fh1>\n\u003Cbr>\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fnodejs.org\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fnode.js-6DA55F?style=for-the-badge&logo=node.js&logoColor=white\">\n  \u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fwww.electronjs.org\u002F\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FElectron-191970?style=for-the-badge&logo=Electron&logoColor=white\">\n  \u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fantimatter15\u002Falpaca.cpp\u002F\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FAlpaca.cpp-%2300599C.svg?style=for-the-badge&logo=c%2B%2B&logoColor=white\">\n  \u003C\u002Fa>\n\u003C\u002Fp>\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fdiscord.gg\u002FW7xwHpPWth\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FDiscord-%235865F2.svg?style=for-the-badge&logo=discord&logoColor=white\">\n  \u003C\u002Fa>\n\u003C\u002Fp>\n\u003Cp align=\"center\">\u003Ci>Alpaca Electron is built from the ground-up to be the easiest way to chat with the alpaca AI models. No command line or compiling needed!\u003C\u002Fi>\u003C\u002Fp>\n\u003Chr>\n\n# Important:\n**Only windows is current supported for now. The new llama.cpp binaries that support GGUF have not been built for other platforms yet.**  \nIf you would like to help, please makea pull request and update the binaries in `.\u002Fbin`\n\n## 📃 Features + to-do\n\n- [x] Runs locally on your computer, internet connection is not needed except when downloading models\n- [x] Compact and efficient since it uses [llama.cpp](https:\u002F\u002Fgithub.com\u002Fggerganov\u002Fllama.cpp) as its backend (which supports Alpaca & Vicuna too)\n- [x] Runs on CPU, anyone can run it without an expensive graphics card\n- [x] No external dependencies required, everything is included in the installer\n- [x] \"Borrowed\" UI from *that* popular chat AI :trollface:\n- [x] Supports Windows, MacOS, and Linux (untested)\n- [x] Docker-ized 🐋\n- [x] Context memory\n- [ ] Chat history\n- [ ] Integration with Stable Diffusion\n- [ ] DuckDuckGo integration for web access\n- [ ] GPU acceleration (cuBLAS & openBLAS)\n\n## 🎞 Demo\n\n![Demonstration](https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002FItsPi3141_alpaca-electron_readme_a33735051273.gif)\n\n## 🚀 Quick Start Guide\n\n1. Download an Alpaca model (7B native is recommended) and place it somewhere on your computer where it's easy to find.\n> **Note**  \n> Download links will not be provided in this repository.\n\n2. Download the latest installer from the [releases page](https:\u002F\u002Fgithub.com\u002FItsPi3141\u002Falpaca-electron\u002Freleases) section.\n\n3. Open the installer and wait for it to install.\n\n4. Once done installing, it'll ask for a valid path to a model. Now, go to where you placed the model, hold shift, right click on the file, and then click on \"Copy as Path\". Then, paste this into that dialog box and click `Confirm`. \n\n5. The program will automatically restart. Now you can begin chatting!\n\n> **Note**  \n> The program will also accept any other 4 bit quantized .bin model files. If you can find other .bin Alpaca model files, you can use them instead of the one recommended in the Quick Start Guide to experiment with different models. As always, be careful about what you download from the internet.\n\n## 🔧 Troubleshooting\n\n### General\n- If you get an error that says \"Invalid file path\" when pasting the path to the model file, you probably have some sort of misspelling in there. Try copying the path again or using the file picker.\n- If you get an error that says \"Couldn't load model\", your model is probably corrupted or incompatible. Try downloading the model again.\n- If you face other problems or issues not listed here, create an issue in the \"Issues\" tab at the top of this page. Describe in detail what happens, and include screenshots. \n\n### Windows\n- If the model has been loaded into RAM but text generation doesn't seem start, [check](https:\u002F\u002Fark.intel.com\u002Fcontent\u002Fwww\u002Fus\u002Fen\u002Fark.html#@Processors) to see if your CPU is compatible with the [AVX2](https:\u002F\u002Fedc.intel.com\u002Fcontent\u002Fwww\u002Fus\u002Fen\u002Fdesign\u002Fipla\u002Fsoftware-development-platforms\u002Fclient\u002Fplatforms\u002Falder-lake-desktop\u002F12th-generation-intel-core-processors-datasheet-volume-1-of-2\u002F002\u002Fintel-advanced-vector-extensions-2-intel-avx2\u002F) instruction set. If it does not support AVX2, Alpaca Electron will use AVX instead, which is much slower so be patient. \n- If you get an error saying \"vcruntime140_1.dll is missing\" or nothing happens at all and the model was not loaded into RAM, try installing the [Microsoft Visual C++ Redistributable](https:\u002F\u002Faka.ms\u002Fvs\u002F17\u002Frelease\u002Fvc_redist.x64.exe). \n\n### MacOS\n- If you get an error that says \"App can't be opened because it is from an unidentified developer.\", go to the Applications folder. Then, hold the control key and click on the app. Then click \"Open\", then click \"Open\" when it gives you a warning. Your preference will be saved and MacOS will let you open the app normally from now on. \n- If the above method does not work, try running the following command in terminal: `xattr -cr \u002FApplications\u002FAlpaca\\ Electron.app\u002F`\n\n### Linux\n\n- You can either download the prebuilt app (packaged as tar.gz) from the releases page, extract it and execute it with ```.\u002F\"alpaca electron\"``` or build the application on yourself.\n\n- If you want to build the application yourself:\n>Clone the repository:\n>\n>```git clone https:\u002F\u002Fgithub.com\u002FItsPi3141\u002Falpaca-electron.git```\n>\n>Change your current directory to alpaca-electron:\n>\n>```cd alpaca-electron```\n>\n>Install application specific dependencies: \n>\n>```npm install --save-dev```\n>\n>Build the application:\n>\n>```npm run linux-x64```\n>\n>Change your current directory to the build target:\n>\n>```cd release-builds\u002F'Alpaca Electron-linux-x64'```\n>\n>Run the application with ```.\u002F'Alpaca Electron'```\n\n### Docker Compose\n\n- You can run this electron application with docker compose. Therefore you need to compelete the following steps:\n\n>Clone the repository:\n>\n>```git clone https:\u002F\u002Fgithub.com\u002FItsPi3141\u002Falpaca-electron.git```\n>\n>Change your current directory to alpaca-electron:\n>\n>```cd alpaca-electron```\n>\n>Build the container image:\n>\n>```docker compose build```\n>\n>Run the application container:\n>\n>```docker compose up -d```\n\n- If no window opens up run ```docker compose up``` (without the -d). If there is an error like ```Authorization required, but no authorization protocol specified``` run ```xhost local:root``` on your docker host.\n\n## ⚒️ Building\n\n### Prerequisites \n- [Node.js](https:\u002F\u002Fnode.org)\n- [Git](https:\u002F\u002Fgit-scm.com)\n- If you're on Windows and are planning on building llama.cpp binaries also, [CMake](https:\u002F\u002Fcmake.org).\n\n### **(OPTIONAL)** Building llama.cpp from source\n1. Clone llama.cpp's GitHub repo\n```sh\ngit clone https:\u002F\u002Fgithub.com\u002Fggerganov\u002Fllama.cpp\ncd llama.cpp\n```\n\n2. Build llama.cpp\nOn Windows:\n```cmd\nmkdir build\ncd build\ncmake ..\ncmake . --config Release\n```\n\nOn Linux and MacOS:\n```sh\nmake\n```\n\n### Running the project from source\n1. Clone the GitHub repo\n```sh\ngit clone https:\u002F\u002Fgithub.com\u002FItsPi3141\u002Falpaca-electron\ncd alpaca-electron\n```\n\n2. Install node packages\n```sh\nnpm install\nnpm run rebuild\n```\n> **Info**\nIf you are on Linux, replace `npm run rebuild` with `npm run rebuild-linux`\n\n3. **(OPTIONAL)** Use your own llama.cpp build\n> **Warning**  \n> This step is not required. Only do it if you had built llama.cpp yourself and you want to use that build. Otherwise, skip to **step 4**\nIf you had built llama.cpp in the previous section, copy the `main` executable file into the `bin` folder inside the alpaca-electron folder. \n\nMake sure the file replaces the correct file. E.g. if you're on Windows, replace chat.exe with your file. If you're on arm64 MacOS, replace chat_mac_arm64. Etc...\n\n4. Start the Electron app\n```sh\nnpm start\n```\n\n### Building a release and installer\nRun one of the following commands:\n- `npm run win`\n- `npm run mac-x64`\n- `npm run mac-arm64`\n- `npm run linux-x64`\n\nYou can only build for the OS you are running the build on. E.g. if you are on Windows, you can build for Windows, but not for MacOS and Linux. \n\n\n## 👨‍💻 Credits\n\nCredits go to [@antimatter15](https:\u002F\u002Fgithub.com\u002Fantimatter15\u002Falpaca.cpp) for creating alpaca.cpp and to [@ggerganov](https:\u002F\u002Fgithub.com\u002Fggerganov\u002Fllama.cpp) for creating llama.cpp, the backbones behind alpaca.cpp. Finally, credits go to Meta and Stanford for creating the LLaMA and Alpaca models, respectively.\n\nSpecial thanks to [@keldenl](https:\u002F\u002Fgithub.com\u002Fkeldenl) for providing arm64 builds for MacOS and [@W48B1T](https:\u002F\u002Fgithub.com\u002FW48B1T) for providing Linux builds\n","\u003Ch1 align=\"center\">\n\u003Csub>\n\u003Cimg src=\"https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002FItsPi3141_alpaca-electron_readme_148d68cc84bc.png\" height=144>\n\u003C\u002Fsub>\n\u003Cbr>\nAlpaca Electron\n\u003C\u002Fh1>\n\u003Cbr>\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fnodejs.org\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fnode.js-6DA55F?style=for-the-badge&logo=node.js&logoColor=white\">\n  \u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fwww.electronjs.org\u002F\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FElectron-191970?style=for-the-badge&logo=Electron&logoColor=white\">\n  \u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fantimatter15\u002Falpaca.cpp\u002F\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FAlpaca.cpp-%2300599C.svg?style=for-the-badge&logo=c%2B%2B&logoColor=white\">\n  \u003C\u002Fa>\n\u003C\u002Fp>\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fdiscord.gg\u002FW7xwHpPWth\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FDiscord-%235865F2.svg?style=for-the-badge&logo=discord&logoColor=white\">\n  \u003C\u002Fa>\n\u003C\u002Fp>\n\u003Cp align=\"center\">\u003Ci>Alpaca Electron 从零开始构建，旨在成为与羊驼 AI 模型对话的最简单方式。无需命令行或编译！\u003C\u002Fi>\u003C\u002Fp>\n\u003Chr>\n\n# 重要提示：\n**目前仅支持 Windows 系统。支持 GGUF 格式的新型 llama.cpp 二进制文件尚未为其他平台构建。**  \n如果您愿意提供帮助，请提交拉取请求，并更新 `.\u002Fbin` 中的二进制文件。\n\n## 📃 功能与待办事项\n\n- [x] 在您的本地计算机上运行，除下载模型外无需互联网连接\n- [x] 体积小巧、效率高，因为其后端使用了 [llama.cpp](https:\u002F\u002Fgithub.com\u002Fggerganov\u002Fllama.cpp)，该库也支持 Alpaca 和 Vicuna 模型\n- [x] 支持 CPU 运行，无需昂贵显卡即可使用\n- [x] 无外部依赖，所有内容均包含在安装程序中\n- [x] 界面“借鉴”自那款流行的聊天 AI :trollface:\n- [x] 支持 Windows、MacOS 和 Linux（未测试）\n- [x] 已 Docker 化 🐋\n- [x] 上下文记忆功能\n- [ ] 聊天历史记录\n- [ ] 与 Stable Diffusion 集成\n- [ ] 集成 DuckDuckGo 实现网络访问\n- [ ] GPU 加速（cuBLAS 和 openBLAS）\n\n## 🎞 演示\n\n![演示](https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002FItsPi3141_alpaca-electron_readme_a33735051273.gif)\n\n## 🚀 快速入门指南\n\n1. 下载一个 Alpaca 模型（推荐使用 7B 原生版本），并将其放置在您电脑上容易找到的位置。\n> **注意**  \n> 本仓库不会提供下载链接。\n\n2. 从 [发布页面](https:\u002F\u002Fgithub.com\u002FItsPi3141\u002Falpaca-electron\u002Freleases) 下载最新的安装程序。\n\n3. 打开安装程序，等待安装完成。\n\n4. 安装完成后，程序会提示您输入有效的模型路径。此时，请前往您存放模型的文件夹，按住 Shift 键，右键单击该文件，然后选择“复制为路径”。接着将此路径粘贴到对话框中并点击“确认”。\n\n5. 程序会自动重启。现在您可以开始聊天了！\n\n> **注意**  \n> 程序也接受任何其他 4 位量化 .bin 格式的模型文件。如果您能找到其他 .bin 格式的 Alpaca 模型，可以替代快速入门指南中推荐的模型进行尝试。不过，请务必谨慎对待从网上下载的内容。\n\n## 🔧 故障排除\n\n### 一般情况\n- 如果在粘贴模型路径时出现“无效文件路径”的错误，很可能是路径中存在拼写错误。请重新复制路径或使用文件选择器。\n- 如果出现“无法加载模型”的错误，可能是因为您的模型已损坏或不兼容。请尝试重新下载模型。\n- 如果遇到此处未列出的问题或故障，请在本页顶部的“Issues”标签页中创建一个问题，详细描述发生的情况，并附上截图。\n\n### Windows\n- 如果模型已加载到内存中，但文本生成似乎并未开始，请[检查](https:\u002F\u002Fark.intel.com\u002Fcontent\u002Fwww\u002Fus\u002Fen\u002Fark.html#@Processors)您的 CPU 是否支持 [AVX2](https:\u002F\u002Fedc.intel.com\u002Fcontent\u002Fwww\u002Fus\u002Fen\u002Fdesign\u002Fipla\u002Fsoftware-development-platforms\u002Fclient\u002Fplatforms\u002Falder-lake-desktop\u002F12th-generation-intel-core-processors-datasheet-volume-1-of-2\u002F002\u002Fintel-advanced-vector-extensions-2-intel-avx2\u002F) 指令集。如果不支持 AVX2，Alpaca Electron 将改用 AVX，但速度会慢很多，请耐心等待。\n- 如果出现“vcruntime140_1.dll 丢失”的错误，或者根本没有任何反应且模型未加载到内存中，请尝试安装 [Microsoft Visual C++ Redistributable](https:\u002F\u002Faka.ms\u002Fvs\u002F17\u002Frelease\u002Fvc_redist.x64.exe)。\n\n### MacOS\n- 如果出现“应用无法打开，因为它来自未识别的开发者”的错误，请前往“应用程序”文件夹。按住 Control 键并点击该应用，然后选择“打开”，再在弹出警告时再次点击“打开”。系统会保存您的偏好设置，此后您就可以正常打开该应用了。\n- 如果上述方法无效，请在终端中运行以下命令：`xattr -cr \u002FApplications\u002FAlpaca\\ Electron.app\u002F`\n\n### Linux\n\n- 您可以从发布页面下载预编译的应用程序包（tar.gz 格式），解压后通过执行 `.\u002Falpaca electron` 来运行；也可以自行编译该应用。\n\n- 如果您想自行编译：\n> 克隆仓库：\n>\n> ```git clone https:\u002F\u002Fgithub.com\u002FItsPi3141\u002Falpaca-electron.git```\n>\n> 切换当前目录至 alpaca-electron：\n>\n> ```cd alpaca-electron```\n>\n> 安装应用特定依赖项：\n>\n> ```npm install --save-dev```\n>\n> 编译应用：\n>\n> ```npm run linux-x64```\n>\n> 切换当前目录至构建目标：\n>\n> ```cd release-builds\u002F'Alpaca Electron-linux-x64'```\n>\n> 运行应用：\n>\n> ```.\u002F'Alpaca Electron'```\n\n### Docker Compose\n\n- 您可以通过 Docker Compose 运行此 Electron 应用程序。为此，您需要完成以下步骤：\n\n> 克隆仓库：\n>\n> ```git clone https:\u002F\u002Fgithub.com\u002FItsPi3141\u002Falpaca-electron.git```\n>\n> 切换当前目录至 alpaca-electron：\n>\n> ```cd alpaca-electron```\n>\n> 构建容器镜像：\n>\n> ```docker compose build```\n>\n> 启动应用容器：\n>\n> ```docker compose up -d```\n\n- 如果没有窗口打开，请运行 `docker compose up`（不带 `-d`）。如果出现类似“需要授权，但未指定授权协议”的错误，请在 Docker 主机上运行 `xhost local:root`。\n\n## ⚒️ 构建\n\n### 前置条件 \n- [Node.js](https:\u002F\u002Fnode.org)\n- [Git](https:\u002F\u002Fgit-scm.com)\n- 如果您使用的是 Windows 并计划编译 llama.cpp 的二进制文件，还需要 [CMake](https:\u002F\u002Fcmake.org)。\n\n### **（可选）** 从源码编译 llama.cpp\n1. 克隆 llama.cpp 的 GitHub 仓库\n```sh\ngit clone https:\u002F\u002Fgithub.com\u002Fggerganov\u002Fllama.cpp\ncd llama.cpp\n```\n\n2. 编译 llama.cpp\n在 Windows 上：\n```cmd\nmkdir build\ncd build\ncmake ..\ncmake . --config Release\n```\n\n在 Linux 和 MacOS 上：\n```sh\nmake\n```\n\n### 从源代码运行项目\n1. 克隆 GitHub 仓库\n```sh\ngit clone https:\u002F\u002Fgithub.com\u002FItsPi3141\u002Falpaca-electron\ncd alpaca-electron\n```\n\n2. 安装 Node.js 依赖包\n```sh\nnpm install\nnpm run rebuild\n```\n> **提示**\n如果您使用的是 Linux 系统，请将 `npm run rebuild` 替换为 `npm run rebuild-linux`\n\n3. **（可选）** 使用您自己的 llama.cpp 构建\n> **警告**  \n> 此步骤并非必需。仅当您自行编译了 llama.cpp 并希望使用该构建时才执行。否则，请跳至 **第 4 步**。\n如果您在上一节中已编译 llama.cpp，请将 `main` 可执行文件复制到 alpaca-electron 文件夹内的 `bin` 目录中。\n\n请确保替换正确的文件。例如，如果您使用的是 Windows 系统，请用您的文件替换 `chat.exe`；如果您使用的是 arm64 架构的 macOS，则替换 `chat_mac_arm64`，以此类推。\n\n4. 启动 Electron 应用程序\n```sh\nnpm start\n```\n\n### 构建发布版本及安装程序\n运行以下命令之一：\n- `npm run win`\n- `npm run mac-x64`\n- `npm run mac-arm64`\n- `npm run linux-x64`\n\n您只能在当前操作系统上构建对应平台的版本。例如，如果您使用的是 Windows 系统，则只能构建 Windows 版本，而无法构建 macOS 或 Linux 版本。\n\n\n## 👨‍💻 致谢\n\n感谢 [@antimatter15](https:\u002F\u002Fgithub.com\u002Fantimatter15\u002Falpaca.cpp) 创建了 alpaca.cpp，也感谢 [@ggerganov](https:\u002F\u002Fgithub.com\u002Fggerganov\u002Fllama.cpp) 创建了 llama.cpp，它们是 alpaca.cpp 的核心基础。最后，感谢 Meta 和斯坦福大学分别开发的 LLaMA 和 Alpaca 模型。\n\n特别感谢 [@keldenl](https:\u002F\u002Fgithub.com\u002Fkeldenl) 提供了适用于 macOS 的 arm64 架构构建，以及 [@W48B1T](https:\u002F\u002Fgithub.com\u002FW48B1T) 提供的 Linux 构建。","# Alpaca Electron 快速上手指南\n\nAlpaca Electron 是一款基于 Electron 和 llama.cpp 构建的桌面应用，旨在让用户无需命令行或编译过程即可在本地轻松与 Alpaca AI 模型对话。它完全在本地运行（除下载模型外无需联网），仅依赖 CPU 即可运行，无需昂贵的显卡。\n\n## 1. 环境准备\n\n### 系统要求\n- **操作系统**：\n  - **Windows**（首选，支持最完善）\n  - **macOS**（支持 Intel x64 及 Apple Silicon arm64）\n  - **Linux**（支持 x64，部分功能可能需自行构建）\n- **硬件要求**：\n  - 无需独立显卡，依靠 CPU 运行。\n  - Windows 用户若遇到生成缓慢，请确保 CPU 支持 **AVX2** 指令集（不支持将自动降级为 AVX，速度较慢）。\n- **内存建议**：运行 7B 参数模型建议至少 8GB-16GB 内存。\n\n### 前置依赖\n- **普通用户**：无需安装任何额外依赖，安装包已包含所有必要组件。\n- **开发者（源码构建）**：\n  - [Node.js](https:\u002F\u002Fnodejs.org\u002F)\n  - [Git](https:\u002F\u002Fgit-scm.com\u002F)\n  - (可选) [CMake](https:\u002F\u002Fcmake.org\u002F)（仅当需要重新编译 llama.cpp 时）\n  - (Windows 特有) 若运行报错缺失 `vcruntime140_1.dll`，请安装 [Microsoft Visual C++ Redistributable](https:\u002F\u002Faka.ms\u002Fvs\u002F17\u002Frelease\u002Fvc_redist.x64.exe)。\n\n## 2. 安装步骤\n\n### 方法一：使用预编译安装包（推荐）\n\n1.  **下载模型文件**\n    下载一个 Alpaca 模型文件（推荐 7B 版本，格式为 `.bin` 的 4-bit 量化文件）。\n    > **注意**：本仓库不提供模型下载链接，请自行从可信来源获取。\n\n2.  **下载安装程序**\n    访问项目的 [Releases 页面](https:\u002F\u002Fgithub.com\u002FItsPi3141\u002Falpaca-electron\u002Freleases)，下载对应操作系统的最新安装包（Windows 为 `.exe`，macOS 为 `.dmg` 或 `.zip`，Linux 为 `.tar.gz`）。\n\n3.  **执行安装**\n    运行下载的安装程序并按照提示完成安装。\n\n4.  **配置模型路径**\n    - 启动程序，它会弹窗要求输入模型文件的有效路径。\n    - 找到你下载的模型文件，按住 `Shift` 键并右键点击该文件，选择\"**复制为路径**\" (Copy as Path)。\n    - 将路径粘贴到程序的对话框中，点击 `Confirm`。\n    - 程序将自动重启并加载模型。\n\n    > **macOS 用户特别提示**：\n    > 若提示\"无法打开，因为来自身份不明的开发者”，请前往“应用程序”文件夹，按住 `Control` 键点击应用图标，选择“打开”，然后在警告框中再次点击“打开”。或者在终端执行：\n    > ```bash\n    > xattr -cr \u002FApplications\u002FAlpaca\\ Electron.app\u002F\n    > ```\n\n### 方法二：Docker 部署（适用于 Linux\u002F高级用户）\n\n```bash\n# 1. 克隆仓库\ngit clone https:\u002F\u002Fgithub.com\u002FItsPi3141\u002Falpaca-electron.git\ncd alpaca-electron\n\n# 2. 构建容器镜像\ndocker compose build\n\n# 3. 运行容器\ndocker compose up -d\n```\n*注：若界面未弹出，尝试运行 `docker compose up`（去掉 `-d`）。若出现授权错误，请在宿主机运行 `xhost local:root`。*\n\n### 方法三：源码构建（开发者）\n\n```bash\n# 1. 克隆项目\ngit clone https:\u002F\u002Fgithub.com\u002FItsPi3141\u002Falpaca-electron.git\ncd alpaca-electron\n\n# 2. 安装依赖\nnpm install\n# Linux 用户请使用：npm run rebuild-linux\n# 其他平台使用：\nnpm run rebuild\n\n# 3. (可选) 替换自编译的 llama.cpp\n# 若你自行编译了 llama.cpp，将生成的可执行文件复制到 .\u002Fbin 目录覆盖对应文件\n# 例如 Windows 覆盖 chat.exe，macOS arm64 覆盖 chat_mac_arm64\n\n# 4. 启动应用\nnpm start\n\n# 5. (可选) 构建发布版安装包\n# 只能在当前系统构建对应系统的包\nnpm run win        # Windows\nnpm run mac-x64    # macOS Intel\nnpm run mac-arm64  # macOS Apple Silicon\nnpm run linux-x64  # Linux\n```\n\n## 3. 基本使用\n\n1.  **启动对话**：完成模型路径配置并重启后，主界面将自动显示聊天窗口。\n2.  **开始聊天**：在底部输入框输入你的问题或指令，按下回车键，AI 将在本地生成回复。\n3.  **上下文记忆**：程序支持上下文记忆，你可以进行多轮对话，AI 会记得之前的聊天内容。\n4.  **切换模型**：若想尝试其他模型，只需关闭程序，重新运行安装程序或在设置中（如有）指向新的 `.bin` 模型文件路径即可。\n\n> **提示**：首次运行时，根据模型大小和 CPU 性能，生成第一个字可能需要几秒钟请耐心等待。","一位没有高端显卡的初级数据分析师，希望在断网环境下利用本地大模型辅助清洗和解释复杂的销售数据。\n\n### 没有 alpaca-electron 时\n- 必须熟悉命令行操作，手动编译 C++ 后端代码并配置复杂的环境依赖，门槛极高。\n- 极度依赖昂贵的 NVIDIA 显卡，普通办公电脑的 CPU 无法运行量化后的 LLaMA 模型。\n- 每次使用需联网调用云端 API，不仅存在数据泄露风险，还受限于网络波动和服务配额。\n- 缺乏直观的对话界面，只能通过脚本输入输出，难以进行多轮上下文交互和调试。\n\n### 使用 alpaca-electron 后\n- 直接下载安装包即可运行，无需任何命令行操作或编译过程，开箱即用。\n- 基于 llama.cpp 后端优化，仅需普通 CPU 即可流畅运行 4bit 量化模型，零硬件成本。\n- 模型完全本地化部署，除下载模型外无需联网，确保敏感销售数据绝对安全且响应即时。\n- 提供类似主流聊天机器人的图形界面，支持上下文记忆，可自然地进行多轮数据追问。\n\nalpaca-electron 将本地大模型的使用门槛从“工程师专属”降低至“普通用户可用”，让每台电脑都能成为私有的 AI 算力中心。","https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002FItsPi3141_alpaca-electron_a3373505.gif","ItsPi3141","Pi","https:\u002F\u002Foss.gittoolsai.com\u002Favatars\u002FItsPi3141_87057d04.png","Hi",null,"Vancouver","https:\u002F\u002Fgithub.com\u002FItsPi3141",[80,84,88,92,96],{"name":81,"color":82,"percentage":83},"JavaScript","#f1e05a",36.6,{"name":85,"color":86,"percentage":87},"HTML","#e34c26",20.5,{"name":89,"color":90,"percentage":91},"Python","#3572A5",20.4,{"name":93,"color":94,"percentage":95},"CSS","#663399",20.3,{"name":97,"color":98,"percentage":99},"Dockerfile","#384d54",2.1,1312,138,"2026-04-02T05:48:40","MIT","Windows, macOS, Linux","非必需。默认在 CPU 上运行，无需昂贵显卡。GPU 加速（cuBLAS & openBLAS）功能尚在开发中（待办事项）。","未说明（模型加载到 RAM 中运行，具体需求取决于所选模型大小，如 7B 模型）",{"notes":108,"python":109,"dependencies":110},"1. Windows 是目前主要支持的平台，其他平台的二进制文件可能尚未更新以支持 GGUF 格式。2. Windows 用户若遇到 'vcruntime140_1.dll 缺失' 错误，需安装 Microsoft Visual C++ Redistributable。3. CPU 需支持 AVX2 指令集以获得较好性能，否则将回退到较慢的 AVX 模式。4. macOS 用户首次打开可能需要通过终端命令或右键菜单绕过‘未知开发者’的安全限制。5. 需自行下载 Alpaca 模型文件（推荐 7B 原生版本或 4bit 量化 .bin 文件），本项目不提供模型下载链接。6. 可通过 Docker Compose 运行。","不需要 Python（基于 Node.js 和 Electron 构建）",[111,112,113,114],"Node.js","Electron","llama.cpp (后端)","Microsoft Visual C++ Redistributable (Windows)",[13,14,15,35,116],"插件",[118,119,120,121,122,123,124,125,126,127,128,129,130,131,64,132],"alpaca","llama","chat","chatgpt","electron","ui","webui","electron-app","linux","macos","windows","ai","app","docker","dalai","2026-03-27T02:49:30.150509","2026-04-06T17:24:25.175751",[],[137,142,147,152,157,162,167],{"id":138,"version":139,"summary_zh":140,"released_at":141},117664,"v1.0.6","![GitHub 发布（按标签）](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fdownloads\u002FItsPi3141\u002Falpaca-electron\u002Fv1.0.6\u002Ftotal?color=3399ee&label=下载量&style=for-the-badge)\n\n我想这真的是早就该来了……不过现在终于出来了 :D\n\n### 目前仅提供 Windows 版本！！\n由于我无法构建 macOS 和 Linux 的二进制文件，因此暂时不支持这两个平台。\n\n## 重大变更\n> **警告**\n**已迁移到新的 llama.cpp，使用 GGUF 格式。旧模型（ggml 格式）将不再兼容。**\n\n## 变更内容\n* @W48B1T 在 https:\u002F\u002Fgithub.com\u002FItsPi3141\u002Falpaca-electron\u002Fpull\u002F21 中修复了 Docker 版本的问题。\n* @eltociear 在 https:\u002F\u002Fgithub.com\u002FItsPi3141\u002Falpaca-electron\u002Fpull\u002F53 中修正了 renderer.js 中的拼写错误。\n* @tfrum 在 https:\u002F\u002Fgithub.com\u002FItsPi3141\u002Falpaca-electron\u002Fpull\u002F54 中更新了 README.md 中的 Linux 指令。\n* @parsec501 在 https:\u002F\u002Fgithub.com\u002FItsPi3141\u002Falpaca-electron\u002Fpull\u002F60 中更新了 README，以反映 llama.cpp 的变更。\n* @ItsPi3141 在 https:\u002F\u002Fgithub.com\u002FItsPi3141\u002Falpaca-electron\u002Fpull\u002F70 中集成了 DuckDuckGo 搜索功能。\n* @W48B1T 在 https:\u002F\u002Fgithub.com\u002FItsPi3141\u002Falpaca-electron\u002Fpull\u002F74 中修复了 Linux 和 Docker 版本的问题（尚未在 Windows 和 macOS 上测试）。\n* @ItsPi3141 在 https:\u002F\u002Fgithub.com\u002FItsPi3141\u002Falpaca-electron\u002Fpull\u002F75 中更新了 llama.cpp。\n\n## 新贡献者\n* @eltociear 在 https:\u002F\u002Fgithub.com\u002FItsPi3141\u002Falpaca-electron\u002Fpull\u002F53 中做出了首次贡献。\n* @tfrum 在 https:\u002F\u002Fgithub.com\u002FItsPi3141\u002Falpaca-electron\u002Fpull\u002F54 中做出了首次贡献。\n* @parsec501 在 https:\u002F\u002Fgithub.com\u002FItsPi3141\u002Falpaca-electron\u002Fpull\u002F60 中做出了首次贡献。\n* @ItsPi3141 在 https:\u002F\u002Fgithub.com\u002FItsPi3141\u002Falpaca-electron\u002Fpull\u002F70 中做出了首次贡献。\n\n**完整变更日志**：https:\u002F\u002Fgithub.com\u002FItsPi3141\u002Falpaca-electron\u002Fcompare\u002Fv1.0.5...v1.0.6","2023-12-04T06:14:26",{"id":143,"version":144,"summary_zh":145,"released_at":146},117665,"v1.0.5","![GitHub 发布（按标签）](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fdownloads\u002FItsPi3141\u002Falpaca-electron\u002Fv1.0.5\u002Ftotal?color=3399ee&label=下载量&style=for-the-badge)\n\n正在测试 Linux 版本。如果您遇到任何问题，请提交 Issue。\n\nv1.0.5 的 macOS arm64 版本现已可用。\n\n## 重大变更\n> **警告**\n**已迁移到 llama.cpp，因为它支持 Alpaca 模型，而 alpaca.cpp 已不再维护。请从[这里](https:\u002F\u002Fhuggingface.co\u002FPi3141)重新下载所有模型。**\n\n## 变更内容\n* @W48B1T 在 https:\u002F\u002Fgithub.com\u002FItsPi3141\u002Falpaca-electron\u002Fpull\u002F8 中添加了 Linux（amd64）支持\n* Docker 现在应该可以正常工作了\n* 已迁移到 llama.cpp\n* AI 会记住之前的对话内容\n\n**完整更新日志**: https:\u002F\u002Fgithub.com\u002FItsPi3141\u002Falpaca-electron\u002Fcompare\u002Fv1.0.4...v1.0.5","2023-04-06T01:03:05",{"id":148,"version":149,"summary_zh":150,"released_at":151},117666,"v1.0.4","Arm64 可能无法正常工作。\n\n## 变更内容\n* 通过 Docker Compose 实现 Linux 支持，由 @W48B1T 在 https:\u002F\u002Fgithub.com\u002FItsPi3141\u002Falpaca-electron\u002Fpull\u002F4 中完成\n* 添加了用于加载模型的文件选择器\n* 参数优化\n\n## 新贡献者\n* @W48B1T 在 https:\u002F\u002Fgithub.com\u002FItsPi3141\u002Falpaca-electron\u002Fpull\u002F4 中完成了首次贡献\n\n**完整变更日志**：https:\u002F\u002Fgithub.com\u002FItsPi3141\u002Falpaca-electron\u002Fcompare\u002Fv1.0.3...v1.0.4\n\n## 致谢\n* 感谢 @keldenl 构建了 arm64 版本","2023-03-26T23:28:11",{"id":153,"version":154,"summary_zh":155,"released_at":156},117667,"v1.0.3","目前仅支持 macOS x64 架构。若要在 arm64 架构上运行，请使用 Rosetta。\n\n## 变更内容\n* 新增了 README.md！由 @8bit-coder 在 https:\u002F\u002Fgithub.com\u002FItsPi3141\u002Falpaca-electron\u002Fpull\u002F1 中完成。\n* 修复了 logo 相关问题，由 @8bit-coder 在 https:\u002F\u002Fgithub.com\u002FItsPi3141\u002Falpaca-electron\u002Fpull\u002F2 中完成。\n\n## 新贡献者\n* @8bit-coder 在 https:\u002F\u002Fgithub.com\u002FItsPi3141\u002Falpaca-electron\u002Fpull\u002F1 中完成了首次贡献。\n\n**完整变更日志**：https:\u002F\u002Fgithub.com\u002FItsPi3141\u002Falpaca-electron\u002Fcompare\u002Fv1.0.2...v1.0.3","2023-03-26T06:32:02",{"id":158,"version":159,"summary_zh":160,"released_at":161},117668,"v1.0.2","**完整更新日志**: https:\u002F\u002Fgithub.com\u002FItsPi3141\u002Falpaca-electron\u002Fcompare\u002Fv1.0.1...v1.0.2","2023-03-25T22:47:20",{"id":163,"version":164,"summary_zh":165,"released_at":166},117669,"v1.0.1","**完整更新日志**: https:\u002F\u002Fgithub.com\u002FItsPi3141\u002Falpaca-electron\u002Fcompare\u002Fv1.0.0...v1.0.1","2023-03-25T20:48:47",{"id":168,"version":169,"summary_zh":170,"released_at":171},117670,"v1.0.0","**完整更新日志**: https:\u002F\u002Fgithub.com\u002FItsPi3141\u002Falpaca-electron\u002Fcommits\u002Fv1.0.0","2023-03-25T02:55:53"]