跳到正文
TakoAPI
返回技能列表

lan-media-server

由 nagellack5c 提供

Web & Frontend Development
763下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

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

智能体
  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

输出

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

前置要求

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

安装

clawhub install nagellack5c/lan-media-server

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接