event,

2020 Wechaty 666: 6 lines of code, 6 platforms, and 6 languages

Huan Li Huan Li Follow Dec 30, 2020 · 5 mins read
2020 Wechaty 666: 6 lines of code, 6 platforms, and 6 languages

Time past fast, the year 2020 has gone.

When we look back to the past 12 months, we are very happy to see that the Wechaty community growth HUGE, thanks for all our great developers from the community, especially those who have submited Issues and Pull Requests!

Meetup Video

Dec 30, 2020, we have a Wechaty developers meetup dinner at Wudaokou. we have reviewed the 2020 and outlook the 2021 for our great Wechaty open-source project and the community!

YouTube: https://youtu.be/a9i5YoKiRYY

The following friends attended our dinner:

  1. Huan, Creator of Wechaty, Chatbot TVP of Tencent, PreAngel Partner
  2. 李佳芮, Co-creator of Wechaty, Microsoft AI MVP, Founder & CEO of Juzi.BOT
  3. 吴京京, Creator of Python Wechaty, NLP ML Postgraduate student of BUPT
  4. 丁小雨, Creator of Go Wechaty, Engineer
  5. 借来的天堂, Python Wechaty Contributor
  6. 谢扬, Wechaty Contributor, Founder & CEO of Authing.cn
  7. 尹伯昊, Wechaty Contributor, CMO of Juzi.BOT
  8. 王海良, Wechaty Contributor, Founder & CEO of Chatopera.com
  9. theif, MIT Ph.D, Machine Learning Researcher, Entrepreneur
  10. 孙翰南, Wechaty Developer, Founder & CEO of Fami
  11. A Xiao, Wechaty Developer (online)

Wechaty Developers Dinner

Thanks @windmemory supporting for the final cutting pro software, and here’s a good 20 mins tutorial for getting started with it: LEARN FINAL CUT PRO X IN 20 MINUTES // TUTORIAL FOR BEGINNERS

2020 Review

We have summurized what we did those fantastic improvements in 2020 into one number: 666!

Why 666? It’s because we have got three sixes!

6 Lines of Code

Firstly, as we all know, Wechaty can build a chatbot with only 6 lines of JavaScript/TypeScript code!

And after 2020, we can not only write Wechaty chatbots in JavaScript/TypeScript, but also write them in almost any languages that you are using, for example, Python!

bot = Wechaty()
bot.on('scan', lambda status, qrcode, data: print('Scan QR Code to login: {}\nhttps://wechaty.js.org/qrcode/{}'.format(status, qrcode)))
bot.on('login', lambda user: print('User {} logged in'.format(user)))
bot.on('message', lambda message: print('Message: {}'.format(message)))
await bot.start()

The World’s Shortest ChatBot Code: 6 lines of JavaScript

6 Programming Languages

Secondly, Wechaty can be used in 6 programming languages other than JavaScript/TypeScript, they are:

  1. Python Wechaty
  2. Go Wechaty
  3. Java Wechaty
  4. Scala Wechaty
  5. PHP Wechaty!
  6. .NET Wechaty

We drafted the Multi-language Wechaty Issue #1927 in March 2020, and our Wechaty community members are so great that we finished translate Wechaty from TypeScript to Python, Go, and Java in 2 months, and then we got another three (Scala, PHP, .NET) done in the next 3 months, it’s so unbelievable!

And after 2020, we can not only connect Wechaty to WeChat, but also connect our chatbot to more IM platforms!

6 IM Platforms

Thirdly, Wechaty can connecting to 6 IM platforms other than WeChat, they are:

  1. Whatsapp
  2. TikTok
  3. Lark
  4. Kuaishou
  5. Gitter
  6. WxWork

Most of those support (Whatsapp, TikTok, Lark, Kuaishou) are built by community developers who comes from the Open Source Promotion Plan - Summer 2020. Summer 2020 is a Google Summer of Code like program co-organized by ISCAS & openEuler Community. Wechaty was recognized by the organizer as a valuable open-source project, we published a dozen oss tasks to student develoeprs who want to practice with the oss, and they are so great that everyone did a great job with us!

And after 2020, we can not only use Wechaty Puppet locally, but also we can cloudify the Wechaty Pupppet as a Service (TBW)!

So, 2020 Wechaty 666!

2021 Outlook

For the coming 2021, we have a great conversation with all the friends at our dinner.

There will be more and more opptunities for Wechaty in 2021, we have picked four out of them which we believe they are the most important ones.

  1. Globalization: Google Summer of Code
  2. Book: Chatbot 1 to 2
  3. More Puppet Service Providers
  4. Five Years Celebration

1. Globalization

  1. Google Summer of Code 2021 will start soon, Wechaty should apply to join as a open-source organization, then connect to the global student developers through the GSoC in 2021. (We should also join Summer 2021 in China as well)
  2. The Open Source Fundation is a great place to hold our Wechaty oss project. We should keep eyes on the top tier fundations and learn how to play with them. E.g., it would be very helpful for us if we can join Apache or Linux fundation.

2. Book & Documentation

  1. The Wechaty Docs Website is not clear for our developers, especially a developers never know Wechaty before. We should fill the contents in our docs in 2021.
  2. We have a plan to write a book (code name Chatbot 1 to 2) online, the target audience is a programmer who want to build a chatbot to solve their conversational user interface problem but has never heard about Wechaty, to getting started with Wechaty and write good chatbot code.

3. More Puppet Service Providers

Currently we have only four Wechaty Puppet Service Providers, and we should find more developers who is willing and able to build and provide the Wechaty Puppet Service. (at least increase another four providers)

4. Five Years Celebration

We have already 150 contributors with Wechaty open-source project!

However, most of us are never meet in person before, so let’s meet in 2021!

Our plan is to host a 5 Years Celebration in March 2021, please let us know what you think by discussing at https://github.com/wechaty/wechaty/discussions/categories/5-years-celebration!

Gifts

All the friends got beautiful Wechaty stickers! If you like them, please stay tuned and we will send out a form to fill your address and then we will send stickers to you!

Wechaty Stickers

Join Newsletter
Get the latest news right in your inbox. We never spam!
Written by Huan Li Follow
Creator of Wechaty, building chatbots for fun.