nonebot-plugin-shiro-web-console 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of nonebot-plugin-shiro-web-console might be problematic. Click here for more details.

@@ -0,0 +1,16 @@
1
+ __pycache__/
2
+ *.py[cod]
3
+ *$py.class
4
+ *.so
5
+ dist/
6
+ build/
7
+ *.egg-info/
8
+ .env
9
+ .venv
10
+ env/
11
+ venv/
12
+ data/
13
+ *.log
14
+ .vscode/
15
+ .idea/
16
+ .pdm-python
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 luojisama
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,59 @@
1
+ Metadata-Version: 2.4
2
+ Name: nonebot-plugin-shiro-web-console
3
+ Version: 0.1.0
4
+ Summary: 一个用于 NoneBot2 的网页控制台插件,支持通过浏览器查看日志和发送消息
5
+ Project-URL: Homepage, https://github.com/luojisama/nonebot-plugin-shiro-web-console
6
+ Project-URL: Bug Tracker, https://github.com/luojisama/nonebot-plugin-shiro-web-console/issues
7
+ Project-URL: Repository, https://github.com/luojisama/nonebot-plugin-shiro-web-console
8
+ Author-email: luojisama <2534316454@qq.com>
9
+ License: MIT
10
+ License-File: LICENSE
11
+ Keywords: console,nonebot,nonebot2,plugin,webconsole
12
+ Classifier: Development Status :: 4 - Beta
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: License :: OSI Approved :: MIT License
15
+ Classifier: Operating System :: OS Independent
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Programming Language :: Python :: 3.9
18
+ Classifier: Programming Language :: Python :: 3.10
19
+ Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Topic :: Communications :: Chat
22
+ Requires-Python: >=3.9
23
+ Requires-Dist: fastapi>=0.95.0
24
+ Requires-Dist: httpx>=0.23.0
25
+ Requires-Dist: jinja2>=3.1.0
26
+ Requires-Dist: nonebot-adapter-onebot>=2.4.0
27
+ Requires-Dist: nonebot2>=2.2.0
28
+ Requires-Dist: uvicorn>=0.20.0
29
+ Description-Content-Type: text/markdown
30
+
31
+ # nonebot-plugin-shiro-web-console
32
+
33
+ 一个用于 NoneBot2 的网页控制台插件,支持通过浏览器查看日志和发送消息。
34
+
35
+ ## 安装
36
+
37
+ ```bash
38
+ nb plugin install nonebot-plugin-shiro-web-console
39
+ ```
40
+
41
+ 或者使用 pip:
42
+
43
+ ```bash
44
+ pip install nonebot-plugin-shiro-web-console
45
+ ```
46
+
47
+ ## 使用
48
+
49
+ 1. 启动机器人后,在群聊或私聊中发送 `web控制台` 获取登录验证码。
50
+ 2. 访问机器人运行所在的 `http://ip:port/web_console`。
51
+ 3. 输入验证码即可登录。
52
+
53
+ ## 配置
54
+
55
+ 在 `.env` 文件中可以配置:
56
+
57
+ ```env
58
+ web_console_password=your_password # 设置固定登录密码
59
+ ```
@@ -0,0 +1,29 @@
1
+ # nonebot-plugin-shiro-web-console
2
+
3
+ 一个用于 NoneBot2 的网页控制台插件,支持通过浏览器查看日志和发送消息。
4
+
5
+ ## 安装
6
+
7
+ ```bash
8
+ nb plugin install nonebot-plugin-shiro-web-console
9
+ ```
10
+
11
+ 或者使用 pip:
12
+
13
+ ```bash
14
+ pip install nonebot-plugin-shiro-web-console
15
+ ```
16
+
17
+ ## 使用
18
+
19
+ 1. 启动机器人后,在群聊或私聊中发送 `web控制台` 获取登录验证码。
20
+ 2. 访问机器人运行所在的 `http://ip:port/web_console`。
21
+ 3. 输入验证码即可登录。
22
+
23
+ ## 配置
24
+
25
+ 在 `.env` 文件中可以配置:
26
+
27
+ ```env
28
+ web_console_password=your_password # 设置固定登录密码
29
+ ```