Git Product home page Git Product logo

seiko's Introduction

Seiko


Releases

一.简介

Seiko 是 Mirai 的又一个 Android 端实现。有关 Mirai,请参阅 Mirai 的 Github 仓库

它可以解决在 Android 上运行 mirai-core 程序的所有问题。通过 Seiko 可以简化在 Android 上使用 Mirai 的流程。

Seiko 还提供了一个伪代码引擎以供光速建立一个自动回复程序。

由于本人能力有限,不能兼容 mirai-console 插件。

所以这个东西还是等我更牛逼的时候再做吧x(有生之年)

二.目前支持

  • 登录 (支持多 BOT),支持滑块验证和验证码验证
  • 登录成功后,可以导出信息至电脑上,格式与 MCL 通用。
  • 登录失败时,会直接删掉设备信息。最大程度避免235风控问题
  • 插件系统 (确切的说是加载器)
  • 一套较为完善的伪代码引擎 (当然bug还是很多)

三.编写插件

  1. 新建 Android 工程

  2. 引入 PluginAPI 模块

  3. 任取一包,在其中新建类 B,实现 SeikoPlugin 接口

  4. onBotGoLine(long qq) 中实现你的代码,使用 Bot.findInstance(long qq) 获取新登录的 Bot。

    对bot的操作请参阅mirai文档

  5. resources\META-INF\services下新建文件com.kagg886.seiko.plugin.api.SeikoPlugin

    B全限定类名粘贴于此,保存

  6. 打包成 apk 文件,挪入 /sdcard/Android/data/com.kagg886.seiko/files/plugin

  7. 启动 Seiko,前往插件列表查看是否有你所安装的插件

  1. 不推荐使用 GlobalEventChannel。
  2. 在onBotGoline(long qq)中调用Bot.close()可能会有难以置信的bug,请勿尝试

四.插件示例

前往 PluginDemo 工程查看

五.伪代码

伪代码引擎已迁移到 mirai-console 并成功运行。可以前往 ConsolePlugin 工程查看

查看伪代码支持的格式和教程

六.我的联系方式

点击链接加入群聊【次元空间】

seiko's People

Contributors

kagg886 avatar mrxiaom avatar hamusuta0320 avatar erzbir 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.