Coder Social home page Coder Social logo

appllejn / wechaty-getting-started Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wechaty/getting-started

0.0 2.0 0.0 8 KB

Wechaty is super easy to use, especially when you are using Docker. This repo will show you how to getting started with Wechaty

JavaScript 49.75% TypeScript 50.25%

wechaty-getting-started's Introduction

Connecting ChatBots.

Wechaty is a Bot Framework for Wechat Personal Accounts which can help you create a bot in 6 lines of javascript by an easy to use API, with cross-platform support including Linux, Windows, Darwin(OSX/Mac) and Docker.

Join the chat at https://gitter.im/zixia/wechaty node Repo Size

:octocat: https://github.com/wechaty/wechaty
๐Ÿชฒ https://github.com/wechaty/wechaty/issues
๐Ÿ“– https://github.com/wechaty/wechaty/wiki
๐Ÿณ https://hub.docker.com/r/zixia/wechaty

wechaty-getting-started

Wechaty is super easy to use, especially when you are using Docker.
This repo contains the code for the video tutorial.

Functions as follows:

  • If you send 'hello' to the bot, the bot will reply 'hello how are you'
  • If you send 'test' to the bot, the bot will add you to the room 'test' (You should create a room called test before)
  • If you send 'out' to the bot, the bot will remove you from the room 'test'

Above is a 10 minute video tutorial, which is a good way to start if you are new to Wechaty.

Learn more about wechaty: Wechaty

Run

docker

git clone https://github.com/lijiarui/wechaty-getting-started.git
cd wechaty-getting-started
docker run -ti --volume="$(pwd)":/bot --rm zixia/wechaty mybot.ts

npm

git clone https://github.com/lijiarui/wechaty-getting-started.git
npm install
node mybot.js

wechaty-getting-started's People

Contributors

d-vr avatar lijiarui avatar

Watchers

 avatar  avatar

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.