Git Product home page Git Product logo

docs-zh's Introduction

已不再维护!

介绍

Wechaty 是什么

Powered by Wechaty English Version

Wechaty 是一个开源的的 个人号 微信机器人接口,是一个使用Typescript 构建的Node.js 应用。支持多种微信接入方案,包括网页,ipad,ios,windows, android 等。同时支持Linux, Windows, Darwin(OSX/Mac)Docker 多个平台。

只需要6行代码,你就可以 通过个人号 搭建一个 微信机器人功能 ,用来自动管理微信消息。

更多功能包括:

  • 消息处理:关键词回复
  • 群管理:自动入群,拉人,踢人
  • 自动处理好友请求
  • 智能对话:通过简单配置,即可加入智能对话系统,完成指定任务
  • ... 请自行开脑洞

详情请看Wechaty项目 NPM Version Docker Pulls TypeScript Greenkeeper badge

实现原理

基于Web 微信的限制

从2017年6月下旬开始,使用基于web版微信接入方案存在大概率的被限制登陆的可能性。 主要表现为:无法登陆Web 微信,但不影响手机等其他平台。 验证是否被限制登陆: https://wx.qq.com 上扫码查看是否能登陆。 更多内容详见:

{% hint style="success" %} 解决方案: 我们提供了非web 版本解决方案,点击购买token , 更多技术细节查看 wechaty-puppet-padchat {% endhint %}

支持多种微信接入方式

我们提供多种微信协议的实现方式,在wechaty 的系统中,我们叫她Puppet。Puppet的英文意思是傀儡, 很形象的描述了我们希望Puppet做的事情:帮助 Wechaty 来控制微信的操作。

所有的实现方式都以PuppetXXX 来命名的,比如PuppetPuppeteer 是通过谷歌浏览器,通过 google puppeteer来控制网页微信APIPuppetPadchat 是通过WebSocket 连接一个协议服务器来控制iPad 微信,两个重要的信息参考:

如果你希望深入了解Puppet是如何在Wechaty 运行的,你可以在https://github.com/Chatie/wechaty-puppet/blob/master/src/puppet.ts 查看源代码。

基于网页微信的实现方式是免费的,基于其他的接入方式是收费的。这里是收费说明

以下是Puppet 和Wechaty 的架构图,更多Puppet 的介绍在这里: Puppet in wiki

加入我们

{% hint style="success" %} 扫描下方二维码,回复 'wechaty' 加入 Wechaty Developers Home {% endhint %}

{% hint style="danger" %} 群内均为wechaty 的开发者,群内发言之前请先阅读文档。 {% endhint %}

{% hint style="warning" %}

请不要问这些问题:

  • Wechaty 怎么用?
  • 有人成功过吗?
  • 能不能实现_**_?
  • 为什么我跑不起来?
  • 有待补充 …

Wechaty Developers' Home

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.