Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

filehost

bởi setdemos

Web & Frontend Development
328Lượt tải do clawskills.sh công bố
1Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Upload files to lmfiles.com and return public download links via API.

Mô tả

Kỹ năng này làm gì

lmfiles.com is a lightweight file hosting service with an HTTP API for uploading files and receiving public download links. It supports account registration, uploads up to 100 MB, metadata lookup, file listing, and deletion. Downloads are publicly accessible to anyone with the URL.

lmfiles.com offers a minimal, API-first interface without the IAM complexity or setup overhead of general-purpose cloud storage.

Khi nào nên dùng

  • Sharing generated reports or exports from automated scripts
  • Giving an LLM agent a public URL for a locally created file
  • Hosting build artifacts without setting up cloud storage
  • Passing large files between pipeline steps via URL
  • Quickly distributing logs or data dumps to teammates

Quy trình ví dụ

ĐẦU VÀO

User asks: upload analysis.csv and give me a shareable link

AGENT
  1. 1

    Verifies LMFILES_API_KEY is set

  2. 2

    POSTs analysis.csv to https://lmfiles.com/api/v1/files/upload with X-API-Key header

  3. 3

    Parses file_id and url from the JSON response

  4. 4

    Returns the public download URL to the user

ĐẦU RA

Public download link: https://lmfiles.com/f/<file_id>

Yêu cầu

  • LMFILES_BOOTSTRAP_TOKEN environment variable (required for one-time account registration)
  • LMFILES_API_KEY environment variable (obtained after registering an account)

Cài đặt

clawhub install setdemos/filehost

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết