explaingit

tkkk-ioser/wechatplugin-macos

14,276Objective-CAudience · generalComplexity · 3/5Setup · moderate

TLDR

A macOS plugin injected into the WeChat desktop app that adds auto-reply, blocked recall messages, multi-account login, and remote Mac control via WeChat commands from your phone.

Mindmap

mindmap
  root((repo))
    What it does
      WeChat enhancement
      Runtime injection
      macOS only
    Features
      Auto reply
      Block unsend
      Multi-account
      Remote control
    Remote commands
      Lock screen
      Sleep and restart
      Quit apps
      Music control
    Setup
      Shell script install
      Alfred workflow
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Run two WeChat accounts at once on your Mac to keep personal and work conversations separate.

USE CASE 2

Block recalled messages so you can still read what someone sent even after they unsend it.

USE CASE 3

Set up automatic keyword-triggered replies to incoming WeChat messages without touching the app.

USE CASE 4

Control your Mac remotely, lock screen, sleep, restart, or quit apps, by sending commands from your phone via WeChat.

Tech stack

Objective-CShell

Getting it running

Difficulty · moderate Time to first run · 30min

Requires running a shell script to inject the plugin into the WeChat app bundle, carries some risk of account restriction, intended for personal use only.

In plain English

WeChatPlugin-MacOS is a plugin for the WeChat desktop app on macOS that adds features the official app does not include. WeChat is a widely used messaging platform in China, and this project injects additional functionality directly into the app by modifying it at runtime. The plugin adds a range of conveniences. It can automatically reply to incoming messages using keyword rules you configure, and it can block other people's attempts to unsend messages sent to you, so recalled messages remain visible on your end. You can open multiple WeChat accounts at the same time, skip the secondary authentication step on second logins, and pin chat windows so they stay on top of other windows. There is also a remote control feature that lets you send commands to your Mac through WeChat messages from your own account. Supported commands include locking the screen, clearing the trash, sleeping or restarting the machine, quitting specific apps like Chrome or QQ, and controlling NetEase Cloud Music playback. Only messages sent from your own account trigger these commands. For users of Alfred, a macOS productivity launcher, the plugin includes a companion workflow that lets you quickly send messages or open chat windows directly from the Alfred search bar without touching the WeChat app itself. Additional features include marking all conversations as read with one click, clearing empty conversations, monitoring when you are removed from a group chat, positioning a recalled message in the chat history, and an option to stop WeChat from checking for updates. The plugin supports both Chinese and English interfaces. Installation requires running a shell script that injects the plugin into the WeChat app bundle. Uninstalling runs a separate removal script. The project notes that use carries some risk and is intended for personal quality-of-life improvements only.

Copy-paste prompts

Prompt 1
Walk me through installing WeChatPlugin-MacOS step by step, where does the shell script go and how do I verify the plugin has injected into WeChat?
Prompt 2
How do I configure auto-reply keyword rules in WeChatPlugin-MacOS to respond automatically to specific incoming messages?
Prompt 3
Show me how to set up the Alfred workflow from WeChatPlugin-MacOS to send a WeChat message directly from the Alfred search bar.
Prompt 4
What remote control commands can I send to my Mac through WeChatPlugin-MacOS from my phone, and how do I enable that feature?
Open on GitHub → Explain another repo

← tkkk-ioser on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.