GithubHelp home page GithubHelp logo

guojia99 / zbot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cuberbot/zbot

0.0 0.0 0.0 217 KB

魔方机器人,查询魔方成绩/排名、生成打乱公式等功能。QQ群号374735267。

License: GNU Affero General Public License v3.0

Kotlin 100.00%

zbot's Introduction

Zbot

本项目基于ProtobufBot开发,使用AGPLv3开源,所有基于本项目(间接或直接)或参考了本项目实现的软件应使用AGPLv3开源。推荐配合 Go-Mirai-Client 使用

功能

  • 授权 Auth
  • 黑名单 Black
  • 个人永久屏蔽 PBlack
  • 复读 Repeat
  • web 登陆注册 Security
  • 开关 Switch
  • 入群欢迎 Welcome
  • 生成魔方打乱 Scramble
  • 生成魔方多打乱 Tnos
  • 生成魔方中文打乱 Scramble
  • WCA 成绩查询 Wca
  • WCA 排名查询 Rank
  • 粗饼链接 Link
  • 粗饼年度总结 Summary
  • 粗饼赛事查询 Comp
  • 粗饼赛事选手查询 Cuber
  • 生成魔方图片 Cubepic
  • WCA成绩趋势图 Trend
  • 学习 Learn
  • 快递 Express
  • WCA群纪录 GroupRecord
  • WCA群排名 GroupRank
  • 群管 Admin

使用方式

  1. 下载 Go-Mirai-Client / Spring-Mirai-Client 到服务器,并运行 chmod +x Go-Mirai-Client && ./Go-Mirai-Client / java jar spring-mirai-client-版本.jar ,浏览器打开http://服务器地址:9000,输入管理账号密码(默认admin/123456),登陆机器人并处理验证码
  2. 打包 zbot 主程序,执行gradle build(需要JDK 1.8、Gradle、IDEA等环境)
  3. 复制打包产物build/libs/zbot-版本号.jar到服务器
  4. 创建application-prod.yml,配置 MySQL Redis service 等信息
  5. 运行java -jar zbot-版本号.jar

衍生软件需声明引用

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

注意

  • 默认的 service 有 QPS<=5 限制,如果需要增加QPS,需要自己部署相关服务(TNOODLE、WCADS等),建议使用多台服务器分开进行部署
    • WCADS 需要4G内存,可能存在内存泄露
    • TNOODLE 需要500M内存
    • 其他服务加起来2G内存

其他

zbot's People

Contributors

lz1998 avatar 2mf8 avatar yhzhu99 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.