Posts

  • MicroSoft Tech Summit-快速搭建一个聊天机器人

    Author: 李佳芮,桔子互动创始人,微软AI MVP。

    logo

    这是我在2018微软技术暨生态大会 动手实验室的分享,2018微软技术暨生态大会10月24日在上海世博中心如约而至。 作为微软最负盛名的技术峰会,此次大会将带领参会者深入领略技术精髓,感受微软黑科技的魅力,探讨在云计算、物联网、移动互联网、大数据和人工智能的发展洪流中,如何洞察新技术与新变革,聚焦解决问题与创造价值,如何开启企业数字化转型之旅。

  • 生日蛋糕

    Author: 任晶磊,微软亚洲研究院研究员,清华大学计算机系博士。

    logo

    不敢参加同学聚会的你是否敢来参加wechaty的生日宴会?一个关于如何分蛋糕的故事。

  • Wechaty Country Wide Developer Conference

    Author: 李佳芮,Founder of BotOrange。

    Wechaty Contributors

    The above contributors as follows, sort by the order of the contributor in the photo:

    1. 李卓桓, Microsoft AI MVP & Regional Director.
    2. 林贻民, CS Student from BUPT, author ofwechaty-puppet-ioscat, which is a ios plugin to help Wechaty to control the Wechat.
    3. 李彬彬(杉木), freelancer, author of padchat-sdk, which is a ipad solution to control Wechat.
    4. 高原, Co-founder of BotOrange. author of wechaty-puppet-padchat, which is a ipad plugin to help Wechaty to control the Wechat.
    5. 张灵箫, Co-founder of 小理智能, Musical lover, Movie addict. He just integrate wechaty with their information bot.
    6. 伍翀, CTO from a listed company called 路骋国旅(831320), mainly focus on data analysis. He wrote a bot share PUFA bank point and share point to get a gift from the bank.
    7. 谢扬, ByteDance Hacker, former CTO of Awesome Port. He started his own business when he was a junior student at the university.
    8. 丁煜恒, MicroSoft AI engineer, focus on provide AI solution for big company.
    9. 李佳芮, Microsoft AI MVP, Founder & Co-founder of BotOrange.
    10. 罗淼, Full stack developer at ColorfulClouds, interested in AI, Game and Philosophy. He built a translator bot based on their translate API and wechaty.
    11. 龚澄(Gcaufy), Author of WePY, a mini program framework for Wechat. Tencent Engineer.
  • AI、Bot、WeChaty相关思考

    Author: @李彬 ,清华大学博士。硅谷智慧科技公司创始人,贵州博士科技有限公司CEO。聚焦智慧AI创新创业,从AI科普教育切入,开展人机智慧智能开发教育,打造全民AI教育开放平台。30年前在清华大学电子工程系开始研究机器翻译,20年前到硅谷开始学习探索智慧智能科技,10年硅谷与国内高科技创业经历。

    人工智能(AI:Artificial Intelligence)经历了六十年几起几落,终于在2016年因为阿尔法狗(AlphaGo)战胜围棋世界冠军而轰动全球,迎来了发展新机遇。2017年中国发布《新一代人工智能发展规划》,准备到2025年把中国建设成为全球最重要的AI创新中心之一。中国新一代AI的创新机会主要在弱AI的广泛应用和强AI的原始创新,而Bot(聊天机器人)是使用AI科技成果的一种最简洁形式。目前市场上具有“公众号+Bot+内容”这样的AI使用解决方案,支持大众以Bot形式使用AI科技成果。同时市场上也有像WeChaty这样的软件开源Bot项目,支持研发人员开发和集成各种各样的Bot引擎,支持Bot引擎的原始创新。显然,把AI、新一代AI、Bot、WeChaty这些概念和关系梳理清楚,有助于我们更好地推动中国AI的发展。

    hiai

  • Lightbot统计分析管理平台

    Author: @LittleStrong, WEB Development Manager at iTrustdata, 喜欢挖坑与填坑😝

    logo

    感谢 @lijiarui 邀请我分享我们的LIGHTBOT统计分析管理平台,希望能够帮助开发者使用wechaty提供更多的业务方向。

    本人刚开始学习使用node,因此代码相对比较low,还请见谅。😄

  • Docker Wechaty Getting Started

    Author: Huan LI, A Docker Fan

    Docker Pulls Docker Stars Docker Layers

    dockeri.co

    GitHub Repo: https://github.com/Chatie/docker-wechaty-getting-started

    Features

    1. Wechaty is fully dockerized. So it will be very easy to be used as a MicroService.
    2. Clone the above repository, then you will be able to use Docker to run Wechaty with ZERO configuration.
  • 用wechaty实现新闻资讯播报机器人

    Author: @judaschrist, Co-founder & CTO of 小理智能

    用wechaty实现智能内容机器人

    感谢 @lijiarui 邀请我分享我们的智能内容服务,以及在wechaty上的应用场景。

    我们在小理智能开发了一套智能内容服务系统,能够为各个领域提供智能资讯接口,包括新闻搜索、主题订阅、日报订阅等,帮助开发者将内容服务整合到自己的系统和产品中(关于小理内容接口的详细介绍看这里)。

    在小理内部,我们用这些接口进行社群自动化运营,比如给群里定时推送某一个主题的新闻资讯,自动维护群的活跃度,并且带来额外流量。 以下给出两个典型的应用场景:智能资讯问答以及日报定时推送

  • Deploying Wechaty Bot from GitHub to Heroku as Easy as Clicking a Button

    Author: Huan LI, A Former Linux Admin

    Deploy

    GitHub Repo: https://github.com/Chatie/heroku-wechaty-getting-started

    At Chatie, we’ve created several getting-started tutorials to make developers’ lives easier. Deploying Wechaty Bot has involved following their prospective README’s step-by-step guides.

    Today, we’re starting to make deploying Wechaty Bot as easy as clicking a button – the Heroku button.

  • 在 Windows 10 下安装 Wechaty

    @kaffa a life-long learner / a beginner investor / a coffee mocha lover. My blog is https://kaffa.im/

    在 Windows 10 下安装 Wechaty

    感谢 @zixia @lijiarui 让我在此分享我在 Windows 10 Home 平台安装 Wechaty 的经历,希望我对安装过程的记录和分析能帮助在此平台下安装 Wechaty 的人。

    介绍

    Wechaty 是一个对话机器人软件开发包,它可以帮你用 6 行 JavaScript 代码实现一个微信个人账号。由于使用 node 技术,它支持 Linux、Windows、macOS 平台和 Docker 容器。它的安装过程和其它 node 包类似,首先 git clone 源代码,再使用 node 的 npm 命令 npm install & npm start 实现开箱即用,同时官方也提供了入门案例:Wechaty getting started。而在国内,实际安装过程中可能会因某些软件依赖的原因遇到问题,本文记录了安装过程中可能会出现的错误及解决办法,下面描述详细的步骤和说明:

  • Wechaty New Release Version v0.18: SLOC from 27,630 to 7,817

    Author: Huan LI, Machine Learning Ph.D.

    reduce weight

    Picture Credit: Thumber.com

    All about Wechaty v0.18 is to: Reduce Weight!

    With v0.17, we have 27,630 source line of code with 377 unit tests(you can check it out at here if you are interested).

    Start from v0.18, we have 7,817 lines of code left(v0.17 is 353% of this!), with 10+ related npm modules.

  • 如何将业务代码从Puppeteer 迁移到Padchat

    Author: @lijiarui Founder of BotOrange, Author of Wechaty.

    Wechaty 近期有了很大的升级,从0.14版本之后,开始陆续支持各类非Web 版本的解决方案。我的业务逻辑代码重度依赖于wechaty,所以自从wechaty release 了0.15 版本以后,我开始将我们的业务逻辑代码陆续从Web版本迁移到了非Web版本上来。

    本篇博客主要介绍了我是如何将业务逻辑代码,从Puppeteer 迁移到 Padchat上的。

    code

  • Migrating Wechaty v0.14 to v0.18 Guide - From Puppeteer To Padchat

    Author: @lijiarui Founder of BotOrange, Author of Wechaty.

    Wechaty has been updated to version 0.16(BETA) these days and begin to support all kinds of wechat solutions including web, ipad, ios, etc. My product based on wechaty has to migration from wechaty solution based on web to ipad solution.

    This blog introduces how to porting code from wechaty puppeteer to padchat.

    code

  • Wechaty New Version 0.16(BETA, with super power) Released

    Author: @zixia Coder, Author of Wechaty.

    wechaty-release-0.16

    The Wechaty has been updated to version 0.16(BETA) today. This release is a BETA release which had been improved with lots of huge refactoring since v0.14.

    With v0.16, we can use the branding new Puppet System to connect Wechaty API to any kinds of Puppets, for example:

    1. Mocking - PuppetMock
    2. Web API via HTTP - PuppetWechat4U
    3. Web API via Browser - PuppetPuppeteer (our classic PuppetWeb)
    4. Maybe a Official Account Puppet? #1016

    If you are using Wechaty in a production environment, It is recormmand to skip this version and wait to the next version of 0.18 because this version is still in testing stage and will be continue developing as v0.19.

    However, if you want to try the new Puppet like the PuppetPadchat which is powered by the Wechat Pad Protocol, you can upgrade to this version and get the following benifits from it:

    1. Be able to login with the newly registered Wechat Account. (#872)
    2. Get wechat id for contacts. (#133)
    3. Get consistent room id for rooms across login session. (#90)
    4. … To be discovered by you …

    Learn more about how to use the PuppetPadchat from Wechaty v0.15 Alpha Testing: Win32/iPad/Android/iOS/API Puppets Support are comming! #1296

    Please file a new issues if you meet any bug or have any feature suggestions, and PR is always welcome(with an issue created first).

    Huan LI

  • 我在微信机器人方向的探索和看法

    Author: nbwsc

    首先,谢谢Huan LI的邀请,让我有机会写这么一篇博文。其实我做跟微信机器人相关的调研也不是很久,而且中间中断了很长时间,最早是在去年 6 月份开始,做了两个月更换了几个版本和不同方式把产品做了出来,之后就是今年 4 月份,又有这方面的需求于是又重新接触了微信机器人。

  • New Feature: Multi-Instance Support for Wechaty v0.16(WIP)

    Author: Huan LI, Half machine half human boy.

    blessed twins bot

    Wechaty v0.16 is working in progress.

    • Good news: We will be able to run as many as Wechaty instances than only one singleton before!
    • Bad news: BREAKING CHANGES were introduced. This enhancement has no BC any more!
  • Integrate Wechat Personal Account to Microsoft BotFramework with a BotBuilder Wechaty Connector

    Author: Huan LI, Microsoft AI MVP & RD, Author of wechaty.

    BotFramework

    Microsoft BotFramework is a robust platform that supports almost all kinds of the instance messengers like Facebook messenger, Skype, Slack, and backed by the powerful Cognitive Services like LUIS.ai, QnAMaker.ai, Azure Machine Learning. BotBuilder is a powerful SDK provides all we need when we are developing a ChatBot. I started learning them about 18 months ago, and I love them very much.

    However, it does not support Wechat PERSONAL Account, so I decided to make some fun on it: connect Wechat PERSONAL Account to the BotBuilder by creating a new Connector: botbuilder-wechaty-connector.

  • 微信App通信协议案例学习参考指南

    Author: @h4dex, 写bug的设计师

    Blog: https://www.icefox.org

    在1月初无意看到某微信爱好者学习交流群里发现讨论一个名为 MicroChat (基于Mars)利用微信AndroidAPP客户端通讯协议代码!!, 震惊之余,已对作者膜拜。心情激动之下下载了下来,参考了一些文章对原始版本进行了部分修正和应用测试。 后测试增加了一些功能实现以及对扩展模拟任意设备方式登入验证,和特定功能处理的思路。本人能力有限,技术很菜很水,但是秉着对技术向往以及分享我的坑给更多的学习者科普了解,故整理编辑了一篇文章带领大家先一睹为快。并且对MicroChat基础功能做了一些扩展思路,如果有错误的地方,欢迎批评指正 !

    Wechat Protocol

  • Can Typescript really live up to its hype?

    Author: @suntong, Canada

    TypeScript

    Big companies or organizations push forward adopting of Typescript for a reason, mostly to prevent some dummies to shoot their own feet really easily – The (almost only) advantage of Typescript is to point out, at the compile time, that the following usage is wrong:

    var x = 'A';
    x = x + 5
    

    But is it really? If you are a seasoned programmer and you are coding for yourself only, are you willing to get your hands tied up by MS Typescript, and suffer all its drawbacks in the mean time?

  • 女生科技体验节,Wechaty杂货铺

    作者: @Helen, Lenovo

    女生科技体验节的志愿者助教。

    这篇文章主要针对女生科技体验节Wechaty专场,同学们问的问题的汇总。因为很多同学没有太多编程基础,所以这篇文章讲解会比较基础。

    故事从哪里说起呢?通过这次女生科技体验节活动,同学们遇到的问题主要来自三方面,第一,是docker安装方面的问题;第二,是对一些专有名词的不理解;第三,是程序运行和代码编写方面的问题。那么,我会把重心放在,程序编写和运行中遇到的问题,和对同学们来说比较陌生的专业术语的解释上。因为,安装的问题五花八门,安装好以后大家都就可以随心所欲的写自己的机器人了,遇到更多的是程序代码上的问题。还有,我对安装真的不是特别在行。。。。

    So,这篇文章主要以问答的形式来写,并且,后面遇到新的问题,也可以告诉我,我会及时的补充。

  • 女生科技体验节,Wechaty专场技术复盘

    作者: @Helen, Lenovo

    一个爱玩的程序员,喜欢折腾新技术,还喜欢研究框架源码。不写代码时喜欢跳舞,架子鼓,马拉松,是这次女生科技体验节的志愿者助教。

    女孩子天生喜欢漂亮的衣服,衣柜里琳琅满目的首饰,化妆品。周末和闺蜜约会,逛街,喝下午茶。这似乎是众人眼中的姑娘们的标配。然而又有着这么一群女孩,她们喜欢编程,用代码改变着身边细小的事情,改变着世界。聪明,具有创造力,她们用行动诠释了新时代女性的性感。一个女孩的美丽不仅仅来自她的外表,更来自她的思想。2018年女生科技体验节,便是一道独有的风景线,讲师李佳芮带领女孩子们体验使用Wechaty制作自己的微信机器人。

    techie-festival

  • 构建脸盲聊天机器人--Wechaty Blinder

    Author: @李佳芮, 桔子互动创始人, Wechaty Author

    这是我在2017 北京 谷歌开发者节 TensorFlow 分会场的分享,本次活动是由谷歌(中国)、谷歌北京开发者社区主办,北京邮电大学协办的2017谷歌开发者节北京站在北京邮电大学圆满举办。我主要介绍了如何使用开源项目Wechaty-Blinder快速搭建一个微信脸盲机器人,迅速帮助你识别照片里的人。

  • 关于聊天机器人你需要知道的东西

    Author: @Yan Wang 现就读于悉尼大学商业数据分析 ,是Datagirls社区志愿者助教,两年数据分析师工作经历,拥有丰富的社科数据分析项目经验。

    2018年已经到来,一觉醒来,各种社交媒体已经被18岁刷屏 有这样的:

    1_

  • Wechaty Contributor Dinner with Data Girls

    Wechaty Contributors

    This Wechaty Contributors Dinner is sponsored by Data Girl.

    The above contributors are:

    1. 李佳芮, Microsoft AI MVP, Founder & CEO of BotOrange
    2. 王海良, Microsoft AI MVP, Founder & CEO of ChatOpera
    3. 李卓桓, Microsoft AI MVP & Regional Director, Author of Wechaty
    4. 尹婷, Microsoft VS MVP, Frontend Developer in ChengDu
    5. 梁迪, CPM at Microsoft
    6. 雨鸟 , A devops engineer focus on Kubernetes
    7. 令狐曦, CS Student from BUPT, Baidu AI UNIT Lecturer
    8. 谢扬, ByteDance Hacker, former CTO of Awesome Port
    9. 胡莺夕, CS Student from BUPT, NLP Algrithm Intern at Microsoft Research Aisa
    10. 王宁, CS Student from BUPT, Frontend Intern at Alipay
  • Wechaty-Mail: An email tool build on Wechaty

    Author: @wangning is a postgraduate student at BUPT who is a frontend full stack engineer, with rich Machine Learning/NLP/Image project experiences.

    As soon as I learn how to use 6 lines of JavaScript to achieve a simple chatbot based on Wechaty, I was deeply attracted and decide to develop an easy-to-use email tool based on it. Wechaty-Mail is an application based on Wechaty which can help you get notifications in WeChat when you receive new emails.

    wechaty_email

  • wechaty-electron 把你的wechaty 变成客户端

    作者: 郭英旭

    初识wechaty

    去年的这个时候,我刚到现在的公司任职,发现同事正在用微信做转播,就是把几个微信群里有价值的发言同步到其他几个群里,同时还要存入数据库以便在论坛上也能看到相关讨论。当时同事用的是chrome插件的方式,那是第一次知道微信还可以这么玩。惊奇的同时我也发现了一个很严重的问题,就是插件跑一段时间,网页就卡死了,就得重启。 于是我在网上找不同的解决方案,github 真是一个神奇的地方,很快我就找到了好几个版本的微信机器人,人气最高的当属wechaty,另外还有一个比较看好的是一个python的项目。由于本人对nodejs 对偏爱,选择了wechaty。

  • 解析WebWxApp代码来增强wechaty功能(一)

    作者: @binsee, 野路子的修炼者

    wechaty结构脑图

    一个菜鸟如何通过解析webWxApp与wechaty代码,来给wechaty增加新特性的回顾。

  • 我用wechaty做了一个积分红包机器人

    作者: @iyjian, 半路出家伪程序员

    我是个半路出家的程序员,有一个爱玩信用卡的老婆,老婆总逼着我我参加银行的积分活动,为了节省时间,我用wechaty做了一个积分红包机器人。

    产品的模样

  • Ten minutes to build a daily paper bot

    Author: @leinue, Developer && Designer, ivydom

    I built a bot to deliver the daily paper about machine learning and fintech to the users.Considering the development of lowest cost, I chose wechaty. It’s so awesome that it only took me 10 mintues to make the bot work.

    chatbot

    Before the bot work, I had really done a lot of work to crawl data and filter data, I won’t talk about the data here, just about the Wechaty!

  • 关于对微信PC版Hook的一点研究分享

    Author: @h4dex 会使用各种计算机语言写出 Hello World 的设计师(http://icefox.org/

    Wechat Windows Impactor

    因为易语言代码有的朋友们可能看起来怪怪的 如果没有接触过它,并不是那么通俗易懂。所以改成了cpp代码供审阅. 由于书写仓促 错误的部分希望大家指正,小弟在此多谢!

    感谢 易语言精易论坛坛友(xdssoft,恨不能遗忘,gh0st少主)分享的开源代码参考!

    准备工作:

    PEid、Ollydbg、IDA pro、CheatEngine、DLL自动注入工具、微信电脑版2.4.1.37/79
    
  • Wechaty New Version 0.9.0 Released

    Author: @zixia Angel Investor, Full Stack Developer, Paragiding Pilot, Author of Wechaty.

    wechaty-release-0.9.0

    The Wechaty has been updated to version 0.9.0 today. This release contains a number of bug fixes, security updates and feature enhancements.

    If you find new issues, please let us know by visiting our Github issue page and filing a bug.

    Huan LI
    Chatie/Wechaty

  • Using Jsdoc to sync the doc with the latest code

    Author: @lijiarui @BotOrange

    In order to sync the doc with the latest code, it’s best to use jsdoc to describe the API and use jsdoc-to-markdown to generate markdown format documents to the docs directory.

    automate all the things

    Yes, we planned to do this for nearly a year…

    Thanks to @Huan, @ax4,@hczhcz, @William, by the end of August, we finally convert all the doc to jsdoc. And I’d like to share some jsdoc experience here.

  • Score Your Face Photo: a ML & Wechaty practice

    Author: @huyingxi enjoying ML&Wechaty at BUPT

    Recently I found a fun and easy middleware to use for WeChat, called Wechaty.

    Wechaty can help developers quickly build applications based on Wechat, and it was born with a huge number of Potential users.

    So I build a fun application based on Wechaty, called wechaty_selfie, which is a ChatBot that can score self-portraits.

    selfie pear

    Say goodbye to your choice of difficulty!

  • Wechaty - the missing bot SDK for WeChat

    Author: @dcsan making chatbots at RIKAI Labs

    Recently I was in San Francisco talking to a lot of my friends in the Chatbot community, and realized how the WeChaty community is becoming central to Chatbot development in China.

    A lot of Americans look to China and WeChat for the future of Chatbots, but in fact Tencent has still not released an official “Chatbot SDK”. Unlike Facebook, Slack, LINE, Telegram and every other messaging platform. bot.QQ.com is still just a teaser of what might be.

    If you are determined enough, you can still build chatbots for WeChat but it feels like swimming upstream without a guide. For those who don’t know, WeChaty allows you to turn a wechat personal account into a chatbot, and provides a javascript API to talk to WeChat.

    So in many ways WeChaty is becoming the missing bot SDK for WeChat, and it’s community is the main gathering point for all types of chatbot and NLP discussion in China.

    Additionally the core wechaty team make a big effort to use English in their documents and community. So this community is the gateway to China for international chatbot companies too. It’s great to get some ideas from outside of the genepool too XD

  • Shanghai WWDC - WeChaty Worldwide Developers Conference

    Author: @dcsan, making Chatbots at RIKAI Labs

    Most of the WeChaty core team are in Beijing, but there are a few of us here in Shanghai too. @lijiarui was in town for a few days and so we had a small get together!

    shanghai wechaty peeps

    We talked devops, chatbot games, NLP and more!

  • Run Your Telegram Bot with Wechaty

    Author: @hczhcz, an open source coder and fan of the TOAD

    Before introducing Wechaty Telegram Bot Adaptor, I would like to say something about Telegram chatbots. Recent days, I have a lot of fun playing chatbots on Telegram. After lynched hundreds of tanners in Werewolf games, I realized that a chatbot can bring so much fun to users.

    Playing Werewolf on Telegram

    What are the differences between a chatbot and a game app? A chatbot is much more accessible. You do not need to let your friends download and install it. Instead, just say “hey, let’s play Werewolf/UNO/Avalon…” and the chatbot will be ready for your friends and you. The process of playing the game and the process of chatting are actually “fused” together.

  • 如何编写聊天机器人

    摘要: Chatbot,聊天机器人,用于和人类用户聊天的电脑程序。它是场交互革命,也是一个多技术融合的平台。桔子互动创始人根据自己的经验告诉大家,> 该如何来编写微信聊天机器人。

    What are chatbots and why the hype

  • Wechaty Sticker is ON SALE!

    Wechaty Sticker

    We had just made very high quality Wechaty Logo Stickers recently!

    If you are using Wechaty and you love Wechaty, from now you can buy our logo sticker online.

    I Wechaty1:


    1. Disclaimer: The seller is not Chatie/Wechaty but a 3rd party partner. 

    2. Worldwide: International shipping with PayPal/Credit Card support. 

  • An interesting weekend with Wechaty

    Author: @Helen, Lenovo

    Helen is a full stack engineer living in Chengdu, familiar with D3. When not coding, she loves dancing, sings and play Erhu.

    Thanks for inviting me to write this article that give me a chance to share my story for each other. And Wechaty is a very awesome library that is powerful and easy to use. The most important point is that is interesting for Wechat users and developers. Last week, I want to help my friend to make a chat bot. Because she is a manager of a technic community and she is also a owner of a chat group. In her daily life, many people add her to be the bunny on wechat. Then she needs add these persons into wechat group. It is a manual work, right? So I want to help her to lessen workload. So I ready to use wechaty.

  • The memorabilia of The First Chatie WWDC Party

    Author: @greatgeekgrace Li Jiaxuan, Ex-Baidu-er, Tensorflow Expert who has just published a ML Book last month.

    On June 6, 2017, at 6 PM, we held the First Chatie Worldwide Developers Conference(WWDC) Party in the Su Shi Restaurant of Wudaokou, Beijing.

    Chatie WWDC Photo

    The Conference consists of a small group of seven people, and the theme is about ChatBot and Artificial Intelligence in all aspects. The Participants include PNP Investors Li Zhuohuan, Orange Interactive Founder Li Jiarui, and Zhou Zainan who graduated from Tsinghua University, currently works in Google Adwords, a amateur who combined chatbot and Wechat group; And Chou Daohan who majored in business and undergraduated in Europe, and will be admitted to the University of Birmingham in computer science department; and Zhou Shuai who works in the Chinese Academy of Sciences Institute in Automation, in CBSR Laboratory, and researches in face recognition and face attribute analysis; And Zhao Wenjun who is a graduate student in Beijing University of Posts and Telecommunications, studying assiduously in Machine Learning; and the author of Book “Technical Analysis And Practice in TensorFlow”, TensorFlow community’s Founder Li Jiaxuan. We open an interesting ChatBot Summit together.

  • A Simple WeChaty Bot with Intelligence Powered by TensorFlow

    Author: @imWildCat, University of Birmingham

    WeChaty is an powerful library to help developers interact with WeChat programmatically, creating a bot for a varity of purposes. A very significant purpose of a bot is to chat with users, implementing tons of businesses within only a message app instead of a website or other apps1 (Raval, 2016). A chatbot is extremely useful for businesses such as custom services. A traditional way to implement a chatbot is to write all possible responses. It would cost a large amount of time and money and seems to be ‘mission impossible’. With the growth of Artificial Intelligence, machines could learn from a large number of dialogues generated by human beings automatically so that programmers do not have to ‘teach’ these machines step by step. In this article, I will introduce a few codes of TensorFlow to make our chatbots more ‘intelligent’.

    wechaty-and-tensorflow

    1. Siraj Raval, 2016. How to Make an Amazing Tensorflow Chatbot Easily. Retrieved from: https://www.youtube.com/watch?v=SJDEOWLHYVo 

  • How to use interval in Wechaty to overcome some web-wechat API limitations

    Author: Seabook, @kungfu-software, Founder of Kungfu Software

    Hello, first of all, thanks for inviting me to write a knowledge sharing post in Wechaty. I am just starting to learn Wechaty and immediately fall in love with it. It’s really easy to get started to make your own wechatbot. :-)

    I am currently exploring all the examples from the Wechaty and try to customize it to make my own requirements happening. Everyday I try to think of a user case that I can use wechaty to make it happen.

    So I had a particular evil thought in my mind one day. I wanted to add a Wechaty bot to any chatrooms and sent bot a command, then somehow the bot can start to send Friend Requests to all the people in the room.

  • Deliver dialogs with SuperScript

    Author: @hain, Lead of Rockq Community, Wechaty Contributor

    Hailiang WANG is Lead of Rockq Community and also a software developer. He used to work in IBM China Innovation Center and IBM China Development Lab. Since last year, he has focused on deep learning technologies, NLP, chatbot and conversational UIs.

    现在时间是7点半,8点下班回家,在这半个小时,让我们来聊聊SuperScript 和 Wechaty 结合带来的巨大前景。

    Blue and Red pill

    Wechaty就像是连到母体的管道,当我们还在思考着是吃红药片还是蓝药片的时候,pia,zixia就把Wechaty给做出来。然后呢?!

    对话,对话,对话。

  • Wechaty Contributor Dinner

    Author: @antonia0912, formal community manager at JueJin(Chinese Hacker News)

    Photo

    With the development of science and technology, the progress of the society is related to create something useful. And to a certain extent,  the software developers are capable of changing the world.  Last Friday, I was lucky for having an enjoyable conversation with several coders together.

    There were 7 guys came to the gathering (including me), 6 programmers, and one used to work for a technical community. We met at 7 pm and would have dinner together in a Chinese restaurant. We’d like to introduce ourselves to each other at the beginning of the meeting with a video recorded.

  • Interact Wechaty with Ruby on Rails from scratch

    architecture2

    Author: @imWildCat, University of Portsmouth

    Ruby on Rails is a extremely powerful web framework with a long history, which can simplify our development process, making it more enjoyable. As it known to all, many well-known sites are built on this framework, such as GitHub, Unsplash, Airbnb, Dribbble and Product Hunt1. For most developers without so much experience about Rails, setting up a development environment for this stack is not a easy task. This blog would introduce how to interact WeChaty with Rails with an example of a group message logger, trying to Keep it simple, stupid (the KISS principle).

    1. Rails, StackShare: https://stackshare.io/rails 

  • 用Chatie实现微信机器人商业逻辑之【好室友】群管理篇

    作者: @xinbenlv, Google, Chatie Contributor

    为了帮助新来硅谷的朋友找室友和租房,我们在所在地区组建了若干微信群。 我们对这个项目的基本理念是简单专注,用完即走。

    我们的应用场景是这样的:我们一共有数个微信群,按照硅谷旧金山湾区的几个租房区域进行分群, 每个微信群常年满上限500人。我们要求入群的朋友修改群昵称, 我们每周要按照一定的规则将不按照要求修改群昵称的群友和最早入群的人踢出,以实现群员的流动, 确保群里都是最近有租房需求的朋友而不是许多租房群常见的僵尸群情况。

    另外,我们不允许发布任何与租房无关的信息:广告、二手交易、机票信息等常见扩散信息都被视为禁止类型。 在群管理员志愿者们的共同努力下,我们群在湾区朋友中间以简洁活跃赢得了相当不错的口碑, 被常常被湾区的群友介绍给自己新来湾区的朋友。也是因为我们群初具规模, 吸引了各种希望混入大群散发广告的各种运营号、广告号和宣传号。 经常有人进入我们的微信群发布广告消息和无关消息, 我们对于这种情况会予以警告直至踢出群并加入黑名单。

    在使用机器人之前,我们的管理员志愿者们,每天需要手动登录手机,接受好友请求, 然后根据相应的规则对群进行管理。由于加群请求巨大,群多而复杂, 因此还经常要首先回答用户的问题再根据用户的意向分配进入相应的群。 删除群好友的事儿也需要花费比较长的时间。

    在得知Chatie之后,我们立即使用Chatie的接口开发了机器人来进行群的管理工作, 大大简化了管理员志愿者们的工作流程和负担。我们这里介绍一下我们的业务逻辑模块。

  • 给机器人添加发送图片视频功能

    作者:@mukaiu, Wechaty Contributor

    公司活动,需要对入群用户进行管理和自动回复。前期在Node Party Beijing上接触到@zixia的分享,Wechaty刚好能支持该活动,支持Docker部署,是一个很棒的Bot Framework。

    开发过程中发现,#4 Support Message Type of Image/Video此功能还未实现,决定完成该项特征。

  • 给微信机器人添加热重启功能

    作者:@Gcaufy, Tencent, Wechaty Contributor

    Wechaty解决了很多我在使用微信运营过程中的痛点问题,这里就不再一一赘述了。同时Wechaty的API设计简洁优雅,部署方便也是另外一个吸引我的地方。

    快速上手后,在开发调试过程中,修改代码需要频繁重启Wechaty程序。相信绝大多数人都有着类似的问题, 下面就聊一聊怎么避免类似问题。

  • The secret lives of WeChat’s chatbots

    Chatbots rocketed into the limelight last year, bolstered by the enthusiasm of Facebook and Microsoft, though the technology wasn’t mature yet.

    In China, however, the response was more muted. While Facebook was busy pushing its new Messenger app – boasting when it hit 11,000 bots – Tencent, the maker of WeChat, quietly let millions of accounts develop AI-powered bots of their own, keeping a wary eye out for abuse. Accounts like Cara, for example, are shut down, as Tencent wants to confine bots to customer service-related functions within brand accounts.

  • Wechaty 101: from v0.0 to v0.7

    This talk was presented at Node Party Beijing #18 Dec 2016, all about ChatBots.

    My topic includes:

    1. what does it do?
    2. why does it exist?
    3. how does it work?
    4. what’s in it for me?

    For visiters come from China who can not visit YouTube.com, this video is also hosted on YouKu.com & Tencent Video:

  • Getting Started with Wechaty - Live Coding Tutorial

    Wechaty is super easy to use, especially when you are using Docker.

    In this video, @lijiarui will show you how to getting started with Wechaty through a 10 minutes live coding tutorial, with Wechaty Docker Runtime. (Event Node.js Party #18, Beijing)

    For visiters come from China who can not visit YouTube.com, this video is also hosted on YouKu.com & Tencent Video

  • 一个姑娘如何用6行代码写出微信聊天机器人

    作者:@lijiarui, Entrepreneur, Wechaty Contributor

    我一直和我的小伙伴在业余时间拍摄舞蹈教学视频,叫“舞哩”,原创了几百个视频,近千万的播放,所以就建了微信群来和粉丝交流。

    RuiRui

  • Wechaty Case Study - a letter from JasLin

    Author: @JasLin, BotWave CTO, Wechaty Contributor

    Usercase of using wechat robot with Wechaty

    Case Study

    hi brother,

    the attachments are the screenshot of the little system which i using wechaty.

    story about it :

    we have a meditation group, people in the group take meditation every day, after meditation they check in with a emotion image in the group, to help encourage the others or themselves keep meditation every day.

  • Node Party #18 重新认识聊天机器人

    Node Party Banner

    What is Node Party?

    每月组织JavaScript/Node开发者聚会,关注热门的前端、后端框架,开发工具和方法。

    • 学习新东西
    • 认识新朋友
    • 聚餐

    我们会为你准备:

    • 咖啡,甜点,爆米花和动听的音乐,一起度过一个愉快的下午。
    • 时间:12月11日 星期日 下午13:00 ~ 18:00
    • 地点:科技寺创业空间(北新桥店)
    • 地址: 东城区 东四北大街107号科林大厦B座107室(近北新桥地铁站)
    • 报名地址:http://www.bagevent.com/event/291037

    内容:

    13:00 ~ 13:30 入场

    13:30 - 14:30 如何用6行JavaScript写出微信聊天机器人

    李卓桓,李佳芮

  • Docker玩转微信机器人框架Wechaty

    GhostCloud Banner

    Wechaty(https://github.com/wechaty/wechaty)是一款开源的微信SDK,它基于微信公开的API,对接口进行了一系列的封装,提供一系列简单的接口,然后开发者可以在其之上进行微信机器人的开发。在跟作者沟通试用以后,发现其中有着非常多的应用场景,比如:

    1. 如果你的好友众多,如何管理和维护好友分组;
    2. 如何快速有序地处理海量聊天信息,并区分重要性;
    3. 如何处理海量的聊天组,特别是微信可以任意建组,长期以后会出现非常多的聊天组;
    4. 能否可以自动智能地进行聊天回复
    5. ……
  • Chat实录|李佳芮:向前一步的程序媛

    Chat实录|李佳芮:向前一步的程序媛

    11月24日周四晚8点,GitChat团队开启了来自一位前端女技术工程师李佳芮的问答交流,以下是主持人小冰将交流过程重新整理,记录下了分享者和用户之间对微信机器人的交流精彩片段。

    问:你能说说目前微信机器人能做什么,不能做什么?

    答:Wechaty的实现原理,是监听Web微信的所有内容,封装成接口给开发者使用。所以原则上,只要能在Web微信上能实现的事情,微信机器人都可以做。注意我说的是Web微信,不是微信客户端。微信在Web上阉割了很多功能,相比较,PC客户端的功能丰富的多。所以抢红包功能做不了。因为在Web微信里面,是无法识别到有红包的事件的。还有,转账功能机器人也做不了。

    问:机器人是PC端监听浏览器然后调用微信Api,应用号是基于“微信OS”的“本地”app,这么解释对么?

    答:机器人是在监听浏览器,但是和微信Api没有任何关系,完全是Hack进去的。机器人更像是在解决运营中的机械化重复操作,希望在Chat的过程中,提供服务。

  • Welcome to Wechaty!

    Wechaty Logo

    Hello, ChatBot Developers!

    Today is a big day because Wechaty got a brand new Blog! ;-)

    In the past half year, Wechaty growth from version 0.0.1 to 0.6.32. Today, it has dozens of pull requests, 100+ issues, 200+ stars, 1,400+ commits and 10,000+ lines of code.

    The Worlds Smallest ChatBot

    Wechaty is a easy to use ChatBot Framework which can help you write the worlds smallest chatbot. Maybe you are very interesting in ChatBot industory, or you just want to get your own wechat personal account robot, Wechaty will always be your friend.

    The following 6 lines javascript code example will show you how does Wechaty work:

    const { Wechaty } = require('wechaty')
    
    Wechaty.instance() // Singleton
    .on('scan', (url, code) => console.log(`Scan QR Code to login: ${code}\n${url}`))
    .on('login',       user => console.log(`User ${user} logined`))
    .on('message',  message => console.log(`Message: ${message}`))
    .init()
    

subscribe via RSS