wechaty / wishlist

Puppets, Bots, and other Tooling Requested by Community Members
6 stars 0 forks source link

Design and write a series of recipes about using Wechaty #13

Open huan opened 4 years ago

huan commented 4 years ago

Most Wechaty developers they only want to solve a very specific problem that they are facing.

If they are lucky enough, after performing some google-fu, a solution source code that exactly what they want will be found. In this case, a lot of time will be saved.

If they are not lucky, then they will have to start from scratch, which means lots of pains.

This is why we want to write a series of recipes about using Wechaty: we want to make more developers be lucky and save them from pains.

Before we start we need to decide how many recipes we need to write, and of course, it can be updated later. Each recipe should be a mini-tutorial.

Recipes

Friendship Recipes

  1. Accept friend request

Contact Recipes

  1. List all contacts
  2. Find a specific contact by id/name

Room Recipes

  1. List all rooms
  2. Find a specific room by id/topic
  3. Create a room
  4. Accept a room invitation
  5. Add a contact(s) to a room
  6. Connect N Rooms together

Message Recipes

  1. Receive Messages
  2. Save message attachments(image, video, pdf, etc)
  3. Send a file to a contact/room

Wechaty Recipes

  1. Switch puppet by setting the environment variable
  2. Switch puppet by providing puppet options

The above list is a very DRAFT version, needs to be refined in the future.

wj-Mcat commented 4 years ago

Looks great, I will follow these recipes in python-wechaty.

huan commented 4 years ago

@wj-Mcat It will be fantastic if we can also have multi-languages version of our Wechaty recipes!