Skip to main content

Running on Google Cloud Shell

To get you started with Wechaty, this tutorial will guide you how to run the Ding Dong bot from the Wechaty Getting Started GitHub repository directly on the browser using Google Cloud Shell environment. It provides a step-by-step tutorial for running the bot along with an IDE.

You can follow the steps below to get started smoothly.

  1. Open the Google Cloud Shell environment by clicking the button:

    Google Cloud Shell badge

  2. Sign In with a Google account. If already signed in then you will directly land on step 3.

  3. Trust the git repository and click Confirm.

    Google Cloud Shell: Trust repo

  4. Wait for the cloud shell provisioning to complete.

    Google Cloud Shell: Wait for provisioning

  5. After that you will see the Cloud Shell Editor, on the right panel is your step-by-step guide, and on the bottom you have the terminal window.

    Google Cloud Shell: Editor

Now, you can follow the tutorial inside the cloud shell.

First it tells you about what Wechaty is, and then it guides you to run the Wechaty Ding Dong Bot and connect it with either WeChat or WhatsApp. It also has a section where you have to implement a new functionality in the bot and thereby giving you a better understanding how Wechaty bots work under the hood.

After completing this tutorial, you can continue and learn how to run Wechaty locally on your system.

Learn more about Google Cloud Shell Tutorials for Wechaty from this blog post.