Skip to content
This repository was archived by the owner on Mar 14, 2024. It is now read-only.

Latest commit

 

History

History

padlocal

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Go-Wechaty-Bot PADLCOAL PROTOCOL

仅供学习使用,请勿用于非法用途

puppet-xp 〰️ puppet-padlocal 〰️ puppet-4u 「 Select Gateway 」

Info

Glossary

Gateway : puppet-padlocal
Server: go-wechaty

Architecture

flowchart LR
    Polyglot-->Python
    Polyglot-->Go
    Polyglot -->Rust
    Python-->Grpc
    Go-->Grpc
    Rust-->Grpc
    Grpc-->Docker{Docker}-->padlocal
    padlocal-->微信
Loading

⇲ Use

Init (depend main.General)

  1. Checkout branch

    cd padlocal
  2. Get & Generate Token

    WECHATY_PUPPET_PADLOCAL_TOKEN: http://pad-local.com/#/tokens
    WECHATY_TOKEN:"insecure_" + curl -s https://www.uuidgenerator.net/api/version4
    WECHATY_PUPPET_SERVICE_TOKEN:WECHATY_TOKEN
  3. Modifying a Configuration File

    # wechatyGateway.sh
    export WECHATY_TOKEN="insecure_xxxxxxxx_xxxx_xxxx"
    export WECHATY_PUPPET_PADLOCAL_TOKEN="puppet_padlocal_xxxxxxxxxxxxxxxx"
    export WECHATY_PUPPET_SERVER_PORT="25000"

Start Server

cd padlocal && npm install && bash ./wechatyGateway.sh # Start puppet-padlocal Gateway
cd server && go run main.go # Start Server