Skip to main content

检测GitHub仓库链接并自动发送卡片信息(适用于Onebot V11)

Project description

NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-githubcard

✨ 检测GitHub仓库链接并自动发送卡片信息(适用于Onebot V11)✨

license NoneBot python

📖 介绍

检测GitHub仓库链接并自动发送卡片信息

💿 安装

使用PIP安装
pip install nonebot-plugin-githubcard
克隆至本地安装
git clone https://github.com/ElainaFanBoy/nonebot_plugin_githubcard.git

⚙️ 配置

在 nonebot2 项目的.env文件中添加下表中的必填配置

配置项 必填 默认值 说明
github_token github_token = ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
github_type 0 github图片样式(0为socialify样式,1为opengraph样式)

🎉 使用

指令表

指令 权限 需要@ 说明
https://github.com/xxx/xxx 所有人 GitHub仓库链接

效果图

socialify样式:

opengraph样式:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot_plugin_githubcard-0.2.2.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

nonebot_plugin_githubcard-0.2.2-py3-none-any.whl (5.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page