Metadata-Version: 2.1
Name: nonebot-plugin-imgexploration
Version: 0.1.1
Summary: Google、Yandx和基于PicImageSearch的saucenao、ascii2d搜图
Home-page: https://github.com/cpuopt/nonebot_plugin_imgexploration
Author: cpufan
Author-email: 554950835@qq.com
Keywords: ssh linux
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: httpx (>=0.23.1)
Requires-Dist: loguru (>=0.6.0)
Requires-Dist: lxml (>=4.9.2)
Requires-Dist: nest-asyncio (>=1.5.6)
Requires-Dist: nonebot2 (>=2.0.0rc2)
Requires-Dist: Pillow (>=9.3.0)
Requires-Dist: PicImageSearch

# nonebot_plugin_imgexploration 
Google、Yandx和基于PicImageSearch的saucenao、ascii2d搜图  
需要能稳定访问Google等网站的代理  
## 一.安装
### 1.下载
将`nonebot_plugin_imgexploration`文件夹放置于 `bot根目录/plugins/` 下  
然后在bot.py中添加
```
nonebot.load_plugins('./plugins/')
```
或其他任意加载方式
### 2.依赖
```
pip install -r requirements.txt
```
需要go-cqhttp 频道支持适配补丁`nonebot-plugin-guild-patch`  
https://github.com/mnixry/nonebot-plugin-guild-patch  

需要字体  
```
HarmonyOS_Sans_SC_Regular.ttf  
HarmonyOS_Sans_SC_Bold.ttf  
HarmonyOS_Sans_SC_Light.ttf
```
https://developer.harmonyos.com/cn/docs/design/des-guides/font-0000001157868583
## 二.配置  
### 1.env中的配置
```
group_on=[123456,321654]  #开启搜图功能的群号
guild_on=[123456789,987654321]  #开启搜图功能的频道号
sub_channel_on=[1234568,6543216]  #开启搜图功能的子频道号
blacklist=[11111111,2222222,333333]  #黑名单用户qq号
proxy_port=7890  #代理端口号
saucenao_apikey=xxxxx  #saucenao apikey
```  
### 2.charge.json  
在bot根目录新建charge.json文件并填入以下内容  
```
  {
    "群号1": 功能可用次数, 
    "子频道号": 100,
    "例如22222": 899, 
  }
```
