Skip to content

Sakurasan/Mirai-Plugins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mirai-Plugins

GitHub Workflow Status

一个基于MiraiGo-Template的插件列表,欢迎👏🏻PR,参考ping/pong模板

插件列表

  • ping/pong
  • alarmclock
  • bilibili
  • ChatGPT

@机器人 提问 (此模式支持上下文)

群聊 普通问答

docker-compose.yaml

version: '3'
services:
  redis:
    image: redis:latest
    container_name: redis
    restart: always
    ports:
      - 6379:6379
    environment:
      TZ: Asia/Shanghai      
#    volumes:
#      - ./data:/data
#      - ./conf/redis.conf:/etc/redis/redis.conf
#      - ./logs:/logs
#    command: ["redis-server","/etc/redis/redis.conf"]  

  qchat:
    image: mirrors2/qchat:latest
    container_name: qchat
    depends_on:
      - redis
    restart: unless-stopped
    volumes:
      - ./config:/app/config
      - ./logs:/app/logs
    

配置文件

authToken获取地址 https://platform.openai.com/account/api-keys

./config/plugins.yaml

plugins:
  chatgpt:
    authToken: sk-nidemiyuezsbdzsbdzsbdzsbd
    proxyUrl: 
    redisaddr: redis:6379
    redispassword: 

使用docker-compose up -d启动容器,然后docker logs qchat查看日志并扫码登录

Releases

No releases published

Packages

No packages published