filehost
bởi setdemos
Web & Frontend DevelopmentTó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ụ
User asks: upload analysis.csv and give me a shareable link
- 1
Verifies LMFILES_API_KEY is set
- 2
POSTs analysis.csv to https://lmfiles.com/api/v1/files/upload with X-API-Key header
- 3
Parses file_id and url from the JSON response
- 4
Returns the public download URL to the user
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/filehostChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.