The hassle-free way to build AI assistant service


Keywords
magic, ai, cella, client, driver
License
MIT
Install
npm install cella-node@1.0.4

Documentation

cella-node Build Status

The hassle-free way to build AI assistant service for WeChat, this is the node.js client of Cella platform

Run demo

TOKEN=WECHAT_APPID DEBUG=* node demo.js

Run test

make test

Configuration your WeChat

How to configure your WeChat Official Account to use this service

1 minute integrate your WeChat to your service

Add cella-node to your project

npm i cella-node --save

Implement your hello world robot

const CellaClient = require('cella-node')

const client = new CellaClient({
	token: process.env.TOKEN,
})

client.on('connect', _ => console.log('>>> Connected >>>'))

client.on('message', msg => {
	client.sendTextMessage(msg.userId, `Hello World`)
}