Git Product home page Git Product logo

erobot's Introduction

Erobot

基于 mirai 框架实现的一个响应式 bot 框架.

功能

  1. Help 打印帮助信息.
  2. Echo 复读机.
  3. Danbooru ID 查询和标签搜索能力.

待办事项

  1. 全局级别的 (用户名密码代理) 配置, 准备用 SQLite, 目前直接写到代码里.
  2. 群级别的配置, 准备用 SQLite. 唯一键大约是 {应用 (QQ / TG 等), 聊天类型 (私聊 / 群聊等), 聊天 id}:
  • 需要支持 NSFW 级别配置;
  • 支持 danbooru 账号配置;
  • 禁用某整个功能.
  1. 还没完全解耦, 业务逻辑还需要理解 MessageChain. 理想状态是自己封装一个代理类.
  2. 抽出 HTTP 请求逻辑, 提供下载超时自动重试能力.
  3. Help 需要支持打印某个命令的详细帮助信息, 目前没有支持.
  4. Danbooru 功能中支持 tag 搜索缩写和映射, 提供默认 tag 支持 (打字太多对手机用户不友好).
  5. 图片处理:
  • 支持 Pixiv 的 ugoira 格式文件 (zipped jpegs);
  • 支持 GIF 处理;
  • 支持 MP4 处理;
  • 增加图片修改能力, 防腾讯屏蔽 (虽然目前看起来没有屏蔽);

erobot's People

Contributors

xr1s 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.