跳到正文
TakoAPI
返回技能列表

kleo-static-files

由 awaaate 提供

Self-Hosted & Automation
1.5k下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Host static files on subdomains with optional.

描述

该技能的功能

Hosts static files on dedicated subdomains with automatic SSL via Caddy. Supports uploading individual files or entire directories, optional basic auth per site, quota tracking, and full file management through a CLI or REST API.

Automatic SSL and subdomain routing via Caddy removes the need to configure DNS records, certificates, and a web server separately.

何时使用

  • Deploying a frontend build directory to a public URL
  • Sharing password-protected reports with external stakeholders
  • Hosting a static documentation site from a CI build
  • Serving image or asset files on a dedicated subdomain
  • Publishing a single-page HTML file without a full hosting account

示例工作流

输入

User asks: Deploy my ./dist directory to a public HTTPS URL

智能体
  1. 1

    Runs sf sites create myapp to provision a new subdomain

  2. 2

    Runs sf upload ./dist myapp to upload all files in the build directory

  3. 3

    Runs sf files myapp to confirm the uploaded file list

  4. 4

    Returns the live URL

输出

Static site accessible at https://myapp.498as.com

前置要求

  • SF_API_KEY env var (obtained from the kleo-static-files installer output)
  • SF_API_URL env var (the API endpoint of the running kleo-static-files service)

安装

clawhub install awaaate/kleo-static-files

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

链接