xing-shuyin/pi-web-ui--packages-dsh-pi-ui ↗★ 338

@local/dsh-pi-ui

DSH 界面综合增强插件:复刻 pi-web-ui 经典底部状态指标条(Token/运行状态)、输入框快捷指令芯片栏、轻量随手记便签与现代视觉主题优化。 适合需要直观查看Token状态、使用快捷指令和便签的用户。

パッケージ
@local/dsh-pi-ui
互換性
未検証
バージョン
1.0.0
ライセンス
MIT
最終更新
2026/10/26

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:xing-shuyin/pi-web-ui#944f556463d6693a3f0cfe375c22680090e85bbe&path:packages/dsh-pi-ui

ドキュメント

README 全文を読む ↗

🚀 Quick Start & Usage

Starting the Server

pi-web-ui                                 # Starts in current folder, opens http://127.0.0.1:8787
pi-web-ui --port 9000 --cwd /path/to/repo # Specify port and workspace path
pi-web-ui --no-browser                    # Start server without auto-opening a browser tab

🌐 Opening Remote SSH Server Projects

You can develop on remote servers through two simple ways:

  1. From Web UI: In the top-bar workspace dropdown, click "Switch Directory" → select the "Remote (SSH)" tab, fill in the host (e.g. 192.168.1.100), port, username, and password or SSH private key, then click "Connect & Probe". Browse and pick any remote folder. Profiles are encrypted and saved locally for one-click reconnection.
  2. From Command Line:
    pi-web-ui --cwd ssh://ubuntu@192.168.1.100:22/var/www/my-project
    

Common Flags & Environment Variables

CLI FlagEnvironment VariableDefaultDescription
--port PI_WEB_PORT8787HTTP port to listen on
--host PI_WEB_HOST127.0.0.1Listen address (0.0.0.0 for remote/LAN access)
--cwd PI_WEB_CWDCurrent directoryWorkspace root (local path or ssh://user@host:port/path)
--data-dir PI_WEB_DATA_DIR~/.pi-webDirectory for state, plugins, themes, and uploads
`--engine
`PI_WEB_ENGINEpiAgent engine: pi native or dsh (DeepSeek Harness)
--no-browser—offDo not auto-launch system browser on startup
Env onlyPI_WEB_TOKENemptyOptional shared authentication token
Env onlyPI_WEB_SDKglobalAuto-follow newer pi SDK on ancestor path; set to bundled to pin built-in

System Background Service (pi-web-ui server)

Manage pi-web-ui as a background daemon with auto-start on boot (launchd on macOS, systemd on Linux, Windows Run key):

pi-web-ui server install --port 9000 --cwd /path/to/project  # Install and start background service
pi-web-ui server status                                    # Inspect live status, PID, and connections
pi-web-ui server restart                                   # Restart background server
pi-web-ui server stop                                      # Stop background server
pi-web-ui server uninstall                                 # Remove system service

FRP Reverse Proxy Tunnel (pi-web-ui frp / piwebui frp)

Automatically deploy and configure FRP (Fast Reverse Proxy) to forward your local pi-web-ui port to a remote server with a public IP:

pi-web-ui frp                                              # Interactive setup wizard
pi-web-ui frp deploy --server  --remote-port 8787      # Auto-deploy remote frps and local frpc
pi-web-ui frp status                                       # Check client status and public URL
pi-web-ui frp start|stop|restart                           # Manage local frpc service
pi-web-ui frp run                                          # Run frpc in foreground with live logs
pi-web-ui frp script --server                          # Generate standalone remote deploy bash script

Updating & Uninstalling