Skip to main content

配合 quark-auto-save(https://github.com/Cp0204/quark-auto-save) 使用, 支持添加,删除,列出,运行任务

Project description

logo

✨ nonebot-plugin-quark-autosave ✨

license pypi python ruff uv pre-commit codecov

📖 介绍

配合 quark-auto-save 使用, 快速添加 quark 自动转存任务

💿 安装

使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-quark-autosave --upgrade

使用 pypi 源安装

nb plugin install nonebot-plugin-quark-autosave --upgrade -i "https://pypi.org/simple"

使用清华源安装

nb plugin install nonebot-plugin-quark-autosave --upgrade -i "https://pypi.tuna.tsinghua.edu.cn/simple"
使用包管理器安装 在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
uv
uv add nonebot-plugin-quark-autosave

安装仓库 master 分支

uv add git+https://github.com/fllesser/nonebot-plugin-quark-autosave@master
pdm
pdm add nonebot-plugin-quark-autosave

安装仓库 master 分支

pdm add git+https://github.com/fllesser/nonebot-plugin-quark-autosave@master
poetry
poetry add nonebot-plugin-quark-autosave

安装仓库 master 分支

poetry add git+https://github.com/fllesser/nonebot-plugin-quark-autosave@master

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

plugins = ["nonebot_plugin_quark_autosave"]
使用 nbr 安装(使用 uv 管理依赖可用)

nbr 是一个基于 uv 的 nb-cli,可以方便地管理 nonebot2

nbr plugin install nonebot-plugin-quark-autosave

使用 pypi 源安装

nbr plugin install nonebot-plugin-quark-autosave -i "https://pypi.org/simple"

使用清华源安装

nbr plugin install nonebot-plugin-quark-autosave -i "https://pypi.tuna.tsinghua.edu.cn/simple"

⚙️ 配置

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

配置项 必填 默认值 说明
quark_autosave_endpoint "http://127.0.0.1:5005" quark-auto-save 的地址
quark_autosave_token 从 quark-auto-save webui 系统配置下拉 API 处获取
quark_auto_save_path_base "夸克自动转存" 自动转存文件夹的名称

🎉 使用

指令表

指令 权限 需要@ 范围 说明
qas 主人 私聊 添加自动转存任务
qas.run 主人 私聊 运行自动转存任务
qas.list 主人 私聊 查看自动转存任务列表
qas.del 主人 私聊 指定索引(从 qas.list 中获取)删除自动转存任务

🎨 效果图

如果有效果图的话

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_quark_autosave-0.1.4.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nonebot_plugin_quark_autosave-0.1.4-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_quark_autosave-0.1.4.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_quark_autosave-0.1.4.tar.gz
Algorithm Hash digest
SHA256 c0245a13f9e178517b0bf1d0e2b37d7d7a13cb2451f10847ceadde2946d2e02a
MD5 2f44e3ebd5684051a6235b39f55278e3
BLAKE2b-256 cbfc724680707025afe445aa6742376a8721289c4abbedd4495f44a161212eee

See more details on using hashes here.

Provenance

The following attestation bundles were made for nonebot_plugin_quark_autosave-0.1.4.tar.gz:

Publisher: release.yml on fllesser/nonebot-plugin-quark-autosave

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file nonebot_plugin_quark_autosave-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_quark_autosave-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0fb4457e988f10ad48da2f40c1be3f3b05aa4b87b89cf9af38810fc4433a8b8b
MD5 166a9672dfeee5bfff37f1aeabae2abd
BLAKE2b-256 cbd844a3e874c697cf880c0c0245e9060169a9926e1ba0d2b15dd11040b535b0

See more details on using hashes here.

Provenance

The following attestation bundles were made for nonebot_plugin_quark_autosave-0.1.4-py3-none-any.whl:

Publisher: release.yml on fllesser/nonebot-plugin-quark-autosave

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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