Là một dự án mã nguồn mở, wechaty/puppet-wechat đã đạt 442 sao trên GitHub, ngôn ngữ TypeScript. Wechaty Puppet Provider for WeChat
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
This repository is a sub module of Wechaty. See: https://github.com/wechaty/wechaty-puppet-wechat/issues/1
Source code before moved to here can be found at Wechaty repository: Wechaty/src/puppet-puppeteer#a2c56e6
KNOWN LIMITATIONS
Solved by UOS. WeChat Account that registered after 2017 mignt not be able to login Web Wechat, so it can not use PuppetWeChat with Wechaty. Please make sure your WeChat Account can be able to login by visiting https://wx.qq.com
Web API can not create room and invite members to room since 2018.
Can not Receive/Send message from Work Wechat.
If you want to break the above limitations, please consider to use a Wechaty Puppet other than using Web API, like wechaty-puppet-padchat.
Learn more about the Puppet at Wechaty wiki: Puppet
Note for Developers in China
Cause storage.googleapis.com is blocked in mainland china, you'd better config by following guide.
We use stealth to make puppeteer more like a normal browser, if you want to disabled it, just set the WECHATY_PUPPET_WECHAT_PUPPETEER_STEALTHLESS environment variable to 1. eg. WECHATY_PUPPET_WECHAT_PUPPETEER_STEALTHLESS=1 ts-node your-bot.ts
In rare cases, we could meet some problem and see Error: Could not find expected browser when we start PuppetWeChatBridge and try to run initBrowser(). A easy way to solve this problem is set WECHATY_PUPPET_WECHAT_ENDPOINT environment variable to <your executablePath>. eg. WECHATY_PUPPET_WECHAT_ENDPOINT=/usr/bin/chromium-browser ts-node your-bot.ts
puppetOptions
Option
value
default value
description
token
string
-
your own uos extspam value, see #127
endpoint
string
-
puppeteerlaunchoptions.executablePath
head
boolean
false
puppeteerlaunchoptions.headless
launchOptions
object
-
same to puppeteerlaunchoptions
stealthless
boolean
false
disabled puppeteer-extra-plugin-stealth or not
uos
boolean
false
enable UOS patch or not
HISTORY
master v1.12 (Mar 11, 2022)
Release stable for the standard Web Protocol
v1.0 (Oct 30, 2021)
Release 1.0 of Wechaty Puppet for WeChat
v0.30 (Sep, 2021): ESM support.
v0.28 (Apr 13, 2021)
重磅:绕过登录限制,wechaty免费版web协议重放荣光
Support UOS with puppeteer #127
添加uos请求头支持 #129
v0.26 (Mar 4, 2021)
Rename NPM package name from wechaty-puppet-puppeteer to wechaty-puppet-wechat
v0.24 (Feb 20, 2021)
Puppeteer from v5 to v7
Upgrade other deps
v0.22 (Jun 18, 2020)
Release a version before upgrade.
v0.14 (Aug, 2018)
First Stable Release
Follow latest typings
v0.2 (May, 2018)
Promote to solo package: wechaty-puppet-puppeteer
FAQ
1. chrome-linux/chrome: error while loading shared libraries: libXXX.so.x: cannot open shared object file: No such file or directory
You need to be able to run chrome in your Linux environment. If you are using Ubuntu Linux:
error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory
apt install libnss3
error while loading shared libraries: libgbm.so.1: cannot open shared object file: No such file or directory
apt install libgbm-dev
error while loading shared libraries: libxshmfence.so.1: cannot open shared object file: No such file or directory
apt install libxshmfence-dev
error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/wechaty/puppet-wechat là nguồn chính thức.
wechaty/puppet-wechat có những chủ đề gì?
GitHub topics của wechaty/puppet-wechat: "wechat", "wechaty", "wechaty-puppet". TopGit xếp repo vào nhóm mã nguồn mở.
wechaty/puppet-wechat có phải mã nguồn mở không?
Có — wechaty/puppet-wechat phát hành theo license Apache-2.0, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/wechaty/puppet-wechat.
wechaty/puppet-wechat có trang demo không?
Dự án có trang chủ ở https://www.npmjs.com/package/wechaty-puppet-wechat. Tab "Readme" ở trang này thường có ảnh chụp và hướng dẫn bắt đầu nhanh.
wechaty/puppet-wechat còn đang phát triển không?
Commit gần nhất trên wechaty/puppet-wechat là 4.3 năm trước (theo timestamp GitHub). Repo có 73 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
wechaty/puppet-wechat dùng license gì?
wechaty/puppet-wechat phát hành theo license Apache-2.0. Nên mở file LICENSE trên GitHub để xác nhận — license metadata đôi khi lệch với thực tế dự án.
Đọc đầy đủ README ở tab phía trên.
Vẫn đang phân vân về puppet-wechat?
Một cú bấm sẽ gửi câu hỏi kèm trang này cho AI — xem AI nói gì về puppet-wechat.