@rishabhdugar

File Upload & Share

Upload files and get shareable download URLs. Upload any file type to cloud storage, list uploaded files, delete with ownership verification, and 30-day auto-cleanup. Powered by PDFAPIHub.

当前版本
v1.0.0
code-plugin社区source-linked

File Upload & Share — OpenClaw Plugin

Upload files and get shareable download URLs using the PDFAPIHub API. This OpenClaw plugin gives your AI agent the ability to upload any file type, list uploads, and manage stored files.

What It Does

Upload any file to cloud storage and get a public download URL — perfect for sharing files, creating temporary links, and managing uploads in automated workflows.

Features

  • Any File Type — Upload PDFs, images, documents, spreadsheets, and more
  • Shareable URLs — Get a public download URL for any uploaded file
  • Custom Filenames — Set custom names for uploaded files (max 120 chars)
  • File Listing — List all uploads with timestamps, ordered newest first
  • Ownership Verification — Only you can delete your own files
  • 30-Day Auto-Cleanup — Files automatically deleted after 30 days
  • Pagination — List up to 500 files at once
  • PDF Metadata — Check page count, size, and encryption of PDF uploads
  • Tier-Based Limits — File size limits based on your plan (20 MB free tier)

Tools

ToolDescription
upload_fileUpload a file and get a public download URL
list_uploaded_filesList all files you've uploaded
delete_uploaded_fileDelete an uploaded file by URL
check_pdf_infoCheck PDF metadata (page count, size, encryption)

Installation

openclaw plugins install clawhub:file-upload-url

Configuration

Add your API key in ~/.openclaw/openclaw.json:

{
  "plugins": {
    "entries": {
      "file-upload-url": {
        "enabled": true,
        "env": {
          "PDFAPIHUB_API_KEY": "your-api-key-here"
        }
      }
    }
  }
}

Get your free API key at https://pdfapihub.com.

Usage Examples

Just ask your OpenClaw agent:

  • "Upload this file and give me a shareable link"
  • "Show me all my uploaded files"
  • "Delete this file from storage"
  • "How big is this PDF?"

Use Cases

  • File Sharing — Upload files and share download URLs
  • Temporary Hosting — Host files for 30 days without a server
  • Pipeline Input — Upload source files for multi-step workflows (upload → merge → watermark)
  • Client Deliverables — Upload generated files for client download
  • Privacy Compliance — Delete files immediately after use for GDPR compliance
  • Storage Cleanup — List and delete files you no longer need
  • Workflow Automation — Upload, process, and clean up in automated pipelines

API Documentation

Full API docs: https://pdfapihub.com/docs

License

MIT

源码与版本

源码仓库

PdfApiHub/openclaw-file-upload

打开仓库

源码提交

6f356a280fc4e0ec88da4c66b8d332deb09c4750

查看提交

安装命令

openclaw plugins install clawhub:file-upload-url

元数据

  • 包名: file-upload-url
  • 创建时间: 2026/04/17
  • 更新时间: 2026/04/17
  • 执行代码:
  • 源码标签: main

兼容性

  • 构建于 OpenClaw: 2026.3.24-beta.2
  • 插件 API 范围: >=2026.3.24-beta.2
  • 标签: latest
  • 文件数: 7