This Bot based on FakingAI API . Official website is: https://fakingai.com
- STEP 1: Install Wechat Client in your Windows computer.
- STEP 2: Login the Wechat Client on the computer.
- SETP 3: Get a token from FakingAI.com.
- STEP 4: Getting Started with TypeScript/JavaScript (RECOMMENDED).
only support WeChat v3.6.0.18 , You can download below.
git clone https://github.com/lifecoder1988/mj-wechat-bot.git
cd mj-wechat-bot
npm install
# config .env file
# ----------------- .env content ------------------
BOT_NAME="@宝宝" # wechat bot name (same as @宝宝)
WEBHOOK_URL="https://a-key-named-by-you.loca.lt"
MJ_API_TOKEN="xxxxxxxx" # generate from faking ai
# --------------------- .env content done ----------
npm start
# install local tunel
npm install -g localtunnel
# start lt with fixed subdomain and port
lt --port 3000 --subdomain a-key-named-by-you
#
# Do not forget to install WeChat with requried version and login.
#
- Joe Wang @lifecoder1988
- Code released under the Apache-2.0 License