Convert Figma logo to code with AI

geeeeeeeeek logoelectronic-wechat

:speech_balloon: A better WeChat on macOS and Linux. Built with Electron by Zhongyi Tong.

13,935
2,718
13,935
208

Top Related Projects

微信开发者工具(微信小程序)linux完美支持

💬 Unofficial WeChat client built with React, MobX and Electron.

微信小助手的安装 / 更新工具。

A plugin for Mac WeChat

微信小助手

Quick Overview

Electronic WeChat is an open-source WeChat client for macOS and Linux, built with Electron. It aims to provide a native desktop experience for WeChat users on these platforms, offering features and improvements over the web version of WeChat.

Pros

  • Native desktop experience for macOS and Linux users
  • Enhanced features compared to the web version of WeChat
  • Open-source, allowing for community contributions and customizations
  • Cross-platform compatibility (macOS and Linux)

Cons

  • No longer actively maintained (last commit was in 2017)
  • May lack support for newer WeChat features or security updates
  • Limited to macOS and Linux, with no Windows support
  • Potential security concerns due to lack of recent updates

Getting Started

To get started with Electronic WeChat:

  1. Visit the GitHub repository: https://github.com/geeeeeeeeek/electronic-wechat
  2. Download the latest release for your operating system (macOS or Linux)
  3. Install the application following the instructions for your platform
  4. Launch Electronic WeChat and log in with your WeChat account

Note: As the project is no longer actively maintained, it's recommended to exercise caution when using this application, especially for sensitive communications.

Competitor Comparisons

微信开发者工具(微信小程序)linux完美支持

Pros of wechat_web_devtools

  • Provides a more comprehensive development environment for WeChat mini-programs
  • Offers official WeChat development tools and features
  • Supports a wider range of WeChat-specific functionalities

Cons of wechat_web_devtools

  • May have a steeper learning curve for beginners
  • Potentially more resource-intensive due to its comprehensive nature
  • Less focused on providing a standalone WeChat client experience

Code Comparison

While a direct code comparison is not particularly relevant due to the different purposes of these projects, we can highlight some key differences in their implementation:

electronic-wechat:

// Electron-based WeChat client
const electron = require('electron');
const app = electron.app;
const BrowserWindow = electron.BrowserWindow;

wechat_web_devtools:

// WeChat Web DevTools
const nw = require('nw.gui');
const win = nw.Window.get();

electronic-wechat focuses on creating an Electron-based WeChat client, while wechat_web_devtools provides a more comprehensive development environment for WeChat mini-programs using NW.js.

Both projects serve different purposes within the WeChat ecosystem, with electronic-wechat aiming to provide a desktop client experience and wechat_web_devtools offering a full-fledged development toolkit for WeChat mini-programs.

💬 Unofficial WeChat client built with React, MobX and Electron.

Pros of weweChat

  • More active development and recent updates
  • Better multi-platform support (Windows, macOS, Linux)
  • Enhanced UI with customizable themes and layouts

Cons of weweChat

  • Larger file size and potentially higher resource usage
  • May have more complexity due to additional features
  • Less stable compared to the more established electronic-wechat

Code Comparison

electronic-wechat:

const electron = require('electron');
const app = electron.app;
const BrowserWindow = electron.BrowserWindow;
const ipcMain = electron.ipcMain;
const shell = electron.shell;

weweChat:

import { app, BrowserWindow, ipcMain, shell } from 'electron';
import config from './config';
import pkg from './package.json';

The code comparison shows that weweChat uses more modern JavaScript syntax with ES6 imports, while electronic-wechat uses CommonJS require statements. weweChat also imports additional configuration and package information, suggesting a more modular and configurable approach.

Both projects aim to provide desktop clients for WeChat, but weweChat appears to offer a more feature-rich experience with active development. However, electronic-wechat may be a better choice for users seeking a simpler, more lightweight solution. The choice between the two depends on individual needs and preferences for features versus simplicity.

微信小助手的安装 / 更新工具。

Pros of oh-my-wechat

  • More actively maintained with recent updates
  • Offers a command-line interface for easier management
  • Provides automatic updates for WeChat and its plugins

Cons of oh-my-wechat

  • Limited to macOS, unlike electronic-wechat which supports multiple platforms
  • Requires more technical knowledge to set up and use
  • Fewer stars and forks on GitHub, indicating a smaller community

Code Comparison

oh-my-wechat (CLI-based installation):

curl -o- -L https://raw.githubusercontent.com/lmk123/oh-my-wechat/master/install.sh | bash

electronic-wechat (Electron-based app):

const electron = require('electron');
const app = electron.app;
const BrowserWindow = electron.BrowserWindow;

The code snippets highlight the different approaches: oh-my-wechat uses a shell script for installation, while electronic-wechat is built as an Electron application, reflecting their distinct architectures and user interfaces.

oh-my-wechat focuses on enhancing the official WeChat client for macOS, offering a more streamlined experience for tech-savvy users. In contrast, electronic-wechat provides a cross-platform solution with a graphical interface, making it more accessible to a broader audience but potentially lacking some advanced features and customization options.

A plugin for Mac WeChat

Pros of WeChatExtension-ForMac

  • More actively maintained with frequent updates
  • Offers a wider range of features, including message recall prevention and auto-reply
  • Designed specifically for macOS, providing better integration with the operating system

