shengjidaguai-china/goutoujunshi-chat
About
狗头军师 Chat: Mac WeChat screen reading, relationship analysis, and a floating window for reply drafts.
Other ProjectsMeasured star growth
- in 24h
- +3
- in 7 days
- +26
- in 15 days
- +55
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README_EN.md
Original简体中文 · English
Goutou Junshi Chat
Understand a conversation, decide what to do next, and draft a reply that sounds like you.
A chat assistant built from Goutou Junshi. It reads visible conversations or screenshots, lets you review the text, then suggests a strategy and reply drafts. Available as desktop overlays, an Android floating assistant, and an iOS keyboard. You choose when to send.
If it helps, give the project a Star to find it again and help others discover it.
What it does
- Clarifies the conversation: separates known facts, possible intent, and unknowns, with next steps and conditions for stopping.
- Helps you choose a reply: explains each candidate's rationale and tradeoffs. Use “More like me” to adjust the wording.
- Uses relationship context: takes the current contact, relationship stage, and communication goal into account.
- Visualizes chat activity: import a chat CSV or explore five sample candlestick charts. The charts track message direction over time, not relationship quality or affection.
AI-arranged screenshot collage; click to enlarge. Refer to the originals for exact UI details. The desktop analysis panel is an offline demo; confidence is a model estimate.
Original screenshots and configuration guides (8 images)
- Desktop:Floating assistant · Analysis and advice
- iPhone:Local typing · Screenshot capture · Transcript review
- Configuration:Mac provider settings · Android model settings · Android capture settings
Configuration screenshots reflect their respective versions. The Mac provider image predates OpenRouter support; consult the guides for current options.
Choose your platform
All platforms are previews. Compatibility still needs validation on individual devices and chat app versions.
| Platform | Get started | Support and limitations |
|---|---|---|
| macOS | Source preview ZIP · Guide | WeChat capture and draft insertion. Requires Python 3.12 and uv; no signed .app. Extract and run 安装依赖.command, 离线演示.command, then 启动.command. |
| Windows | Preview ZIP · Guide | Windows 10 1903+ / 11 and WeChat 4.x. Extract the entire ZIP before running the .exe. QQNT 9.x requires current source or the Actions build linked below. |
| Android | Overlay APK (0.1.8) · Illustrated guide · Keyboard APK (0.1.9 preview) · Keyboard setup | Android 11+. Apps such as Soul can use manual screenshot capture, subject to device testing. WeChat is currently unsupported. |
| iOS | Chinese installation guide · English guide | iOS 16+. Build and sign with Xcode on a Mac. Includes local Pinyin typing, screenshot recognition, and draft insertion. No public IPA, TestFlight, or App Store download. |
Windows QQ support targets embedded one-to-one chats in the QQNT main panel, using a light theme and 100% display scaling as the baseline. Group chats and separate chat windows are unsupported. The contributor reported successful recognition and insertion on Windows 10. Download the Windows Artifacts from the latest successful Actions build, or run from source. Source updates do not automatically replace the Release ZIP.
See Releases for release notes and checksums. If Android debug signatures differ, uninstall the old app before installing the new one; uninstalling removes local app data.
Run your first conversation
- Configure models: select strategy and reply services in settings and enter your own API keys. Strategy supports Jev or DeepSeek; replies can use DeepSeek or OpenRouter. See each platform guide for available options.
- Capture the conversation: keep the desktop chat window visible, use the Android floating assistant's screenshot action, or import a screenshot, paste text, or use a screenshot shortcut on iOS.
- Review and analyze: check the text, speaker labels, relationship stage, and goal before submitting it for analysis.
- Choose and send: review the advice and candidates, adjust the wording if needed, then copy or insert a draft. Check the recipient and text before sending it yourself.
Permissions and data: Mac capture requires Screen Recording permission for the launching terminal; insertion also requires Accessibility permission. Android uses accessibility and overlay permissions. Network access from the iOS keyboard requires Full Access. Local OCR recognizes text on the device. Cloud OCR uploads screenshots; analysis sends conversation text and relevant background to your selected model services and may incur charges. See the data usage policy for platform-specific storage details.
Windows insertion depends on window coordinates and cannot read back the input control. The iOS keyboard cannot automatically verify the recipient. Check the active conversation before insertion; if uncertain, copy and paste manually.
Development and offline demo
Running the Mac source requires Python 3.12 and uv:
git clone https://github.com/shengjidaguai-china/goutoujunshi-chat.git
cd goutoujunshi-chat/integrations/jev_mac
uv venv --python 3.12 .venv
uv pip install --python .venv/bin/python -r requirements.txt
./start.command --demo
Once dependencies are installed, --demo displays synthetic conversations offline. Run ./start.command for normal use or ./start.command --settings to open settings directly.
Platform implementations live in integrations/; relationship guidance lives in references/. The main flow is: capture → human review → strategy selection → candidate generation and ranking → user-selected draft.
Run the existing offline checks from the repository root:
python3 -B scripts/validate_skill.py
python3 -B -m unittest discover -s tests -q
Configuration and development guides: Mac · Windows · Android · iOS. Offline checks do not replace testing with real devices, model endpoints, and chat apps.
Contributors and credits
- @RayWangQvQ (在7楼): PR #1, Android transcript review and focus recovery fixes, with tests.
- @wstaery: PR #2, Windows QQNT support, transcript accumulation, capture reliability improvements, and tests.
- Thanks to Jev Android, Jev Mac, and Jev Windows for their foundational implementations.
The main repository uses the MIT License. Third-party components retain their own terms; see the Mac LICENSE, Android NOTICE, and Windows NOTICE.
Report an issue or suggest an improvement, or Star the project. To join the 升级打怪 open-source community: Email [email protected] · WeChat loonges · QQ 247133278.
Explore related projects
Loading…
