1
0
mirror of https://github.com/mamoe/mirai.git synced 2024-10-23 05:33:55 +08:00
高效率 QQ 机器人支持库
Go to file
YuSaki丶Kanade 283f8840d4
修复QQNT图片下载链接错误 (#2860)
* 修复QQNT图片下载链接错误

* 修复字段名错误

* 直接用HTTP也没问题
2024-09-23 12:25:50 +01:00
.github 在 CI 构建时上传 Maven 本地仓库作为构建产物 (#2725) 2023-08-12 14:08:24 +08:00
.idea Update copyright in README and code template to 2023 2023-02-20 11:04:07 +00:00
.run Remove native (#2700) 2023-06-16 13:40:46 +01:00
buildSrc Set version to 2.17.0 2023-10-10 10:32:24 +01:00
ci-release-helper [build] Use "kotlinx-datetime-jvm" for ci-release-helper to overcome missing dependency issue 2023-04-22 12:57:31 +01:00
docs docs: Add new SDK for C++ based on mirai-api-http (#2806) 2023-09-29 11:11:54 +08:00
gradle/wrapper [build] Use Gradle distribution gradle-8.0-bin.zip 2023-08-12 14:42:38 +08:00
logging [core/logging] Bind slf4j to 2.x; Bump log4j to 2.19.0 2022-12-17 20:33:33 +00:00
mirai-bom [publish] Delete GpgSigner 2022-11-29 15:27:37 +08:00
mirai-console [console] fix: 修复跨年时日志文件名日期错乱问题 (#2830) 2024-01-25 21:07:01 +00:00
mirai-core 修复QQNT图片下载链接错误 (#2860) 2024-09-23 12:25:50 +01:00
mirai-core-all [build] Rewrite shadow relocation; fix dependency graph issues with Android, and improve build performance: 2023-05-02 16:17:48 +01:00
mirai-core-api fix: nudge doc and add to mock (#2790) 2024-02-22 07:56:09 +00:00
mirai-core-mock fix: nudge doc and add to mock (#2790) 2024-02-22 07:56:09 +00:00
mirai-core-utils [core] Fix: 缓存可能因为计算机硬碟或程式不稳定造成损毁。 (#2841) 2024-03-03 00:01:12 +00:00
mirai-deps-test Remove native (#2700) 2023-06-16 13:40:46 +01:00
mirai-dokka Remove module-level opt-ins, add @OptIn explicit in use-sites; 2023-05-06 11:04:31 +01:00
.editorconfig [build] Fix .editorconfig for new IJ 2023-04-15 14:58:57 +01:00
.gitattributes Update .gitattributes 2021-10-17 18:14:32 +08:00
.gitignore Add RecordingNoticeProcessor 2021-09-01 13:55:39 +08:00
build.gradle.kts [build] Do not apply Android-relevant plugins if Android target is not enabled 2023-05-02 16:17:48 +01:00
CONTRIBUTING.md [skip ci] Create CONTRIBUTING.md 2022-09-13 23:36:10 +08:00
gradle.properties Remove native (#2700) 2023-06-16 13:40:46 +01:00
gradlew [build] Fully support Android target; Update to Gradle 8.0 2023-05-02 16:17:48 +01:00
gradlew.bat [build] Fully support Android target; Update to Gradle 8.0 2023-05-02 16:17:48 +01:00
install.sh Implement multiplatform modules 2022-07-20 00:30:16 +08:00
LICENSE Original AGPLv3 2020-08-20 23:50:56 +08:00
README-eng.md Migrate references in docs 2021-12-06 14:58:45 +00:00
README.md [doc] add ShortVideo to message protocol list 2023-08-25 17:38:58 +08:00
settings.gradle.kts Remove native (#2700) 2023-06-16 13:40:46 +01:00

logo
title

Gitter MiraiForum

mirai 是一个在全平台下运行,提供 QQ Android 协议支持的高效率机器人库

这个项目的名字来源于

京都动画作品《境界的彼方》栗山未来(Kuriyama mirai)

CRYPTON初音未来为代表的创作与活动(Magical mirai)

图标以及形象由画师DazeCake绘制

mirai

English

声明

一切开发旨在学习,请勿用于非法用途

  • mirai 是完全免费且开放源代码的软件,仅供学习和娱乐用途使用
  • mirai 不会通过任何方式强制收取费用,或对使用者提出物质条件
  • mirai 由整个开源社区维护,并不是属于某个个体的作品,所有贡献者都享有其作品的著作权。

许可证

Copyright (C) 2019-2023 Mamoe Technologies and contributors.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

mirai 采用 AGPLv3 协议开源。为了整个社区的良性发展,我们强烈建议您做到以下几点:

  • 间接接触(包括但不限于使用 Http API 或 跨进程技术)到 mirai 的软件使用 AGPLv3 开源
  • 不鼓励,不支持一切商业使用

鉴于项目的特殊性,开发团队可能在任何时间停止更新删除项目

衍生软件需声明引用

  • 若引用 mirai 发布的软件包而不修改 mirai,则衍生项目需在描述或应用内的任意部位提及使用 mirai。
  • 若修改 mirai 源代码再发布,或参考 mirai 内部实现发布另一个项目,则衍生项目必须在文章首部或 'mirai' 相关内容首次出现的位置明确声明来源于本仓库 (https://github.com/mamoe/mirai)。不得扭曲或隐藏免费且开源的事实。

协议支持

支持的协议列表

消息相关

  • 文字
  • 原生表情
  • 商城表情
  • 戳一戳
  • 图片 (自定义表情)
  • XML,JSON 等富文本消息
  • 长消息(5000 字符 + 50 图片)
  • 引用回复
  • 合并转发
  • 撤回
  • 提及群员
  • 提及全体成员
  • 语音
  • 闪照
  • 撤回群员消息
  • 自定义消息
  • 音乐分享
  • 短视频

群相关

  • 群列表
  • 成员列表
  • 群员权限
  • 禁言
  • 全体禁言
  • 群公告管理
  • 群设置(自动审批、入群公告、成员邀请、匿名聊天)
  • 处理入群申请
  • 移除群员
  • 群文件

好友相关

  • 好友列表
  • 处理新好友申请
  • 删除好友

其他客户端

  • 同步其他客户端的消息
  • 向其他客户端发送消息

不会支持的协议

  • 金钱相关,如点赞、收付款
  • 敏感操作,如主动添加好友、主动加入群、主动邀请好友加群
  • 安全相关,获取账号登录凭证(token,cookie等)

一切开发旨在学习,请勿用于非法用途

快速使用

  • 用户手册: UserManual

    如果你希望快速部署一个 Mirai QQ 机器人,安装插件、并投入使用,请看这里

  • 论坛: Mirai Forum

    Mirai 只有唯一一个官方论坛 Mirai Forum

  • 在线讨论: Gitter

开发相关

赞助

  • 本着与更多 mirai 开发者、用户、支持者共建更好的学习环境为目的,mirai 自 2021 年 3 月 1 日发起官方社区的建设。社区建设可能涉及:学习论坛插件中心(在建)等。由于社区的运维需要经费,mirai 项目开启 sponsor 功能。
  • 请注意,赞助是全自愿的。赞助者不会获得特权,不赞助也可以使用全部的功能。为资金管理方便,赞助后不设退款、折现等选项。最终解释权归社区运营团队所有。
  • 全部赞助金额、流向、票据单号等将透明化公示,欢迎任何人随时查看及提出建议。

鸣谢

IntelliJ IDEA 是一个在各个方面都最大程度地提高开发人员的生产力的 IDE,适用于 JVM 平台语言。

特别感谢 JetBrains 为开源项目提供免费的 IntelliJ IDEA 等 IDE 的授权