[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"similar-bjoernkarmann--project_alias":3,"tool-bjoernkarmann--project_alias":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 真正成长为懂上",142651,2,"2026-04-06T23:34:12",[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 都能提供强大的支持。其独特的模块化架构允许社区不断扩展新功能，使其成为当前最灵活、生态最丰富的开源扩散模型工具之一，帮助用户将创意高效转化为现实。",107888,"2026-04-06T11:32:50",[14,15,13],{"id":45,"name":46,"github_repo":47,"description_zh":48,"stars":49,"difficulty_score":32,"last_commit_at":50,"category_tags":51,"status":17},4721,"markitdown","microsoft\u002Fmarkitdown","MarkItDown 是一款由微软 AutoGen 团队打造的轻量级 Python 工具，专为将各类文件高效转换为 Markdown 格式而设计。它支持 PDF、Word、Excel、PPT、图片（含 OCR）、音频（含语音转录）、HTML 乃至 YouTube 链接等多种格式的解析，能够精准提取文档中的标题、列表、表格和链接等关键结构信息。\n\n在人工智能应用日益普及的今天，大语言模型（LLM）虽擅长处理文本，却难以直接读取复杂的二进制办公文档。MarkItDown 恰好解决了这一痛点，它将非结构化或半结构化的文件转化为模型“原生理解”且 Token 效率极高的 Markdown 格式，成为连接本地文件与 AI 分析 pipeline 的理想桥梁。此外，它还提供了 MCP（模型上下文协议）服务器，可无缝集成到 Claude Desktop 等 LLM 应用中。\n\n这款工具特别适合开发者、数据科学家及 AI 研究人员使用，尤其是那些需要构建文档检索增强生成（RAG）系统、进行批量文本分析或希望让 AI 助手直接“阅读”本地文件的用户。虽然生成的内容也具备一定可读性，但其核心优势在于为机器",93400,"2026-04-06T19:52:38",[52,14],"插件",{"id":54,"name":55,"github_repo":56,"description_zh":57,"stars":58,"difficulty_score":10,"last_commit_at":59,"category_tags":60,"status":17},4487,"LLMs-from-scratch","rasbt\u002FLLMs-from-scratch","LLMs-from-scratch 是一个基于 PyTorch 的开源教育项目，旨在引导用户从零开始一步步构建一个类似 ChatGPT 的大型语言模型（LLM）。它不仅是同名技术著作的官方代码库，更提供了一套完整的实践方案，涵盖模型开发、预训练及微调的全过程。\n\n该项目主要解决了大模型领域“黑盒化”的学习痛点。许多开发者虽能调用现成模型，却难以深入理解其内部架构与训练机制。通过亲手编写每一行核心代码，用户能够透彻掌握 Transformer 架构、注意力机制等关键原理，从而真正理解大模型是如何“思考”的。此外，项目还包含了加载大型预训练权重进行微调的代码，帮助用户将理论知识延伸至实际应用。\n\nLLMs-from-scratch 特别适合希望深入底层原理的 AI 开发者、研究人员以及计算机专业的学生。对于不满足于仅使用 API，而是渴望探究模型构建细节的技术人员而言，这是极佳的学习资源。其独特的技术亮点在于“循序渐进”的教学设计：将复杂的系统工程拆解为清晰的步骤，配合详细的图表与示例，让构建一个虽小但功能完备的大模型变得触手可及。无论你是想夯实理论基础，还是为未来研发更大规模的模型做准备",90106,"2026-04-06T11:19:32",[35,15,13,14],{"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":75,"owner_location":76,"owner_email":77,"owner_twitter":75,"owner_website":78,"owner_url":79,"languages":80,"stars":97,"forks":98,"last_commit_at":99,"license":100,"difficulty_score":101,"env_os":102,"env_gpu":103,"env_ram":104,"env_deps":105,"category_tags":118,"github_topics":120,"view_count":32,"oss_zip_url":75,"oss_zip_packed_at":75,"status":17,"created_at":131,"updated_at":132,"faqs":133,"releases":167},4948,"bjoernkarmann\u002Fproject_alias","project_alias","Alias is a teachable “parasite” that is designed to give users more control over their smart assistants, both when it comes to customisation and privacy. Through a simple app the user can train Alias to react on a custom wake-word\u002Fsound, and once trained, Alias can take control over your home assistant by activating it for you.","Project Alias 是一款开源的智能家居隐私保护工具，被形象地称为智能助手的“可教导寄生体”。它主要解决用户对现有智能音箱（如 Google Home、Alexa）缺乏控制权及隐私泄露的担忧。通过运行在树莓派上的软件，Alias 能利用噪音干扰设备内置麦克风，防止其在非唤醒状态下窃听，同时允许用户自定义独特的唤醒词和指令。\n\n该项目特别适合关注数据隐私的极客、安全研究人员以及希望深度定制智能家居体验的开发者使用。其核心技术亮点在于引入了“虚假标签”机制：用户可以调整 Alias 发声的性别或语言，从而误导智能助手的算法，使其对用户的身份特征产生错误判断，增加数据采集的复杂性。此外，Alias 基于 Pocketsphinx 实现了高精度的自定义唤醒词检测，并支持设置噪音延迟以留出清晰的对话窗口。用户只需通过简单的网页界面即可配置这些参数，甚至创建快捷指令（例如说\"Funky Time\"自动触发播放音乐），在保障隐私的同时大幅提升交互的灵活性与趣味性。","# Project Alias 2.0\n\n\u003Cp float=\"left\">\n\u003Cimg src=\"https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fbjoernkarmann_project_alias_readme_03684c2c54ff.jpg\" width=\"49%\"> \u003Cimg src=\"https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fbjoernkarmann_project_alias_readme_621ed6721463.gif\" width=\"49%\">\n\u003C\u002Fp>\n\n[![Python 3.6](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fpython-3.6-blue.svg)](https:\u002F\u002Fwww.python.org\u002Fdownloads\u002Frelease\u002Fpython-360\u002F)\n![License: GPL](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-GPL-blue)\n\nProject Alias is an open-source parasite to hack smart home devices. Train custom wake-up names and commands for your devices while disturbing their built-in microphone with noise. Introduce false labelling to their algorithm by changing gender or nationality. Read more about the project **[here](http:\u002F\u002Fbjoernkarmann.dk\u002Fproject_alias)**\n\n\nThis repository has been updated to 2.0. Find the old version under the branches\n\n### 2.0 Features\n- Multiple wake-up words\n- Custom commands to be told to the assistant\n- Change gender and language of Alias\n- Adjust wake-up word sensitivity and delay\n- New wake-up word detection powered by **[Pocketsphinx](https:\u002F\u002Fcmusphinx.github.io\u002F)**\n\n### Build Guide\nFor the complete step-by-step guide and 3D files see our **[Instructables](https:\u002F\u002Fwww.instructables.com\u002Fid\u002FProject-Alias)**\n\n\n### Easy Setup 🔧\nThe Alias software can be flashed onto a micro SD card, for a fast and easy setup. Make sure the respeaker hat is attached to the Raspberry Pi.\n1. **[Download](https:\u002F\u002Fwww.dropbox.com\u002Fs\u002Fk94bkqs4mkza0tj\u002Falias2.0.img?dl=0)** the *alias2_0.img* file\n2. Use **[Etcher](https:\u002F\u002Fwww.balena.io\u002Fetcher\u002F)** to flash a micro SD card with the .img file\n3. Insert the micro SD card into the Raspberry Pi 3A+\n4. Power Alias up and wait for the yellow light to glow\n\n\n\n*We recommend to use the Easy Setup but if you wish to install the project from scratch use the **Manual Install** instructions.*\n\n### Start using Alias 🍄\n\n1. Configure your Alias by connecting to its local wifi from your phone.\n\u003Cbr>ssid: **Project Alias**  psw: **cordyceps**.\n\n2. Open a browser and enter the url: **alias.local** to interface with Alias.\n\n3. From the interface you can now add new wake-up word \u002F commands or edit existing ones. Save any changes by clicking the **Update Alias** button. We recommend to experiment with different words and sensitivity levels to find what works best for you.\n\n4. To configure the settings, click the icon in the upper right corner. Here you can adjust and customize the noise, language, gender, volume and delay.\n  *Tip: If you write the full command into alias you can create shortcuts and new functions. E.g. By calling 'Funky Time' you\n  could have Alias whisper 'Ok Google, play some funky music on Spotify'.*\n\n\n![User interface](https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fbjoernkarmann_project_alias_readme_78ee838a58ac.jpg)\n\n\n\n### Settings ⚙️\n\nSetting | Description | Default\n--- | --- | ---\nNoise | This will turn on\u002Foff the looping noise| `ON`\nGender | Choose what gender the assistant should perceive when Alias whispers commands. By changing to the opposite gender you will able to introduce false labelling into the assistants algorithm. This confusion might lead to interesting interactions and answers. Note, this only changes the voice of Alias itself, and will therefore only have an effect with long commands. | `Male`\nLanguage | Change the language Alias uses to speak to your assistant. This is to introduce another layer of noise that makes the system label you with a different nationality. To use this feature the command for the assistant has to be written in the same language. | `English`\nVolume | Change the volume of the speakers. This needs to be loud enough for the noise to block the assistant, but low enough not to be audible. Settings can vary by acoustics and ambient inferences. | `39`\nNoise Delay | This increase the delay after the wake-up word has been activated to restart the noise again. This is used as a noise free window, when asking the assistant a question. It should be set to match the appropriate time interval needed for the maximum length of a conversation. | `10s`\nSensitivity | This setting changes the sensitivity of the wake-up word detection. This setting is found on the front page for each command. The lower the number the less sensitive. | `20`\n\n\n\n### Manual Install\n\nIf you wish to build this project manually, you can follow the guide below. We do recommend using the pre installed image linked in the Easy Setup.\n\n#### RaspberryPi Setup\n How to prepare and setup a Raspberry Pi for this project:\n\n1. Download the latest version of **[Raspbian Stretch](https:\u002F\u002Fwww.raspberrypi.org\u002Fdownloads\u002Fraspbian\u002F)** and flash your micro SD card with **[Etcher](https:\u002F\u002Fetcher.io\u002F)**\n\n\n2. Copy the **ssh** and **wpa_supplicant.conf** files from the **[setup folder](setup\u002F)** to the SD card (boot)\n\n\n3. Edit the **wpa_supplicant.conf** in a text editor to match your wifi settings. Insert the card to the raspberry pi\n\n\n4. In terminal ssh into the pi: ```sudo ssh pi@raspberrypi.local```\u003Cbr>*Default password is 'raspberry'. To change password use the 'passwd' command*\n\n5. Update the pi: ```sudo apt-get update && sudo apt-get upgrade```\u003Cbr>\n\n7. Reboot ```sudo reboot```\n\n\n#### Installing Dependencies\n\n*Note: Some dependencies might very for differen versions. This guide has last been tested and validated on Raspbian Stretch version 9.*\n\nOn the Rapsberry Pi: Enable interface SPI in raspi-config\n```\nraspi-config\n```\n\nMake sure you have python3 and git installed for the next steps:\n```\nsudo apt-get install python3-dev python3-pip git libatlas-base-dev\n```\n\nClone and install the sound driver for the **[ReSpeaker](http:\u002F\u002Fwiki.seeedstudio.com\u002FReSpeaker_2_Mics_Pi_HAT\u002F)** hat:\u003Cbr>\n*– This is only required when using the ReSpeaker hat, this code will also work with other sound drivers.*\n\n```\ncd && git clone https:\u002F\u002Fgithub.com\u002Frespeaker\u002Fseeed-voicecard.git\ncd seeed-voicecard && sudo .\u002Finstall.sh\n```\n\nDisable default sound card by following this **[guide](https:\u002F\u002Fwww.instructables.com\u002Fid\u002FDisable-the-Built-in-Sound-Card-of-Raspberry-Pi\u002F)**\n\nInstall **pocketsphinx** and dependencies\n```\nsudo pip3 install spidev\nsudo apt-get install -y python python-dev python-pip build-essential swig git libpulse-dev\nsudo apt-get install libasound2-dev\nsudo apt-get install pulseaudio pulseaudio-utils libpulse-dev libpulse-java libpulse0\nsudo pip3 install --upgrade pocketsphinx\n```\n\nInstall **espeak**\n\n```\nsudo apt-get install espeak\n```\n\nInstall **flask** server\n```\nsudo pip3 install flask flask_socketio\n```\n\nInstall **pygame**\n```\nsudo apt-get install python3-pygame\n```\n\nTo install a private network you can follow this **[guide](https:\u002F\u002Fgithub.com\u002Fraspberrypi\u002Fdocumentation\u002Fpull\u002F1097\u002Ffiles)**\n\n\nFinally clone the **Alias** project:\n\n```\ngit clone https:\u002F\u002Fgithub.com\u002Fbjoernkarmann\u002Fproject_alias.git\n```\n\n\n### Change assistant\n\nIf you are using **Google Home** or an **Amazon Alexa** the way you change the wake up word is simply by writing it in the responds field in the Alias web-app\n\n\n### Contributors\nMade by **[Bjørn Karmann](http:\u002F\u002Fbjoernkarmann.dk)** and **[Tore Knudsen](http:\u002F\u002Fwww.toreknudsen.dk\u002F)**\n\n\n### License\n\nThis project is licensed under the GPL License - see the LICENSE.GPL file in the root folder\n","# 项目别名 2.0\n\n\u003Cp float=\"left\">\n\u003Cimg src=\"https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fbjoernkarmann_project_alias_readme_03684c2c54ff.jpg\" width=\"49%\"> \u003Cimg src=\"https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fbjoernkarmann_project_alias_readme_621ed6721463.gif\" width=\"49%\">\n\u003C\u002Fp>\n\n[![Python 3.6](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fpython-3.6-blue.svg)](https:\u002F\u002Fwww.python.org\u002Fdownloads\u002Frelease\u002Fpython-360\u002F)\n![License: GPL](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-GPL-blue)\n\n项目别名是一个开源的寄生程序，用于入侵智能家居设备。通过向设备内置麦克风注入噪声，训练自定义唤醒词和指令；同时，还可以通过改变性别或国籍来干扰其算法中的标签识别。更多关于该项目的信息请访问 **[这里](http:\u002F\u002Fbjoernkarmann.dk\u002Fproject_alias)**\n\n\n本仓库已更新至 2.0 版本。旧版本可在分支中找到。\n\n### 2.0 新特性\n- 支持多个唤醒词\n- 自定义助手指令\n- 可更改别名的性别和语言\n- 调整唤醒词灵敏度及延迟\n- 基于 **[Pocketsphinx](https:\u002F\u002Fcmusphinx.github.io\u002F)** 的全新唤醒词检测功能\n\n### 构建指南\n完整的分步教程及 3D 模型文件请参阅我们的 **[Instructables](https:\u002F\u002Fwww.instructables.com\u002Fid\u002FProject-Alias)** 页面\n\n\n### 简易安装 🔧\n别名软件可刷入 microSD 卡，实现快速简便的安装。请确保 Respeaker 音频扩展板已连接到树莓派。\n1. **[下载](https:\u002F\u002Fwww.dropbox.com\u002Fs\u002Fk94bkqs4mkza0tj\u002Falias2.0.img?dl=0)** *alias2_0.img* 文件\n2. 使用 **[Etcher](https:\u002F\u002Fwww.balena.io\u002Fetcher\u002F)** 将 .img 文件烧录到 microSD 卡\n3. 将 microSD 卡插入树莓派 3A+\n4. 开启别名电源，等待黄色指示灯亮起\n\n\n\n*我们推荐使用简易安装方式，但如果您希望从头开始安装该项目，请参考“手动安装”说明。*\n\n### 开始使用别名 🍄\n\n1. 使用手机连接到别名的本地 Wi‑Fi 进行配置。\n   - SSID：**Project Alias**\n   - 密码：**cordyceps**\n\n2. 打开浏览器并输入网址：**alias.local**，即可与别名交互。\n\n3. 在界面上，您可以添加新的唤醒词\u002F指令或编辑现有内容。点击 **Update Alias** 按钮保存更改。建议尝试不同的唤醒词和灵敏度设置，以找到最适合您的方案。\n\n4. 若要调整设置，单击右上角的图标。在这里您可以调节噪声、语言、性别、音量和延迟等参数。\n   *提示：如果您将完整指令输入别名，可以创建快捷方式和新功能。例如，当您说“Funky Time”时，别名可以低声说出“Ok Google, 在 Spotify 上播放一些放克音乐”。*\n\n\n![用户界面](https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fbjoernkarmann_project_alias_readme_78ee838a58ac.jpg)\n\n\n\n### 设置 ⚙️\n\n设置 | 描述 | 默认值\n--- | --- | ---\n噪声 | 开启或关闭循环播放的背景噪声 | `ON`\n性别 | 选择助手在听到别名发出指令时所感知的性别。切换为相反性别可以在助手的算法中引入错误标签，从而产生有趣的互动和回答。请注意，这仅改变别名本身的声音，因此只对较长的指令有效。 | `Male`\n语言 | 更改别名与您的助手交流时使用的语言。此举旨在增加一层干扰，使系统将您标记为不同国籍。要使用此功能，助手指令必须用相同语言编写。 | `English`\n音量 | 调节扬声器音量。音量需足够大以屏蔽助手的响应，但又不能过于刺耳。具体设置应根据房间声学环境和背景噪音进行调整。 | `39`\n噪声延迟 | 唤醒词触发后，该设置会延长重新启动噪声的时间。这段时间可用作无噪声窗口，以便您向助手提问。建议将其设置为与对话最长持续时间相匹配的间隔。 | `10s`\n灵敏度 | 此设置用于调整唤醒词检测的灵敏度。该选项位于每个指令的首页。数值越低，灵敏度越低。 | `20`\n\n\n\n### 手动安装\n\n如果您希望手动构建该项目，可以按照以下步骤操作。不过我们仍建议使用“简易安装”部分提供的预装镜像。\n\n#### 树莓派设置\n如何为本项目准备并设置树莓派：\n\n1. 下载最新版 **[Raspbian Stretch](https:\u002F\u002Fwww.raspberrypi.org\u002Fdownloads\u002Fraspbian\u002F)**，并使用 **[Etcher](https:\u002F\u002Fetcher.io\u002F)** 将其烧录到 microSD 卡上。\n\n\n2. 将 **setup 文件夹** 中的 **ssh** 和 **wpa_supplicant.conf** 文件复制到 SD 卡的 boot 分区。\n\n\n3. 使用文本编辑器修改 **wpa_supplicant.conf** 文件，使其与您的 Wi‑Fi 设置匹配。然后将卡插入树莓派。\n\n\n4. 在终端中通过 SSH 登录到树莓派：```sudo ssh pi@raspberrypi.local```\u003Cbr>*默认密码为 'raspberry'。如需更改密码，请使用 'passwd' 命令*\n\n5. 更新树莓派：```sudo apt-get update && sudo apt-get upgrade```\u003Cbr>\n\n7. 重启：```sudo reboot```\n\n\n#### 安装依赖项\n\n*注意：某些依赖项可能因版本不同而有所差异。本指南已在 Raspbian Stretch 9 版本上测试并验证过。*\n\n在树莓派上：启用 raspi-config 中的 SPI 接口\n```\nraspi-config\n```\n\n确保已安装 Python3 和 Git，以便进行后续操作：\n```\nsudo apt-get install python3-dev python3-pip git libatlas-base-dev\n```\n\n克隆并安装 **[Respeaker](http:\u002F\u002Fwiki.seeedstudio.com\u002FReSpeaker_2_Mics_Pi_HAT\u002F)** 音频扩展板的驱动程序：\u003Cbr>\n*– 此步骤仅在使用 Respeaker 音频扩展板时需要，其他音频驱动程序也可适用。*\n\n```\ncd && git clone https:\u002F\u002Fgithub.com\u002Frespeaker\u002Fseeed-voicecard.git\ncd seeed-voicecard && sudo .\u002Finstall.sh\n```\n\n按照此 **[指南](https:\u002F\u002Fwww.instructables.com\u002Fid\u002FDisable-the-Built-in-Sound-Card-of-Raspberry-Pi\u002F)** 禁用默认声卡。\n\n安装 **Pocketsphinx** 及其依赖项：\n```\nsudo pip3 install spidev\nsudo apt-get install -y python python-dev python-pip build-essential swig git libpulse-dev\nsudo apt-get install libasound2-dev\nsudo apt-get install pulseaudio pulseaudio-utils libpulse-dev libpulse-java libpulse0\nsudo pip3 install --upgrade pocketsphinx\n```\n\n安装 **espeak**：\n```\nsudo apt-get install espeak\n```\n\n安装 **Flask** 服务器：\n```\nsudo pip3 install flask flask_socketio\n```\n\n安装 **Pygame**：\n```\nsudo apt-get install python3-pygame\n```\n\n若需搭建私有网络，可参考此 **[指南](https:\u002F\u002Fgithub.com\u002Fraspberrypi\u002Fdocumentation\u002Fpull\u002F1097\u002Ffiles)**。\n\n\n最后，克隆 **Alias** 项目：\n```\ngit clone https:\u002F\u002Fgithub.com\u002Fbjoernkarmann\u002Fproject_alias.git\n```\n\n\n### 更改助手\n\n如果您使用的是 **Google Home** 或 **Amazon Alexa**，只需在别名的网页应用中将唤醒词写入响应字段即可更改。\n\n\n### 贡献者\n由 **[Bjørn Karmann](http:\u002F\u002Fbjoernkarmann.dk)** 和 **[Tore Knudsen](http:\u002F\u002Fwww.toreknudsen.dk\u002F)** 制作\n\n### 许可证\n\n本项目采用 GPL 许可证授权——请参阅根目录下的 LICENSE.GPL 文件。","# Project Alias 2.0 快速上手指南\n\nProject Alias 是一个开源的“寄生”工具，旨在通过播放噪音干扰智能家居设备（如 Google Home、Amazon Alexa）的内置麦克风，同时训练自定义的唤醒词和指令。它可以通过改变性别或语言特征向算法引入错误标签，从而探索人机交互的新边界。\n\n## 环境准备\n\n### 硬件要求\n- **开发板**: Raspberry Pi 3A+ (推荐) 或其他兼容型号\n- **音频扩展板**: ReSpeaker 2-Mic Pi HAT (必须，用于双麦克风阵列和扬声器)\n- **存储**: Micro SD 卡 (建议 8GB 以上)\n- **网络**: 可连接 Wi-Fi 的环境\n\n### 系统要求\n- **操作系统**: Raspbian Stretch (Debian 9) 或更高版本\n- **Python 版本**: Python 3.6+\n- **关键依赖**:\n  - `pocketsphinx`: 用于本地唤醒词检测\n  - `espeak`: 用于文本转语音 (TTS)\n  - `flask`: 用于 Web 控制界面\n  - `pygame`: 用于音频播放控制\n\n> **注意**: 本项目主要依赖海外源，国内用户安装依赖时若遇速度问题，建议临时切换至清华或阿里镜像源配置 `pip` 和 `apt`。\n\n## 安装步骤\n\n本项目提供两种安装方式：**简易镜像烧录**（推荐）和 **手动源码安装**。\n\n### 方案一：简易设置 (Easy Setup) - 推荐\n此方法无需配置依赖，直接刷入预装好的系统镜像。\n\n1. **下载镜像**:\n   下载 `alias2_0.img` 文件。\n   *(注：原链接为 Dropbox，若下载缓慢请自行寻找替代源或使用代理)*\n\n2. **烧录镜像**:\n   使用 **[Etcher](https:\u002F\u002Fwww.balena.io\u002Fetcher\u002F)** 将 `.img` 文件烧录到 Micro SD 卡中。\n\n3. **硬件组装**:\n   将 ReSpeaker HAT 安装在 Raspberry Pi 上，插入烧录好的 SD 卡。\n\n4. **启动**:\n   接通电源，等待黄色指示灯亮起即表示启动成功。\n\n---\n\n### 方案二：手动安装 (Manual Install)\n适合需要自定义系统或从零构建的开发者。\n\n#### 1. 系统初始化\n下载 **Raspbian Stretch** 并烧录至 SD 卡。在卡根目录创建 `ssh` 文件和 `wpa_supplicant.conf` (配置你的 Wi-Fi 账号密码)，然后启动树莓派。\n\nSSH 登录树莓派 (默认密码: `raspberry`)：\n```bash\nsudo ssh pi@raspberrypi.local\n```\n\n更新系统：\n```bash\nsudo apt-get update && sudo apt-get upgrade\nsudo reboot\n```\n\n#### 2. 启用接口与安装基础依赖\n启用 SPI 接口：\n```bash\nsudo raspi-config\n# 在 Interface Options 中启用 SPI\n```\n\n安装基础开发库：\n```bash\nsudo apt-get install python3-dev python3-pip git libatlas-base-dev\n```\n\n#### 3. 安装 ReSpeaker 驱动\n克隆并安装 Seeed Studio 的语音卡驱动：\n```bash\ncd && git clone https:\u002F\u002Fgithub.com\u002Frespeaker\u002Fseeed-voicecard.git\ncd seeed-voicecard && sudo .\u002Finstall.sh\n```\n*提示：安装后需参考相关指南禁用树莓派自带声卡，以确保 ReSpeaker 为默认设备。*\n\n#### 4. 安装核心依赖\n安装 Pocketsphinx 及相关音频库：\n```bash\nsudo pip3 install spidev\nsudo apt-get install -y python python-dev python-pip build-essential swig git libpulse-dev\nsudo apt-get install libasound2-dev\nsudo apt-get install pulseaudio pulseaudio-utils libpulse-dev libpulse-java libpulse0\nsudo pip3 install --upgrade pocketsphinx\n```\n\n安装语音合成与 Web 服务依赖：\n```bash\nsudo apt-get install espeak\nsudo pip3 install flask flask_socketio\nsudo apt-get install python3-pygame\n```\n\n#### 5. 获取项目代码\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Fbjoernkarmann\u002Fproject_alias.git\n```\n\n## 基本使用\n\n### 1. 连接与配置\n- **连接 Wi-Fi**: 使用手机或电脑连接 Alias 发出的热点。\n  - SSID: `Project Alias`\n  - 密码: `cordyceps`\n- **访问控制台**: 打开浏览器访问 `http:\u002F\u002Falias.local`。\n\n### 2. 设置自定义指令\n在 Web 界面中，你可以添加新的唤醒词和对应执行的命令：\n1. 点击添加新条目。\n2. **Wake-up Word**: 输入你想使用的自定义唤醒词（例如 \"Funky Time\"）。\n3. **Command**: 输入实际要发送给智能助手的指令（例如 \"Ok Google, play some funky music on Spotify\"）。\n4. 点击 **Update Alias** 保存。\n\n### 3. 调整高级参数\n点击右上角图标进入设置页面，可根据环境调整以下参数：\n- **Noise**: 开启\u002F关闭干扰噪音循环（默认 `ON`）。\n- **Gender**: 改变 Alias 说话时的性别特征，以混淆助手算法（默认 `Male`）。\n- **Language**: 改变 Alias 使用的语言，模拟不同国籍特征（默认 `English`）。\n- **Volume**: 调节音量，需足够大以干扰助手，但尽量不被人耳察觉（默认 `39`）。\n- **Noise Delay**: 设置唤醒后的静音窗口期，以便你能正常与助手对话（默认 `10s`）。\n- **Sensitivity**: 调整唤醒词检测灵敏度，数值越低越不敏感（默认 `20`）。\n\n### 4. 运行测试\n对着设备说出你设置的自定义唤醒词（如 \"Funky Time\"）。Alias 将：\n1. 检测到唤醒词。\n2. 暂时停止干扰噪音。\n3. 用设定的音色低声复述你预设的真实指令给智能助手听。\n4. 恢复干扰噪音。\n\n> **提示**: 实验不同的灵敏度和噪音延迟是获得最佳效果的关键。","自由职业设计师林浩在家中工作室使用智能音箱控制音乐和灯光，但他极度担忧设备在非指令状态下持续监听并上传隐私数据。\n\n### 没有 project_alias 时\n- 必须使用厂商固定的唤醒词（如\"Hey Google\"），无法自定义符合个人习惯的触发指令。\n- 智能音箱麦克风始终处于活跃监听状态，私密谈话存在被意外记录或误触发的风险。\n- 无法干扰设备的用户画像算法，助手会持续根据声音特征标记用户的性别、口音等隐私信息。\n- 若想执行复杂操作（如“播放特定歌单并调暗灯光”），每次都必须完整说出冗长的原生指令。\n- 缺乏对设备行为的底层控制权，完全依赖厂商提供的有限设置，无法实现真正的本地化隐私保护。\n\n### 使用 project_alias 后\n- 通过训练自定义唤醒词（如\"Funky Time\"），林浩可以用独特的暗号轻松激活助手，摆脱固定词汇束缚。\n- project_alias 在待机时发射特定噪音干扰内置麦克风，仅在需要时由树莓派接管激活，彻底阻断后台窃听。\n- 利用变声和语言切换功能，project_alias 向助手输入虚假的性别和国籍标签，混淆其用户画像算法。\n- 支持将长指令预设为简短触发词，只需说\"Funky Time\"，project_alias 便会自动向助手发送完整的复杂指令序列。\n- 基于开源硬件和 Pocketsphinx 技术，林浩完全掌握了唤醒逻辑和噪声参数，实现了可审计的本地化控制。\n\nproject_alias 通过将智能助手从“始终在线的监听者”转变为“按需激活的工具”，在保留便利性的同时重构了用户对智能家居的隐私主权。","https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fbjoernkarmann_project_alias_78ee838a.jpg","bjoernkarmann","Bjørn Karmann","https:\u002F\u002Foss.gittoolsai.com\u002Favatars\u002Fbjoernkarmann_8b6eb769.jpg",null,"Amsterdam","bjoern.t.karmann@gmail.com","http:\u002F\u002Fwww.bjoernkarmann.dk","https:\u002F\u002Fgithub.com\u002Fbjoernkarmann",[81,85,89,93],{"name":82,"color":83,"percentage":84},"Python","#3572A5",46.4,{"name":86,"color":87,"percentage":88},"HTML","#e34c26",26.1,{"name":90,"color":91,"percentage":92},"JavaScript","#f1e05a",16.1,{"name":94,"color":95,"percentage":96},"CSS","#663399",11.4,1699,99,"2026-04-06T10:01:24","GPL-3.0",4,"Linux (Raspbian Stretch)","不需要 GPU","未说明 (基于 Raspberry Pi 3A+)",{"notes":106,"python":107,"dependencies":108},"该项目专为树莓派 (Raspberry Pi 3A+) 设计，需配合 ReSpeaker 2 Mics Pi HAT 硬件使用。主要功能是通过播放噪音干扰智能音箱麦克风并伪装语音指令。官方推荐使用预烧录的镜像文件进行快速部署，手动安装需基于 Raspbian Stretch (版本 9) 系统。无需高性能计算资源，依靠 Pocketsphinx 进行本地唤醒词检测。","3.6+",[109,110,111,112,113,114,115,116,117],"pocketsphinx","espeak","flask","flask_socketio","pygame","spidev","libatlas-base-dev","libpulse-dev","libasound2-dev",[119,14],"音频",[121,122,123,124,125,126,127,128,129,130],"machine-learning","classification","sound-synthesis","speech-recognition","hack","smarthome","alias","wakeword","raspberry-pi","microphone","2026-03-27T02:49:30.150509","2026-04-07T17:05:23.869038",[134,139,144,149,154,159,163],{"id":135,"question_zh":136,"answer_zh":137,"source_url":138},22464,"为什么设备会对任何噪音（如敲桌子）都触发唤醒词？","这是旧版本中常见的校准问题。维护者已发布 Alias 2.0 版本来解决此类安装和校准困难。新版本提供了更大的自由度，并将安装过程简化为单个镜像文件。建议升级到 Alias 2.0 以获得更稳定的体验。","https:\u002F\u002Fgithub.com\u002Fbjoernkarmann\u002Fproject_alias\u002Fissues\u002F15",{"id":140,"question_zh":141,"answer_zh":142,"source_url":143},22465,"重启树莓派或应用程序后，训练好的模型丢失或未加载怎么办？","这通常是由于启动脚本中的路径配置错误导致的。如果在 \u002Fetc\u002Frc.local 中启动应用，必须使用绝对路径。请尝试将启动命令修改为：`cd \u002Fhome\u002Fpi\u002Fproject_alias && python3 app.py &`。如果仍然无效，可能是权限问题，可以尝试将命令添加到 \u002Fetc\u002Fprofile 中测试。","https:\u002F\u002Fgithub.com\u002Fbjoernkarmann\u002Fproject_alias\u002Fissues\u002F21",{"id":145,"question_zh":146,"answer_zh":147,"source_url":148},22466,"运行 app.py 时出现 'Assertion `ret == self->nfds' failed' 错误并中止进程如何解决？","该错误通常与 TensorFlow 或音频后端（ALSA）的兼容性有关。虽然具体的依赖修复较复杂，但维护者强烈建议直接使用 Alias 2.0 版本。2.0 版本通过预配置的镜像文件解决了大部分依赖冲突和安装难题，避免了手动编译带来的环境不一致问题。","https:\u002F\u002Fgithub.com\u002Fbjoernkarmann\u002Fproject_alias\u002Fissues\u002F38",{"id":150,"question_zh":151,"answer_zh":152,"source_url":153},22467,"无法通过 'http:\u002F\u002Fraspberrypi.local:5050\u002F' 访问网页界面，提示找不到服务器 IP 地址？","这通常意味着设备未正常启动网络服务或存在底层依赖错误。首先检查是否有其他报错（如 Issue #38 中的 TensorFlow 错误）。如果是因为安装困难导致的运行失败，建议直接下载并刷入 Alias 2.0 的官方镜像文件，该版本简化了安装流程并修复了多项导致服务无法启动的问题。","https:\u002F\u002Fgithub.com\u002Fbjoernkarmann\u002Fproject_alias\u002Fissues\u002F31",{"id":155,"question_zh":156,"answer_zh":157,"source_url":158},22468,"安装 TensorFlow 或 Keras 时，Scipy 模块安装失败报错怎么办？","Scipy 安装失败通常是因为缺少 Fortran 编译器。请按以下步骤操作：\n1. 安装 Fortran 编译器：`sudo apt-get install gfortran`\n2. 清除缓存并重新安装 Scipy（构建过程可能较慢，请耐心等待）：`sudo pip3 install scipy --no-cache-dir`\n3. 确保 Keras 也安装成功。如果问题依旧，建议直接使用 Alias 2.0 镜像以避免复杂的依赖编译问题。","https:\u002F\u002Fgithub.com\u002Fbjoernkarmann\u002Fproject_alias\u002Fissues\u002F32",{"id":160,"question_zh":161,"answer_zh":162,"source_url":138},22469,"重启树莓派后，Alsalmixer 设置和学习到的关键词丢失了？","这是一个已知问题，特别是在非正常关机或断电时发生。该问题在 Alias 2.0 版本中得到了改进。维护者建议升级到 2.0 版本，新版本不仅增强了功能，还优化了系统配置的持久化存储，减少了因重启导致设置丢失的情况。",{"id":164,"question_zh":165,"answer_zh":166,"source_url":143},22470,"界面显示示例数量为 '0' 且不提示说唤醒词，是模型没加载吗？","不一定。有用户反馈这是一种显示误导，实际上模型已经正确加载并工作。如果设备能正常响应唤醒词，可以忽略界面上示例数量为 0 的显示异常。如果确实无法唤醒，请检查麦克风权限及上述的路径配置问题。",[]]