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

kleo-static-files

bởi awaaate

Self-Hosted & Automation
1.5kLượ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

Host static files on subdomains with optional.

Mô tả

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

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

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

AGENT
  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

ĐẦU RA

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

Yêu cầu

  • 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)

Cài đặt

clawhub install awaaate/kleo-static-files

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