Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions tools/tool_kodbox/1.0.0/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## 版本说明

### 1.0.0

- 支持上传文件到kodbox并生成分享链接
Binary file not shown.
32 changes: 32 additions & 0 deletions tools/tool_kodbox/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Kodbox 文件上传与分享

## 简介

本工具可连接 Kodbox 服务,将本地文件批量上传至指定目录并生成免登录分享链接。用户点击链接即可在线预览 Word、Excel、PPT、PDF 等文档,以及图片、视频等文件,无需下载或安装任何软件,方便快速分发和协作。

## 启动参数

| 参数 | 类型 | 必填 | 说明 |
|------|------|------|------|
| `url` | string | 是 | Kodbox 服务地址 |
| `user` | string | 是 | 登录用户名 |
| `password` | string | 是 | 登录密码 |

## 输入参数(使用工具时显示)

| 参数 | 类型 | 必填 | 默认值 | 说明 |
|------|------|------|--------|------|
| `path_list` | list | 是 | - | 本地文件路径列表,如 ['/tmp/a.txt', '/tmp/myfile/test.docx'] |
| `upload_path` | string | 否 | `{source:7}/` | kodbox远程目标目录,默认 {source:7}/ 为 /个人空间/我的文档 |

## 输出结果

返回 Markdown 格式的分享链接列表:

```
## 在线预览
- 文件名1 [https://xxx/#s/xxx](https://xxx/#s/xxx)
- 文件名2 [https://xxx/#s/xxx](https://xxx/#s/xxx)
```

上传失败的文件会显示对应错误信息。
5 changes: 5 additions & 0 deletions tools/tool_kodbox/data.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
name: Kodbox 文件上传与分享
tags:
- 内容处理
title: 上传文件到 Kodbox 并生成分享链接
description: 连接 Kodbox 网盘,批量上传文件并生成免登录分享链接,支持在线预览 Word、Excel、PPT、PDF、图片、视频等文件
Binary file added tools/tool_kodbox/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading