Перейти к содержимому
TakoAPI
Назад к навыкам

filehost

от setdemos

Web & Frontend Development
328Число загрузок по данным clawskills.sh
1Просмотры
0 лайковВойдите, чтобы поставить лайк навыку
—Ещё нет оценок
Ваша оценка

Кратко

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

Описание

Что делает этот навык

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.

Когда его использовать

  • 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

Пример сценария

ВВОД

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

АГЕНТ
  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

ВЫВОД

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

Требования

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

Установка

clawhub install setdemos/filehost

Выполните команду CLI или вставьте промпт в Claude Code, Cursor, Codex — любой кодинг-агент, которым пользуетесь.

Ссылки