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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file haruka-bot-red-0.1.7.tar.gz.

File metadata

  • Download URL: haruka-bot-red-0.1.7.tar.gz
  • Upload date:
  • Size: 37.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: pdm/2.12.2 CPython/3.10.12

File hashes

Hashes for haruka-bot-red-0.1.7.tar.gz
Algorithm Hash digest
SHA256 ea251bc582ff0888ec6e2686dcc4844072e5454f663231a4bf80fe7cee1811a7
MD5 d4a0b1a17e68b59166f8e6f5b8d2e222
BLAKE2b-256 59ca7de19f98210c54a3905951b1681b45ac34a9ef3a4b9d5e3a1dbbe186ad69

See more details on using hashes here.

File details

Details for the file haruka_bot_red-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: haruka_bot_red-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 52.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: pdm/2.12.2 CPython/3.10.12

File hashes

Hashes for haruka_bot_red-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 96e9d4871994978f4ebc24dbb8ed8044141904e81aed8f51909ded94e3088f4b
MD5 62af2fd8d68b09392c551b327262bddd
BLAKE2b-256 ec4dd580f5792b1b36269be7f6bcb73ad77a91cec15e5759b730c1c9ab2ebea1

See more details on using hashes here.

Supported by

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