[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-109643":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":23,"topics":26,"createdAt":10,"pushedAt":36,"updatedAt":37,"readmeContent":38,"aiSummary":39,"trendingCount":16,"starSnapshotCount":16,"syncStatus":14,"lastSyncTime":40,"discoverSource":41},109643,"whale_girl","Banan1cee\u002Fwhale_girl","Banan1cee","鲸鲸 · 让 DeepSeek 用你的微信账号陪聊（Windows 桌面端 + WPF 启动器）。WeChat chat bot powered by DeepSeek\u002FQwen.","https:\u002F\u002Fgithub.com\u002FBanan1cee\u002Fwhale_gril",null,"JavaScript",966,55,2,10,0,38,270,635,207,99.22,"Other",false,"main",true,[27,28,29,30,31,32,33,34,35],"chatbot","deepseek","llm","nodejs","python","uiautomation","wechat-bot","windows","wpf","2026-11-23 17:13:55","2026-11-23 19:59:11","[English](README.md) | [中文](docs\u002FREADME.zh-CN.md)\n\n# 🐋 Whale Girl\n\n[![GitHub release](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002FBanan1cee\u002Fwhale_girl)](https:\u002F\u002Fgithub.com\u002FBanan1cee\u002Fwhale_girl\u002Freleases\u002Flatest)\n[![License: AGPL-3.0](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-AGPL%20v3-blue.svg)](LICENSE)\n[![Node.js](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fnode-%3E%3D18-339933)](https:\u002F\u002Fnodejs.org\u002F)\n[![Python](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fpython-3.12-3776AB)](https:\u002F\u002Fwww.python.org\u002F)\n[![Wechatauto](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fwechatauto-1.2.9-4B8BBE)](https:\u002F\u002Fpypi.org\u002Fproject\u002Fwechatauto-replica\u002F)\n![Platform](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fplatform-Windows%2010%20%7C%2011-0078D4)\n[![GitHub stars](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002FBanan1cee\u002Fwhale_girl)](https:\u002F\u002Fgithub.com\u002FBanan1cee\u002Fwhale_girl\u002Fstargazers)\n\nA local-first AI companion for WeChat. She replies in group chats, remembers what people tell her, and can also send stickers, voice messages, and daily diary entries.\n\nEverything is controlled from one Windows launcher. There is no browser UI; `127.0.0.1:8787` only serves the local HTTP API.\n\n> **Just want to run it?** Download `whale-girl-*-setup.exe` from [Releases](https:\u002F\u002Fgithub.com\u002FBanan1cee\u002Fwhale_girl\u002Freleases\u002Flatest).\n> The installer includes Node.js, Python 3.12 and the .NET 10 desktop runtime, so no extra downloads are needed.\n\n---\n\n## What it does\n\n- **WeChat replies** — answers @-mentions and her name in groups, keeps a conversation going while it is alive, and stays quiet when the topic ends.\n- **Memory** — records facts from private chats, compresses older group history, and stays silent when an image or sticker cannot be read.\n- **Human-like delivery** — splits a reply into short bubbles, avoids trailing punctuation, and rewrites repeated or parroted replies once.\n- **Extras** — stickers, Moments reading and manual interaction, Markdown diary, voice replies, web search, hot lists, and basic group admin.\n- **One control panel** — start, stop, configure, and diagnose everything from `WhaleLauncher.exe`.\n\n## Requirements\n\n- Windows 10 or 11\n- A logged-in WeChat 4.x account (a secondary account is recommended)\n- One model API key: DeepSeek, Zhipu GLM, SiliconFlow, Qwen, Doubao, OpenCode, or any OpenAI-compatible endpoint\n- Optional: Ollama or another local OpenAI-compatible server\n- Administrator rights for WeChat UI automation\n- Install into an **ASCII-only path** such as `D:\\whale-girl`; Chinese characters in the path can break WeChat automation\n\n## Install and first run\n\n1. Download `whale-girl-*-setup.exe` from [Releases](https:\u002F\u002Fgithub.com\u002FBanan1cee\u002Fwhale_girl\u002Freleases\u002Flatest) and run it.\n2. Open the **Whale Girl** desktop shortcut.\n3. In the launcher, open **Settings**, choose a model provider, and fill in the API key.\n4. Open **WeChat bridge**, select the account, then press **Start**.\n5. Wait until the Status page shows both the kernel and the bridge as running.\n\nThe installer bundles the Node.js runtime, Python 3.12, `wechatauto`, and the .NET 10 desktop runtime. The launcher prefers bundled runtimes and falls back to `PATH` only when needed. No `npm install` is required.\n\n## Main features\n\n| Feature | What it does |\n| --- | --- |\n| WeChat group replies | Replies to @-mentions and her name; ignores unrelated arguments |\n| Memory | Remembers owner facts and compresses old group conversations |\n| Stickers | 27 built-in images plus custom categories; sending is off by default |\n| Moments | Reads the selected account's local cache; manual like, comment, and copy-draft |\n| Diary | Writes at most one Markdown entry per day to `data\u002Fdiary\u002FYYYY\u002FMM-DD.md` |\n| Voice | Transcribes incoming voice; optional voice replies through BreezeBlue, MiniMax, or SiliconFlow |\n| Search | Bing with a 360 fallback, Bilibili\u002FWeibo hot lists, Toutiao, and link extraction |\n| Group admin | Mute\u002Funmute, switch model, change tone, clear memory, and low-battery good-night |\n| Diagnostics | Built-in logs, account checks, UIA self-test, and update checks |\n\nDetailed behavior and configuration are documented under [`docs\u002F`](docs\u002F).\n\n## Updates and stopping\n\n- **Update**: open **Check for updates** in the launcher. It reads `release-manifest.json`, downloads the official installer, verifies SHA256, and installs over the old version. `data\u002F` and `config.json` are preserved.\n- **Stop**: press **Stop** in the launcher, then close it. The kernel and bridge stop together.\n- **Optional cleanup**: after closing the launcher, run `powershell -File scripts\\stop-all.ps1` if a process is left behind. It writes `data\\PAUSED` so nothing restarts automatically.\n- **Resume**: open `WhaleLauncher.exe` and press **Start**; the pause marker is cleared.\n\n## Configuration\n\nMost settings live in the launcher's **Settings** page. Advanced users can edit `config.json` directly. The template is [`config\u002Fconfig.example.json`](config\u002Fconfig.example.json); `config.json` is git-ignored.\n\n| Field | Meaning |\n| --- | --- |\n| `provider` \u002F `deepseek.apiKey` | Model provider and key |\n| `persona.master.names` \u002F `persona.master.wxids` | Who counts as the owner |\n| `gateway.wechat.inboundToken` | Bridge token; change it from the default |\n| `group.requireAt` | Whether group messages must @ the bot first |\n| `chat.privateMaxChars` | Reply length limit |\n| `diary.enabled` \u002F `diary.time` | Daily diary switch and generation time |\n\nThe full field list is in [`docs\u002F设置说明.md`](docs\u002F设置说明.md). Owner and admin rules are explained there as well.\n\n## Documentation\n\n| Document | Contents |\n| --- | --- |\n| [`docs\u002F设置说明.md`](docs\u002F设置说明.md) | All configuration fields and admin commands |\n| [`docs\u002F接入微信.md`](docs\u002F接入微信.md) | WeChat bridge, UIA elevation, multi-account notes |\n| [`docs\u002F日记功能.md`](docs\u002F日记功能.md) | Diary behavior and troubleshooting |\n| [`docs\u002F朋友圈实现.md`](docs\u002F朋友圈实现.md) | Moments cache, reading, and manual interaction |\n| [`docs\u002F搜索模块.md`](docs\u002F搜索模块.md) | Search sources and relevance rules |\n| [`docs\u002F维护手册.md`](docs\u002F维护手册.md) | Recovery, logs, backup, and factory reset |\n| [`docs\u002F架构总览.md`](docs\u002F架构总览.md) | Kernel, bridge, launcher, and data flow |\n| [`docs\u002F打包与签名.md`](docs\u002F打包与签名.md) | Build, packaging, signing, and release steps |\n| [`docs\u002FCHANGELOG.md`](docs\u002FCHANGELOG.md) | Full change history |\n\n## Project structure\n\n```\nwhale-girl\u002F                        # repository layout; runtime data is never committed\n├─ server.js                       # HTTP server and webhooks\n├─ WhaleLauncher.exe               # the only GUI entry point\n├─ package.json\n├─ release-manifest.json\n├─ README.md                       # this file\n├─ CONTRIBUTING.md\n├─ AGENTS.md\n├─ LICENSE\n├─ .gitignore\n├─ .gitattributes\n├─ .github\u002F                        # CI and releases\n├─ config\u002F\n│  └─ config.example.json          # configuration template\n├─ src\u002F                            # Node.js kernel\n│  ├─ adapters\u002F                    # outbound integrations\n│  ├─ core\u002F                        # decisions and parsing\n│  ├─ http\u002F                        # routes and security gates\n│  ├─ infra\u002F                       # configuration and infrastructure\n│  ├─ llm\u002F                         # model client\n│  ├─ memory\u002F                      # memory and token budget\n│  ├─ persona\u002F                     # persona and prompts\n│  ├─ pipeline\u002F                    # message orchestration\n│  └─ services\u002F                    # stateful services\n├─ bridge\u002F                         # Python bridge\n├─ launcher\u002F                       # WPF launcher source\n├─ installer\u002F                      # Inno Setup (bundled compiler)\n├─ scripts\u002F                        # build and maintenance scripts\n├─ assets\u002F                         # persona presets and lexicons\n├─ examples\u002F                       # bridge entry and media fallbacks\n├─ docs\u002F                           # documentation\n├─ website\u002F                        # static project site\n├─ vendor\u002F                         # pinned wechatauto source\n└─ tests\u002F                          # tests\n```\n\nNot committed; generated at runtime: `data\u002F` (keys, memory, logs), `runtime\u002F` (bundled Node and Python), `artifacts\u002F` (build output), and `config.json` (local configuration).\n\n## Development\n\nDevelopment, tests, packaging, and release steps are in [CONTRIBUTING.md](CONTRIBUTING.md).\nThe kernel uses CommonJS and has zero npm runtime dependencies. Tests run with `node tests\u002F\u003Cname>.test.js`; see [`docs\u002F回归测试覆盖对照.md`](docs\u002F回归测试覆盖对照.md) for coverage notes.\n\n## Security and privacy\n\n- The API binds to `127.0.0.1:8787` by default. **Never expose it to the internet**; there is no login layer.\n- `data\u002F` and `config.json` are git-ignored. Never commit API keys, WeChat IDs, group IDs, or chat history.\n- The bridge uses UI automation and reads the local WeChat database. It does not patch WeChat or inject code, but it may still violate WeChat's terms of service. Use it at your own risk.\n- Replies are generated by a model. Be careful with `admin.allowAll` and automatic replies in public groups.\n- Privacy policy: [`docs\u002FPRIVACY.md`](docs\u002FPRIVACY.md).\n\n## Download\n\nOnly download installers from **GitHub Releases**: \u003Chttps:\u002F\u002Fgithub.com\u002FBanan1cee\u002Fwhale_girl\u002Freleases>. Checksums and verification commands are in [`docs\u002FDOWNLOAD.md`](docs\u002FDOWNLOAD.md).\n\n## Code signing policy\n\nCurrent release builds are **not signed yet**, so Windows may show \"Unknown publisher\". Verify `SHA256SUMS.txt` from the release before installing. The signing policy is in [`docs\u002FCODE_SIGNING_POLICY.md`](docs\u002FCODE_SIGNING_POLICY.md); the privacy policy is in [`docs\u002FPRIVACY.md`](docs\u002FPRIVACY.md).\n\n## Acknowledgements\n\n- **Character author 上善无形** — the Whale Girl icon is a derivative work based on their original character. See [`docs\u002FNOTICE.md`](docs\u002FNOTICE.md).\n- **[wechatauto-replica](https:\u002F\u002Fgithub.com\u002Ffanyuantaier\u002Fwechatauto-replica)** (Apache-2.0) — Windows WeChat 4.x automation library. A pinned copy lives in `vendor\u002Fwechatauto\u002F`; build-time and runtime patches are kept outside the upstream source.\n- **[wxauto](https:\u002F\u002Fgithub.com\u002Fcluic\u002Fwxauto)** (Apache-2.0) — the original Windows WeChat automation project whose approach inspired `wechatauto-replica`.\n- **[VB-CABLE](https:\u002F\u002Fvb-audio.com\u002FCable\u002F)** — virtual audio cable used by optional voice sending; the installer only ships the official driver installer.\n\n## License\n\n**AGPL-3.0-only** — see [LICENSE](LICENSE). Commercial use is allowed, but modified versions distributed or offered over a network must provide the complete corresponding source. Keep the attribution in [`docs\u002FNOTICE.md`](docs\u002FNOTICE.md).\n","Whale Girl 是一款运行在 Windows 桌面端的本地化微信 AI 陪聊工具，通过 UI 自动化技术将 DeepSeek、Qwen 等大语言模型接入微信客户端。它支持群聊中响应 @ 提及与昵称唤醒、私聊记忆提取、分段气泡式回复、语音\u002F贴纸\u002F日记等拟人化交互，并提供统一的 WPF 启动器进行配置与状态管理。所有处理均在本地完成，仅需一个 API 密钥和已登录的微信账号（推荐副号），无需浏览器界面或云端中间服务。适用于个人日常陪伴、轻量级社群运营辅助及本地化 LLM 微信集成实验。","2026-11-24 04:37:02","CREATED_QUERY"]