Cons of WeChatExtension-ForMac

  • Limited to macOS, not cross-platform like electronic-wechat
  • Requires installation as a plugin, which may be more complex for some users
  • Potentially higher risk of breaking due to WeChat updates, as it modifies the original application

Code Comparison

WeChatExtension-ForMac (Objective-C):

- (void)hook_didLoginWithResponse:(NSString *)response {
    [self hook_didLoginWithResponse:response];
    [[YMMessageManager shareManager] registerNotification];
    [[YMIMContactManager shareManager] getWeChatContactList];
}

electronic-wechat (JavaScript):

app.on('ready', () => {
  createWindow();
  createTray();
  setShortcuts();
  updateChecker();
});

The code snippets show different approaches: WeChatExtension-ForMac uses method swizzling to extend WeChat's functionality, while electronic-wechat builds a separate Electron-based application.

微信小助手

Pros of WeChatPlugin-MacOS

  • Enhances the official WeChat client with additional features
  • Supports auto-reply, message recall notification, and anti-recall
  • Regularly updated and maintained

Cons of WeChatPlugin-MacOS

  • Only works on macOS, limiting cross-platform compatibility
  • Requires modification of the official WeChat client, which may violate terms of service
  • More complex setup process compared to standalone applications

Code Comparison

WeChatPlugin-MacOS (Objective-C):

- (void)hook_sendLogoutCGIWithCompletion:(id)arg1 {
    %orig;
    [[NSNotificationCenter defaultCenter] postNotificationName:kLogoutNotification object:nil];
}

electronic-wechat (JavaScript):

ipcMain.on('ELECTRON_BROWSER_WINDOW_VISIBILITY_CHANGE', (event, status) => {
  if (status) {
    mainWindow.webContents.send('ELECTRON_BROWSER_WINDOW_VISIBILITY_CHANGE', true);
  }
});

Summary

WeChatPlugin-MacOS is a plugin that enhances the official WeChat client for macOS, offering additional features like auto-reply and anti-recall. However, it's limited to macOS and may pose potential risks. On the other hand, electronic-wechat is a cross-platform, standalone application built with Electron, providing a more accessible solution for users across different operating systems, but with fewer advanced features compared to the plugin approach.

Convert Figma logo designs to code with AI

Visual Copilot

Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.

Try Visual Copilot

README

logo

Electronic WeChat

A better WeChat on macOS and Linux. Built with Electron.

⚠️⚠️ NO LONGER IN ACTIVE DEVELOPMENT | 项目不再维护 ⚠️⚠️

Thanks for supporting this project for 1000 days since Feb 16, 2016.

It started with the idea to make WeChat better on MacOS when the official support was abscent. It was de facto dead when Tencent rolled out a new WeChat and started to block other third-party clients. For me, it's no longer worthwhile to hack a lot to accomplish little. Hope this project had been helpful to you in any way. You're welcome to fork or make copies with a reference. HAPPY HACKING.

感谢历史上的用户和贡献者,你们已经陪伴这个项目走过了 1000 个日子。我曾经想要打造一个更好的 Mac 微信客户端,因为官方版本几年没有更新、bug 层出。而在腾讯自己开始了定期更新并限制第三方客户端时,这个项目实际已经没有什么意义。这个项目目前作为一个存档供大家学习。希望它曾经对你有所帮助,你也可以 fork 或者转载(标注来源)来进行修改。祝你玩得愉快。

SPECIAL THANKS TO | 特别感谢

Kulbear, arrowrowe, Rocka, CC, xgdgsc, 死水微澜, Jason, Ce Gao, viko16, 卡晨, Ray, 尹良灿, gehuangyi20, Kevin Tan, Jiaye Wu, loufq, Miaow, Chuan Ji, Oaker, Fengshuang Li, Song Li, afon, lional wang, Haochen Tong, Zhuoyun Wei, rivershang, Ivan Jiang, oBlank, Cheng Gu, NullMDR, ReadmeCritic.


Important: If you want to build the app by yourself rather than download the release directly, please consider to use the source code from the production branch, the master branch is under development and we cannot guarantee it to be stable.

Gitter Build Status Build Status Build Status Build Status

qq20160428-0 2x

Features (CHANGELOG)

  • Modern UI and all features from Web WeChat.
  • Block message recall.
  • Stickers showing support. [?]
  • Share subscribed passages on Weibo, Qzone, Facebook, Twitter, Evernote, and email.
  • Mention users in a group chat.
  • Drag and drop to send photos.
  • Behaves like a native app, based on dozens of optimization.
  • Removes URL link redirects and takes you directly to blocked websites (e.g. taobao.com).

How To Use

To clone and run this repository you'll need Git and Node.js (which comes with npm) installed on your computer. From your command line:

# Clone this repository
git clone https://github.com/geeeeeeeeek/electronic-wechat.git
# Go into the repository
cd electronic-wechat
# Install dependencies and run the app
npm install && npm start

To pack into an app, simply type one of these:

npm run build:osx
npm run build:linux
npm run build:win32
npm run build:win64

New: Install with your familiar package manager. Check out images maintained by the community!

New: Or, with homebrew!

brew cask install electronic-wechat

Download Released App

License MIT

Electronic WeChat is released by this open source project. While Web WeChat is a major component in the app, it should be noted that this is a community release and not an official WeChat release.