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

intranet

bởi odrobnik

Web & Frontend Development
992Lượ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

Lightweight local HTTP file server with plugin support.

Mô tả

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

Runs a local HTTP file server without Apache, nginx, or root access. Serves static files from a webroot directory, mounts external plugin directories at URL prefixes, and optionally executes index.py scripts as CGI. All configuration and state stay inside the workspace.

Replaces Apache or nginx for local development and personal intranet use without requiring installation, root privileges, or system-level configuration.

Khi nào nên dùng

  • Serving a local HTML dashboard during development
  • Hosting internal tools over LAN with bearer token auth
  • Mounting multiple skill web directories at distinct URL paths
  • Testing CGI scripts without a full web server setup
  • Running a personal intranet for local file access

Quy trình ví dụ

ĐẦU VÀO

User asks: Start a local server on port 9000 with the banker plugin mounted

AGENT
  1. 1

    Write config.json with plugins entry mapping 'banker' to the banker/web directory

  2. 2

    Run python3 scripts/intranet.py start --port 9000

  3. 3

    Run python3 scripts/intranet.py status to confirm the server is running

  4. 4

    Access http://127.0.0.1:9000/banker/ in a browser to verify the plugin is served

ĐẦU RA

Server running at http://127.0.0.1:9000 with static files from www/ and banker plugin mounted at /banker/

Cài đặt

clawhub install odrobnik/intranet

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