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

lan-media-server

bởi nagellack5c

Web & Frontend Development
763Lượt tải do clawskills.sh công bố
0Lượ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

Share images, screenshots, and files from the AI workspace to users on the local network via HTTP.

Mô tả

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

Runs a lightweight HTTP file server on the local network so AI agents can share images, screenshots, and files with users whose chat channels don't support inline media. Managed as a systemd user service. Drop a file in the shared directory and send the user a direct URL.

Avoids base64 embedding or cloud upload by using a local HTTP server that any LAN device can reach with a plain URL.

Khi nào nên dùng

  • Sharing browser screenshots taken during automation tasks
  • Sending generated charts or graphs to a user over CLI
  • Delivering exported documents from a headless workflow
  • Passing large files to another device on the same network

Quy trình ví dụ

ĐẦU VÀO

User asks: can you show me a screenshot of that page?

AGENT
  1. 1

    Capture screenshot and save it to the shared media directory

  2. 2

    Confirm the media server is running via systemctl --user status media-server

  3. 3

    Construct the URL using the server's LAN IP and port 18801

  4. 4

    Send the user the clickable link with the exact filename

ĐẦU RA

http://192.168.1.91:18801/screenshot.jpg — user opens it in their browser

Yêu cầu

  • systemd user services must be supported on the host OS (Linux)

Cài đặt

clawhub install nagellack5c/lan-media-server

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