Skip to main content

nonebot-plugin-hikarisearch

适用于 Nonebot2 的搜图插件

使用 HikariSearch 搜索

支持 SauceNAO、IqDB、ascii2d、E-Hentai、TraceMoe

安装

  • 使用 nb-cli
nb plugin install nonebot_plugin_hikarisearch
  • 使用 pip
pip install nonebot_plugin_hikarisearch

本插件使用了 go-cqhttp 的 send_group_forward_msg 和 send_private_forward_msg 接口 来发送合并转发消息,

发送私聊合并转发消息需要使用 v1.0.0-rc2 版本以上的 go-cqhttp

使用

以下命令需要加命令前缀 (默认为/),可自行设置为空

搜图/saucenao搜图/iqdb搜图/ascii2d搜图/ehentai搜图/tracemoe搜图 + 图片

默认为 saucenao搜图

或回复包含图片的消息,回复“搜图”

配置

可在 .env.xxx 文件中添加如下配置:

hikarisearch_api=xxx  # HikariSearch 站点,默认为 "https://hikari.obfs.dev"
hikarisearch_max_results=xxx  # 最多返回的结果数量,默认为 3
hikarisearch_withdraw=xxx  # 自动撤回时间,默认为 0 (不撤回),单位为秒

Metadata

Release files for nonebot-plugin-hikarisearch 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nonebot-plugin-hikarisearch 0.1.7
File Size Uploaded
nonebot_plugin_hikarisearch-0.1.7.tar.gz 5.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nonebot-plugin-hikarisearch 0.1.7
File Interpreter ABI Platform
nonebot_plugin_hikarisearch-0.1.7-py3-none-any.whl Python 3 none any Details

Total release size: 12.0 kB

Release files / nonebot_plugin_hikarisearch-0.1.7.tar.gz

Download URL nonebot_plugin_hikarisearch-0.1.7.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
abcae504c19d30952236ff963bc7dbd35bd777dd560be03299856bf552da7c40
BLAKE2b-256 checksum
How to use checksums
caaebe7862e5b17482ceadd75b195d53f65f888d37f7d7eaecf257a464bf195b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.10.4 Linux/5.4.72-microsoft-standard-WSL2

Release files / nonebot_plugin_hikarisearch-0.1.7-py3-none-any.whl

Download URL nonebot_plugin_hikarisearch-0.1.7-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7242bcf71dac3a8341fa2bc409c884291140b0ade74d65d9ab842cc43c0a3af7
BLAKE2b-256 checksum
How to use checksums
63ece0c73e82b29c4c0cb600e8dbeb8c859fc070aeb6d69ec538838ef7efb759
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.10.4 Linux/5.4.72-microsoft-standard-WSL2

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page