Giter VIP home page Giter VIP logo

mirai-console-wrapper's Introduction

(deprecated)

此项目已停止维护,请使用 https://github.com/LXY1226/MiraiOK

mirai-console-wrapper

mirai-console 启动器.

下载(download)
请下载最新的 mirai-console-wrapper-x.x.x.jar

命令行参数

--native / -n                    以图形界面模式启动
                                 
--update [KEEP|STABLE|EA]        版本升级策略. "KEEP" 为停留在当前版本; "STABLE" (默认)
                                 为更新到最新稳定版; "EA" 为更新到最新预览版.
                                 
--console [Graphical|Terminal|Pure]
                                 UI 类型. "GRAPHICAL" 为 JavaFX 图形界面;
                                 "TERMINAL" 为 Unix 终端界面; "PURE" (默认) 为纯命令行.
                                 
--proxy [URL]                    HTTP 代理地址. 不提供时自动从 127.0.0.1:1080 和 127.0.0.1:1088 检测 SS 代理.

--source [URL]                   版本更新源. 需要支持 miria-core-qqandroid 和 mirai-console 后端和前端等相关 jar 包的下载. 
                                 URL 中 {module} 将会被替换为模块名, 如 mirai-core, mirai-console-pure, mirai-console;
                                 {version} 将会被替换为版本号, 如 1.0-RC2.
                                 
                                 
-h, --help                       显示这个帮助

这些参数都可以通过环境变量 mirai.wrapper.* 设置. 如 mirai.wrapper.proxy, mirai.wrapper.update

使用Docker

docker build . -t mirai
# 构建镜像

docker run -it --rm \
    -v $PWD/data:/app/data
    -p 8080:8080 # 如果你需要使用mirai-api-http,请开启端口
    mirai
# 启动mirai-console-wrapper

# 如果你需要使用插件,将你所需要使用的插件放在 data/plugins/ 下, e.g
cd $PWD/data/plugins
curl -LO \
    https://github.com/ryoii/mirai-console-addition/releases/download/v0.2.3/mirai-console-addition-V0.2.3.jar

mirai-console-wrapper's People

Contributors

him188 avatar kenvix avatar yadominjinta avatar

Watchers

 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.