AGENT SKILL
http-server
Use this skill when the user wants to serve static files via HTTP.
- License 许可
- MIT
- 最近更新
- 2026-11-02
- Stars
- ★ 57
- Forks
- 5
01 前言 Front Matter
- name
- http-server
- description
- Use this skill when the user wants to serve static files via HTTP.
02 资源文件 10
- 参考文档compile-epic-context.md2.9 KB
- 其他customize.toml1.6 KB
- 参考文档spec-template.md3.3 KB
- 参考文档step-01-clarify-and-route.md9.5 KB
- 参考文档step-02-plan.md2.9 KB
- 参考文档step-03-implement.md1.8 KB
- 参考文档step-04-review.md4.0 KB
- 参考文档step-05-present.md4.3 KB
- 参考文档step-oneshot.md3.7 KB
- 参考文档sync-sprint-status.md1.4 KB
03 SKILL.md 正文
HTTP-Server Plugin
Simple, zero-configuration command-line static HTTP server.
Commands
File Serving
http-server directory serve— Serve a directory as static HTTP server
Usage Examples
- "http-server directory serve --path ./public"
- "http-server directory serve --path ./public --port 3000"
Installation
npm install --global http-server
Examples
# Serve current directory
http-server
# Serve specific directory
http-server ./public
# Serve on custom port
http-server -p 3000
# Enable CORS
http-server --cors
# Enable gzip
http-server -g
# Silent mode
http-server -s
# Disable caching
http-server -c-1
# Custom headers
http-server -H "Access-Control-Allow-Origin:*"
# HTTPS with custom cert
http-server -S -C cert.pem -K key.pem
Key Features
- Zero-configuration setup
- Automatic directory listing
- MIME type detection
- CORS support
- Gzip/Brotli compression
- Caching control
- Custom headers
- HTTPS support
- SPA support (404.html fallback)
04 同仓库更多 Skills
sc-machin-mcp
暂无简介
★ 57
supercli.quickstart
SuperCLI capability router — discover and execute CLI commands through namespace.resource.action interface
★ 57
zzdoc
Use this skill to compile scdoc manpages with a fast Zig-based compiler.
★ 57
zx
Use this skill when the user wants to a tool for writing better scripts using node.js.
★ 57
zvm
Use this skill when the user wants to manage multiple Zig compiler versions.
★ 57
quickstart
暂无简介
★ 57