This is a more convenient background system for robot message management and user management. You can easily process the messages sent by other people to the robot.
The following functions are now supported:
- Reply to user messages directly in the background.
- The administrator directly responds to the user by replying to the message through the Messenger client.
- Refuse to receive information from specified users.
- Sending announcements via robots and withdrawing announcements
- Auto-reply by designated keywords (auto-reply by added friends)
- Support for the same robot by multiple administrators (data synchronization)
- Count the number of new users and the number of new messages added to the robot every day, as well as the total number of users and the total number of messages.
- Set the apps that are connected and shared.
The following are some screenshots in the app.
cd conf
cp app.conf.default app.conf
appname = bot-manager # the name of the app
httpport = 9098 # http service running port
runmode = dev # Load the specified environment variable
autorender = false
copyrequestbody = true
[dev] # Local development configuration
# Database please fill in the corresponding information of postgresql
dbHost=localhost
dbUser=
dbName=
dbPass=
# Please fill in the key-store of the mixin robot
clientId=
clientSecret=
sessionId=
privateKey=
# Customize the salt value of the salting algorithm
claimKey=dev
[prod] # Production environment configuration
dbHost=
dbUser=
dbName=
dbPass=
clientId=
clientSecret=
sessionId=
privateKey=
claimKey=prod
This project is developed based on beego
,
For installation of Bee tool, please refer to this link.
https://beego.me/docs/install/
bee run
- In the production environment directory, create a new folder and file
conf/app.conf
and fill in the information,
Note,
runmode=prod
go build
./bot-manager
- Development environment:
/client/.env
and/client/.env.development
- Production environment:
/client/.env.production
Example:
VUE_APP_SERVER=http://localhost:9098/v1 # http service domain name
VUE_APP_WS_SERVER=ws://localhost:9099 # domain name of wss service
VUE_APP_CLIENT_ID= # client_id eg. 11efbb75-e7fe-44d7-a14f-698535289310
VUE_APP_SCOPE= # Need to request permissions, eg. SNAPSHOTS:READ+PROFILE:READ+ASSETS:READ
Running this project requires node environment support, For the installation of Node Cemetery, please refer to this link: http://nodejs.cn/download/
npm install
npm run serve
npm install
npm run build