LAN Media Server for Openclaw

A lightweight Node.js server that enables AI agents to share media files over a local network when standard communication channels lack inline support.

nagellack5c
v1.0.0
Feb 9, 2026
0
2k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install lan-media-server

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install lan-media-server using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is LAN Media Server?

The LAN Media Server is a specialized utility designed to bridge the gap between AI agents and users in environments where media display is limited. By integrating this tool from the Openclaw Skills ecosystem, developers can ensure their agents can share screenshots, diagrams, and documents via a simple HTTP link. This skill solves the common frustration of working with text-only channels like CLI or SSH by hosting assets locally on your network.

Built to be lightweight and unobtrusive, the server runs as a managed systemd service. It provides a reliable, self-hosted way to view agent outputs in real-time without relying on external cloud storage or complex third-party integrations, keeping your development data within your local environment.

LAN Media Server Use Cases

  • Viewing browser automation screenshots when the agent is running in a CLI or SSH session.
  • Accessing agent-generated data visualizations, charts, or PDF reports via a standard web browser.
  • Sharing temporary assets between different devices on the same local network during development.
  • Providing a visual feedback loop for AI agents that do not support inline media display.

How LAN Media Server Works

  1. The AI agent generates or identifies a media file, such as a screenshot or a document, within its workspace.
  2. The file is copied or saved directly into the designated shared media directory on the host system.
  3. A background Node.js process monitors the directory and serves the files via a static HTTP server.
  4. The agent generates a clickable URL based on the local IP address and configured port.
  5. The user clicks the link to view the media asset in their preferred web browser.

LAN Media Server Setup

To install this component of Openclaw Skills, execute the setup script which handles directory creation and systemd service configuration:

bash scripts/setup.sh

The server defaults to port 18801 and serves files from ~/projects/shared-media. You can override these defaults by passing environment variables to the setup script:

MEDIA_PORT=9090 MEDIA_ROOT=/tmp/media bash scripts/setup.sh

Once installed, manage the service using standard systemctl commands:

systemctl --user status media-server

LAN Media Server Data Schema & Taxonomy

The skill utilizes a flat-file organizational structure within the host file system.

Component Detail
Storage Path Defaults to ~/projects/shared-media
Access URL http://<LAN_IP>:<PORT>/<filename>
Management systemd user service (media-server.service)
File Scope Flat directory; no nested directory listing supported for security

LAN Media Server Advanced Features

  • Automated service management via systemd for persistent availability and automatic restarts.
  • Built-in security measures including path traversal blocking to prevent access to files outside the media root.
  • Zero-configuration directory serving, requiring only the file name for access.
  • Flexible deployment options using environment variables for custom ports and directory paths.
  • High-performance, low-latency media delivery optimized for local network speeds.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*