Static Files Hosting for Openclaw

A lightweight tool for hosting static files on subdomains with built-in SSL and authentication.

awaaate
v1.0.0
Feb 1, 2026
0
2.9k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install kleo-static-files

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 kleo-static-files 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 Static Files Hosting?

Static Files Hosting is a specialized utility within the Openclaw Skills ecosystem designed to streamline the deployment of web content. It allows developers to serve HTML, images, CSS, and JavaScript on dedicated subdomains with automatic SSL certificates provided via Caddy. By leveraging Openclaw Skills for your infrastructure, you can quickly spin up staging environments, documentation sites, or asset servers without manual web server configuration.

This skill provides a robust interface via both a CLI and a REST API, enabling seamless integration into existing development workflows. It handles the complexities of file management, quota enforcement, and security, making it an essential part of the Openclaw Skills library for developers who need reliable and fast static hosting solutions.

Static Files Hosting Use Cases

  • Deploying static documentation or project landing pages to custom subdomains.
  • Sharing password-protected files or sensitive reports using basic authentication.
  • Automating web asset deployments within CI/CD pipelines using the sf CLI.
  • Managing multiple static sites from a single server with centralized quota tracking.
  • Hosting frontend build artifacts for rapid prototyping and feedback loops.

How Static Files Hosting Works

  1. Initialize a new site using the CLI or API to create a dedicated subdomain entry.
  2. Configure optional basic authentication credentials to protect your static content from public access.
  3. Upload individual files or entire directories using the sf upload command to populate the site.
  4. Access your content instantly over HTTPS, as the system automatically provisions SSL certificates.
  5. Monitor storage quotas and site-specific traffic statistics via the integrated stats commands.
  6. Update or delete files as needed to maintain your static site's lifecycle.

Static Files Hosting Setup

To begin using this component of Openclaw Skills, run the server-side installation script on your host:

curl -fsSL https://raw.githubusercontent.com/498AS/kleo-static-files/main/install.sh | sudo bash

Once installed, configure your environment variables with the API URL and the key provided by the installer:

export SF_API_URL=http://localhost:3000
export SF_API_KEY=sk_your_generated_key

Verify the service is active by checking the health endpoint:

curl http://localhost:3000/health

Static Files Hosting Data Schema & Taxonomy

The skill organizes data using a hierarchical structure based on site subdomains. Openclaw Skills ensure data integrity through the following schema:

Attribute Type Description
Site Name String Lowercase, alphanumeric identifier (max 63 chars) used for the subdomain.
Path String The relative destination path for files within the site.
Auth String Basic authentication credentials in user:password format.
Quota Integer Storage limit per site, defaulting to 100MB.
File Size Integer Maximum individual file upload limit, defaulting to 50MB.

Static Files Hosting Advanced Features

  • Automatic SSL certificate management via integrated Caddy server hooks.
  • Recursive directory uploads with optional overwrite flags for efficient deployments.
  • Granular site-specific statistics for monitoring storage and bandwidth usage.
  • Full REST API compatibility for building custom dashboards or automation scripts.
  • Support for basic authentication removal or updates without site downtime.
  • Built-in health checks and system-level service management for high availability within Openclaw Skills.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*