Coder Social home page Coder Social logo

send-97 / miraicq Goto Github PK

View Code? Open in Web Editor NEW

This project forked from super1207/miraicq

0.0 0.0 0.0 3.77 MB

用C/C++,易语言写QQ机器人,兼容酷Q插件,支持Linux(通过Wine)

License: GNU Affero General Public License v3.0

C++ 67.66% C 30.46% Objective-C 0.10% CMake 0.07% Objective-C++ 1.47% Makefile 0.19% Shell 0.05%

miraicq's Introduction

MiraiCQ-Cli

软件说明:
  1. 本软件的编写初衷为兼容酷Q插件,除此之外,还会提供一些额外的功能(见rand_pic)。
  2. 多个插件共用一套消息系统,在收发图片文件时,可以显著节省网络开销。
  3. 为网络处理较麻烦的编程语言提供便利的方式来开发聊天插件。
  4. 对接OneBot v11Mirai Http Api(请不要使用,没写完,并且打算咕着),软件长期可用。

命令行版本的MiraiCQ相比于之前的MFC GUI版本:

  1. 更加稳定,高效,占用资源更少。
  2. 更合理的图片收发机制。
  3. 支持插件函数优先级,事件拦截。
  4. 此版本为今后长期优化,维护的版本(请不要再使用之前的版本!这个cli版本已经有界面了啦)。

使用方法:

  1. 将原酷Q插件的dll和json放入app文件夹。
  2. 开启OneBot实现端的websocket正向连接。(详细说明请参照此项目:https://github.com/Mrs4s/go-cqhttp )。
  3. 修改config\congig.ini文件中的ws_urlaccess_tokenadapter项。 示例config.ini:https://github.com/super1207/MiraiCQ/blob/MiraiCQ-Cli/config.ini
  4. 运行MiraiCQ.exe

运行环境:

Windows 7 with sp1Windows Server 2016或更高版本的Windows系统。

wine: 见 https://github.com/super1207/MiraiCQ/blob/MiraiCQ-Cli/doc/MiraiCQ_In_Wine.txt

编译方法:

  1. 安装VS2019,安装时勾选使用C++的桌面开发
  2. clone本项目,使用VS2019打开MiraiCQ.sln,直接编译。

开源说明:

本软件(不包括插件,插件是否免费取决于插件作者)永久免费使用,您可以通过任何合法方式使用本软件。

本软件使用GNU Affero General Public License v3.0开源,若要用于其它用途,请仔细阅读开源协议。

开源地址:https://github.com/super1207/MiraiCQ

交流与问题反馈:

  1. https://github.com/super1207/MiraiCQ/issues
  2. QQ群:920220179

常见问题解答:

  1. 插件的json文件需要使用ANSI编码。
  2. 某些原酷Q插件会依赖一些酷Q的dll,可以自行将其放入指定目录,一般是bin目录(自行创建)或者MiraiCQ.exe目录(不清楚可以两个目录都放)。
  3. 原酷Q中的dll下载:https://super1207.lanzoui.com/iVNkJttuf2f
  4. MiraiCQ不会支持获取txqq的cookie,csrf token,也不会支持点赞,钱包相关内容。
  5. MiraiCQ"暂时"不支持语音收发

miraicq's People

Contributors

alpha-girl avatar kanrichan avatar lunzhipenxil avatar super1207 avatar swyuuki avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.