Skip to main content

static-web-server

static-web-server — fast asynchronous static file server (Rust)

소스 정보

저장소
javimosch/supercli
최근 소스 활동
2026년 6월 22일 12:25
감지된 SKILL.md 언어
영어
스타
51
포크
7

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
static-web-server
description
static-web-server — fast asynchronous static file server (Rust)
# static-web-server Plugin static-web-server is a high-performance, asynchronous web server for serving static files, written in Rust. ## Usage Start a server serving files from the `./public` directory on port `8080`: ```bash supercli static-web-server --port 8080 --root ./public ``` ### Common Flags | Flag | Short | Description | Default | |------|-------|-------------|---------| | `--host` | `-a` | Host address to bind | `::` (all interfaces) | | `--port` | `-p` | Port to listen on | `80` | | `--root` | `-d` | Root directory for static files | `./public` | | `--log-level` | `-g` | Log level (error, warn, info, debug, trace) | `error` | | `--grace-period` | `-q` | Grace period in seconds before shutdown | `0` | | `--compression` | `-x` | Enable compression (gzip/deflate/brotli/zstd) | `true` | | `--directory-listing` | `-z` | Enable directory listing | `false` | | `--cors-allow-origins` | `-j` | CORS allowed origins (comma-separated) | (none) | | `--basic-auth` | | Basic auth credentials (user:password, bcrypt) | (none) | | `--version` | `-V` | Print version and exit | | ### Examples Serve files from current directory on port 3000: ```bash supercli static-web-server --port 3000 --root . ``` Enable verbose logging and directory listing: ```bash supercli static-web-server --port 8080 --root ./public --log-level info --directory-listing ``` ## Install ### From source (Cargo) ```bash cargo install static-web-server ``` ### Binary download Download the latest release for your platform from: https://github.com/static-web-server/static-web-server/releases
GitHub에서 보기