Skip to main content

HarukaBot-Red

Project description

HarukaBot-Red

基于HarukaBot,适配Red协议

go-cqhttp停止维护, 且替代方案chronocat不支持onebot协议,故修改得到此版本,方便原hb用户迁移。

安装

pip install haruka_bot_red

运行

hb run

原hb用户如何迁移?

[!TIP] 如果你是新用户,或许并不需要以下内容

  1. 卸载原环境中的haruka_bot,或新建虚拟环境,并安装haruka_bot_red
  2. 在原.env.prod中添加行:
    DRIVER=~fastapi+~httpx+~websockets
    RED_AUTO_DETECT=True
    
  3. 运行
    hb run
    

相比原HarukaBot有何区别?

  1. 适配Red协议而非Onebot, 可与chronocat链接;
  2. 添加配置项HARUKA_BROWSER_UAHARUKA_BROWSER_COOKIE, 用户可自行配置, 大幅降低风控概率;
  3. 使用Restful Api爬取动态列表,相比gRPC接口更稳定,更新频率低;
  4. 删除自动同意好友申请功能;

README完善中,点个star为作者加速

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

haruka-bot-red-0.1.7.tar.gz (37.4 kB view hashes)

Uploaded Source

Built Distribution

haruka_bot_red-0.1.7-py3-none-any.whl (52.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page