Skip to main content
## nonebot-plugin-nekoimage
对接[NekoImageGallery](https://github.com/hv0905/NekoImageGallery)(一个AI驱动的自然语言和反向图像搜索引擎,由CLIP和qdrant提供支持)的nonebot插件

### 安装
1. **手动构建最新版本的**[nonebot-plugin-send-anything-anywhere](https://github.com/MountainDash/nonebot-plugin-send-anything-anywhere)(以下简称saa)并安装

> 截止2024.1.15,saa的最新版本号仍为2023年11月18日的[0.4.0](https://pypi.org/project/nonebot-plugin-send-anything-anywhere/0.4.0/),这个版本并未对qq适配器进行较好的适配,因此需要手动构建最新版本的saa并安装,安装命令如下:

```bash
git clone https://github.com/MountainDash/nonebot-plugin-send-anything-anywhere
cd nonebot-plugin-send-anything-anywhere
poetry install
```

2. 安装本插件
- 使用 nb-cli 安装
`nb plugin install nonebot-plugin-nekoimage`
- 使用 poetry 安装
`poetry add nonebot-plugin-nekoimage`
- 使用 pip 安装
`pip install nonebot-plugin-nekoimage`

### 配置文件
```env
NEKOIMAGE_API=http://127.0.0.1:8000 # 参见 [NekoImageGallery](https://github.com/hv0905/NekoImageGallery)
NEKOIMAGE_SECRET=your-super-secret-access-token # 参见 [NekoImageGallery](https://github.com/hv0905/NekoImageGallery)
NEKOIMAGE_AT_MSG=true # 是否**仅处理at机器人**的消息
NEKOIMAGE_BETTER_URL=true # 将url格式的信息处理后发送,特别适用于adapter-qq
NEKOIMAGE_HTTPX_TIMEOUT=30 # 插件向NekoImageGallery后端发送请求的等待超时时间
```

### 支持的适配器
本插件使用 [nonebot-saa](https://github.com/MountainDash/nonebot-plugin-send-anything-anywhere) 同时适配以下适配器使用:
- [adapter-onebot [v11,测试于OpenShamrock的实现] ](https://whitechi73.github.io/OpenShamrock/api)
- [adapter-qq](https://github.com/nonebot/adapter-qq)

### 特别感谢
- [KirbyScarlet/vanilla-bot](https://github.com/KirbyScarlet/vanilla-bot)

Metadata

Release files for nonebot-plugin-nekoimage 0.3.3

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-nekoimage 0.3.3
File Size Uploaded
nonebot_plugin_nekoimage-0.3.3.tar.gz 7.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nonebot-plugin-nekoimage 0.3.3
File Interpreter ABI Platform
nonebot_plugin_nekoimage-0.3.3-py3-none-any.whl Python 3 none any Details

Total release size: 17.6 kB

Release files / nonebot_plugin_nekoimage-0.3.3.tar.gz

Download URL nonebot_plugin_nekoimage-0.3.3.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
bb79879955b25ede2b3cbbeb4527b6fbbb096f7c641132d1a6861e34865c19ff
BLAKE2b-256 checksum
How to use checksums
cdd62e90b28d6254c239eb09ffb58dd9df4c3db270243b56715e1a187179f1a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.7

Release files / nonebot_plugin_nekoimage-0.3.3-py3-none-any.whl

Download URL nonebot_plugin_nekoimage-0.3.3-py3-none-any.whl
Size 9.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6dba63d093d4dd5cc0eb0da67dc8a453b850b59bcee1fc88d6d94481df85da61
BLAKE2b-256 checksum
How to use checksums
f98b23cd8e59eff1634ec4085ef5435012925f07999957c4c4f56f02e35a5d03
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.7

Release history Release notifications | RSS feed

This release

0.3.3 This release

2 release files

0.3.2

2 release files

0.3.1

2 release files

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