Skip to content

padlocal/wechaty-puppet-padlocal-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quick Start with Demo

0. Apply Token

You need PadLocal token to run this demo. How to Apply Token

1. Prepare Node Environment

Install Node, 16 LTS version is recommended.

$ node --version // >= v16.0.0

2. Clone the wechaty-puppet-padlocal-demo project.

$ git clone [email protected]:padlocal/wechaty-puppet-padlocal-demo.git

Then install Node dependencies.

$ cd wechaty-puppet-padlocal-demo
$ npm install

3. Set you PadLocal Token in main.ts

const puppet = new PuppetPadlocal({
token: ">>>> YOUR_PADLOCAL_TOKEN <<<<"
})

[Optional] Uncomment following code to turn on debug log

/****************************************
* 去掉注释,可以完全打开调试日志
****************************************/
// log.level("silly");

4. Run the demo

$ npm run demo

carbon

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published