lifecoder1988 / mj-wechat-bot

midjourney wechat bot based on fakingai api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Midjourney Wechat Bot

Powered by Sidecar TypeScript GitHub stars

midjourney wechat bot base on fakingai.com

This Bot based on FakingAI API . Official website is: https://fakingai.com

The Goal

midjourney wechat bot base on fakingai.com

GETTING STARTED

  • 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.
    • get one token in fakingai.com when you login console
      • midjourney wechat bot base on fakingai.com
    • subscribe free plan to make token working (it's free now)
      • midjourney wechat bot base on fakingai.com
  • STEP 4: Getting Started with TypeScript/JavaScript (RECOMMENDED).

QUICK START

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.
#

Resource

Author

  1. Joe Wang @lifecoder1988

Copyright & License

  • Code released under the Apache-2.0 License

About

midjourney wechat bot based on fakingai api

License:Apache License 2.0


Languages

Language:JavaScript 75.5%Language:TypeScript 23.9%Language:Shell 0.6%