Giter Site home page Giter Site logo

cabbageweb's Introduction

白菜。

osu!游戏数据查询机器人。

提供:

查询本人游戏数据、与凌晨时对比游戏数据,

查询最佳成绩、当日更新最佳成绩,

最近游戏记录,谱面搜索,指定谱面成绩等功能。

特性

一个普通的使用三大框架的Java Web项目。

从osu!api和官网获取数据,并绘制图片以QQ消息的形式发送。

与osu! /酷Q /osusearch.com提供的JSON API进行对接

使用一些简单的正则表达式处理用户输入、网页内容等;

实现了一个循环队列,存储最近的群消息,用于复现其他人撤回的消息;

当日凌晨的数据(每次使用stat命令都要查询的热点数据)使用Redis存储,减轻数据库压力;

对外提供RESTful接口,供其他Bot开发者使用,免去用户重复在多个Bot出设置自己的osu!游戏id;

使用Spring框架相关功能,实现权限控制、性能统计、异常通知、定时任务、邮件发送(已废弃) 等。

鸣谢(不分先后)

提供了消息队列实现思路,名片/BP/#1等大量图片元素的设计,提出了一批奠定基础的功能需求。

开发初期的赞助,发布前夕帮我指出设计思路中的致命错误。

  • osu!mp乐园5号群(群号:201872650)的各位群友以及管理层

测试、帮忙发掘bug,提出玩家管理需求。

广告:mp5群欢迎4500PP以下的osu!玩家加入,建议下限为2500PP(不严格)!

尽管作者不喜欢Java,但是依然用Java实现了oppai的全部功能,免去在Java中调用外部命令的繁琐。

作者提供了完善的文档、稳定的更新,实现了酷Q和其他语言的打通,可以说是白菜依赖的核心。

白菜在制作之初没有考虑到后续的规模,因此直接使用了本人自用的皮肤。后来经人提醒才发现此皮肤修改自Sakura Miku,现本人已经得到作者的正式授权。

另:自用魔改版皮肤

cabbageweb's People

Contributors

b11p avatar mother-ship avatar thisdecember avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cabbageweb's Issues

官方提供搜索beatmap的api了

https://osu.ppy.sh/beatmapsets/search

参数(不全,没仔细看):

q:关键词,留空的话返回的是最新的图

m:模式,留空为 Any,其他值为:

  • 0:STD
  • 1:Taiko
  • 2:CTB
  • 3:Mania

s:状态,留空为 Ranked & Approved,其他值为:

  • 1:Approved
  • 2:Favorite
  • 3:Qualified
  • 4:Pending
  • 5:Graveyard
  • 6:My Maps
  • 7:Any
  • 8:Loved

其他参数估计也用不着(

edit: 需要cookie。。。osu_session

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.