Giter VIP home page Giter VIP logo

Comments (4)

yangwenmai avatar yangwenmai commented on May 17, 2024

https://github.com/littlecodersh/itchat

from night.

yangwenmai avatar yangwenmai commented on May 17, 2024

https://zhuanlan.zhihu.com/p/25962058

from night.

yangwenmai avatar yangwenmai commented on May 17, 2024

https://github.com/chatie/wechaty

from night.

yangwenmai avatar yangwenmai commented on May 17, 2024

https://www.appinn.com/efb-tutorial-with-docker/

EH Forwarder Bot (以下简称为EFB)是一个Telegram的消息转发机器人框架,目前已经实现的是双向收发微信消息。详细的信息和安装方法,请查阅 官方文档 或是 作者的Blog 。这里只讲一下优缺点。

EFB是Python 3程序,安装在服务器上(一般是VPS)之后,利用 ItChat 提供的网页版微信接口,接收和发送微信信息,同时作为Telegram Bot,向Telegram双向传递微信信息。也就是说,对于微信而言,EFB是一个网页版客户端,而对于Telegram而言,EFB是一个Bot。最终可以实现利用Teleram作为微信客户端收发微信信息。

优点
下面这些优点,有些来自EFB这种工作模式,有些是TG自身的优点。

只要服务器足够稳定,并且手机微信登录状态没有变化,EFB可以一直在线,而与TG客户端是否在线无关。只在EFB第一次登录的时候需要扫码,之后没掉线,自然不用再扫。
使用网页版微信,或者PC、Mac客户端时,最多只能登录一个客户端,加上手机微信,总共两个。用了EFB之后,对于微信而言,只有EFB这一个非手机客户端在线,而TG本身可以多平台多个客户端同时在线。
手机版微信上的聊天记录是完整的,但是非手机版微信客户端上的聊天记录只有在线时那一部分,也无法在客户端之间同步。用了EFB,TG在所有平台上的聊天记录都是同步的,都是完整的。这样等于在全平台上同步、备份了所有聊天记录,包括聊天群的记录,以及公众号文章的标题和题图。
好友撤回的消息,只要被EFB捕捉到了,就能正常看到。
安装好之后,默认所有微信消息(包括群、公众号)会出现在同一个会话中,相当于是微信的时间线。这是个优点还是缺点,每个人的感觉是不一样的。同时,EFB提供了把某个好友或微信群的消息绑定到一个单独TG群组的功能。这样可以平衡一下。
TG客户端本身还有一些微信没有的功能。比如,可以集中管理聊天会话中出现的附件、图片、视频、音频等信息,非常方便。可以修改界面主题等。
缺点
缺点也不少,离完美还有很远。而且这些缺点主要是网页版微信的先天不足,或是TG的限制,EFW没有办法改善。

网页版微信无法在聊天群里 @某人 ,EFW自然也不行。
无法撤回消息。
手机微信上的未读数不会自动减少。
由于所有的消息在一个TG会话中,所以,发消息时,只能回复对方发来的消息。如果想主动发消息,需要先手动生成消息头,再回复这个消息头。不太方便,但是不容易发错对象。所以,对于经常联系的好友,还是绑定到单独一个群组比较方便。
TG的中文搜索功能非常差,只能搜索空格后的中文字。而且TG不支持导出聊天记录,也没办法导出之后再搜索。虽然有一些利用web客户端或者cli客户端导出聊天记录的做法,但是问题都比较多。所以,虽然TG保存了所有聊天记录,但是搜索不便,也出不来,可用性大大下降。
综上,对于我这种在微信中看的多、讲的少的人而言,EFB是一个不错的选项,虽然有缺陷,但是解决了核心问题,综合体验很不错。

来源于:http://www.ai7.org/blog/posts/eh-forwarder-bot.html

from night.

Related Issues (20)

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.