Giter Club home page Giter Club logo

bangumitelegrambot's Introduction

Bangumi Telegram Bot

功能

  • Web 登录
  • OAuth授权
    • 授权登录
    • 授权有效期刷新
  • 查询个人收藏统计
  • 收视进度更新
  • 在看评分
  • 通过 Telegram Inline 功能进行条目搜索
  • 管理收藏
  • 每日放送查询
  • 图片搜索条目
  • 章节评论发送
  • 圣地巡礼数据查询 数据来自 Anitabi.cn
  • Bangumi.online 联动的番剧更新提醒

......

功能展示

功能 展示 功能 展示 功能 展示
登录授权 登录授权 Oauth 授权 Oauth 授权 收藏列表 收藏列表
条目展示 条目展示 章节展示 章节展示 每日放送 每日放送!
条目搜索 (Bot 内) 条目搜索-Bot内 条目搜索 (Bot 外) 条目搜索-Bot外 条目搜索(在有Bot群组) 条目搜索-在有Bot群组
角色搜索 虚拟人物搜索 巡礼地图 巡礼地图 图片搜索条目 图片搜索条目

更多搜索方法见下

inline 内联搜索使用方法

inline内联搜索方法

安装

  • 安装 Redis

    您可以参考 Redis 安装教程

  • 安装 Pipenv 可选|Optional

    您可以参考 Pipenv 安装教程

  • 修改文件后缀 data/config.example.yamldata/config.yaml

    根据文件内提示修改 config.yaml 配置文件

    如需使用 Web 绑定功能需配置反代 WEBSITE_BASE 必须为 HTTPS 可选|Optional

  • 安装依赖

    Warning 需要 Python >= 3.9

    pip3 install -r requirements.txt
    

    如使用 Pipenv 可选|Optional

    pipenv install --dev
    
  • 运行

    python3 main.py
    

    如使用 Pipenv 可选|Optional

    pipenv run python3 main.py
    
    • 如遇绑定链接无法访问请检查服务器防火墙
  • 通过 @BotFather 将 Inline 功能开启

    /mybots -> 选择 bot -> Bot Settings -> Inline Mode -> 按下 Turn on (画面显示 Inline mode is currently enabled for xxxx 就表示启用了)

  • 如使用 Pipenv 格式化代码 (可选|Optional)

    pipenv run black .
    

如使用 Docker Compose 运行

  • 安装 Docker Compose

    您可以参考 Docker Compose 安装教程

  • 修改文件后缀 config.example.yamlconfig.yaml

    根据文件内提示修改 config.yaml 配置文件,并放置到 /data/config.yaml

    REDIS_HOST 请设置为 redis

  • 使用 Docker Compose 运行

    cd docker && docker compose up -d

命令列表

start - 绑定Bangumi账号
help - 使用帮助
book - Bangumi用户在读书籍
anime - Bangumi用户在看动画
game - Bangumi用户在玩游戏
real - Bangumi用户在看剧集
week - 查询当日/空格加数字查询每日放送
search - 搜索条目
isearch - 图片搜索
close - 关闭此对话

bangumitelegrambot's People

Contributors

everpcpc avatar rin010 avatar rin996 avatar ukenn2112 avatar wjm 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.