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

📖 介绍

配合 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.1.tar.gz (9.4 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.1-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_quark_autosave-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e5d3b40a235c5eeec3d06599db0dae5316546c48f73e77b6bcedf163cf447495
MD5 04a5bafb2cb9c499e3d4725fecf7fa0d
BLAKE2b-256 c8e3470e009d7a050329bcea51e27f6b05d82ec08801158347ab10dd15cde43f

See more details on using hashes here.

Provenance

The following attestation bundles were made for nonebot_plugin_quark_autosave-0.1.1.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.1-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_quark_autosave-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f8997ad51d8b84eea495f6e2f0b24ef6583aaeccb9be40f6934e8ec35bdcee0b
MD5 e7eb4b1ec3b1f6ad182c93e92d36fad3
BLAKE2b-256 ff2f56f371a451ec5a5788134954880e4ac9f29e732bbd6f44fabebbf8c9c5c6

See more details on using hashes here.

Provenance

The following attestation bundles were made for nonebot_plugin_quark_autosave-0.1.1-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