Skip to main content

Nonebot-plugin-og

✨ 检测链接并生成预览图 ✨

license pypi python

📖 介绍

检测链接并生成预览图,基于 Open Graph 协议

💿 安装

使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-og
使用 pip 安装 在 nonebot2 项目的插件目录下, 打开命令行, 输入以下指令即可安装
pip install nonebot-plugin-og
使用 Poetry 安装 在 nonebot2 项目的插件目录下, 打开命令行, 输入以下指令即可安装
poetry add nonebot-plugin-og

打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入

plugins = ["nonebot_plugin_og"]

🎉 使用

直接发送任意链接,只要是支持 Open Graph 协议的网站,此插件都会自动发送预览图。

🙏 鸣谢

📄 开源许可证

使用 MIT 许可证发布。

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Metadata

Release files for nonebot-plugin-og 0.3.0

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-og 0.3.0
File Size Uploaded
nonebot_plugin_og-0.3.0.tar.gz 3.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nonebot-plugin-og 0.3.0
File Interpreter ABI Platform
nonebot_plugin_og-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.6 kB

Release files / nonebot_plugin_og-0.3.0.tar.gz

Download URL nonebot_plugin_og-0.3.0.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
158ef825c0d36969e2d25bd042859e02a1f57f3bfc93cab8e3decc3ce846cd82
BLAKE2b-256 checksum
How to use checksums
e072de203c4d89ff5fb6b1ca36faeddea9c7605a6f6037b30633950ca2f8643f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / nonebot_plugin_og-0.3.0-py3-none-any.whl

Download URL nonebot_plugin_og-0.3.0-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
08e4ec31152416f11fd473cbb1ad3b7b9fa7df3ccb94ab59d9ab75ae7b2a8801
BLAKE2b-256 checksum
How to use checksums
eda5cb981fec1508b89e2a96c38966a0449635a3322f70f923753326b56efa43
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

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