GithubHelp home page GithubHelp logo

donglingjug / lua-mirai Goto Github PK

View Code? Open in Web Editor NEW

This project forked from only52607/lua-mirai

0.0 1.0 0.0 1.98 MB

基于mirai-core接口实现的机器人框架,通过luaj支持库实现对lua语言的支持。

License: GNU Affero General Public License v3.0

Kotlin 99.93% Python 0.07%

lua-mirai's Introduction

lua-mirai

这是一个qq机器人lua语言框架,你可以使用lua语言快速开发qq机器人。

开始使用

安卓端

请参阅 MiraiAndroid

MiraiAndroid lua脚本开发指南

PC端(JVM)

请参阅 lua-mirai jvm

作为依赖引入第三方项目

Gradle

添加jcenter仓库

buildscript{
    //...
    repositories {
        //...
        jcenter() 
    }
}

添加mirai以及lua-mirai依赖

dependencies {
    implementation "net.mamoe:mirai-core-qqandroid:$MIRAI_VERSION" //Mirai Core
    implementation "com.ooooonly:luaMirai:$LUAMIRAI_VERSION" //lua-mirai
}

开发lua-mirai脚本

lua语言基础

请参阅 30分钟快速入门lua语言

lua-mirai开发指南

请参阅 lua-mirai api

MiraiAndroid lua api

第三方库

  • mirai: 即 mirai-core, 多平台 QQ Android 和 TIM PC 协议支持库与高效率的机器人框架.
  • luaj: 一个 Java 的轻量级、高性能 Lua 解释器,基于 Lua 5.2.x 版本.
  • okhttp3

许可证

基于原项目mirai使用GNU AGPLv3作为开发许可证,该项目同样使用了GNU AGPLv3 作为开源许可证, 因此,在使用时务必遵守相应的规则.

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.