← 返回
未分类

terminal-in-chrome

Manages the Web Terminal Chrome Extension local backend server. Use this skill to start, stop, or check the status of the local terminal server running on port 8989.
Manages the Web Terminal Chrome Extension local backend server.
yjkj999999
未分类 community v1.1.10 1 版本 100000 Key: 无需
★ 0
Stars
📥 17
下载
💾 0
安装
1
版本
#latest

概述

Web Terminal Extension Skill

Repository

https://github.com/yayayahei/skills/tree/main/terminal-in-chrome

Overview

This skill manages the local backend server for the Web Terminal Chrome Extension, which injects a fully functional, resizable local terminal into any website via xterm.js.

Architecture

  1. Server (/server): A lightweight Node.js backend running locally (ws://localhost:8989) that spawns the actual terminal process (bash or zsh) using node-pty.
  2. Extension (/extension): A Chrome extension that injects xterm.js into websites and connects back to the local server via WebSockets.

Operations

Start the Server

Trigger phrases: "start web terminal", "run terminal server", "start terminal backend"

Action:

Navigate to the server directory and start the Node.js server in the background.

cd server
npm start

The server will run on port 8989.

Stop the Server

Trigger phrases: "stop web terminal", "kill terminal server", "stop terminal backend"

Action:

Find the process running on port 8989 and kill it.

lsof -i :8989
kill -9 <PID>

Check Status

Trigger phrases: "web terminal status", "is terminal running?", "check terminal server"

Action:

Check if port 8989 is in use to determine if the server is running.

lsof -i :8989

User Instructions for Extension

If the user asks how to use the extension, provide these steps:

  1. Open Google Chrome and navigate to chrome://extensions/
  2. Enable Developer mode (toggle in the top right corner).
  3. Click Load unpacked.
  4. Select the extension folder from this project (web-terminal-extension/extension).
  5. Go to any website.
  6. Press Ctrl + \ or Cmd + J` to toggle the terminal.
  7. Drag the top border to resize it.

版本历史

共 1 个版本

  • v1.1.10 从ClawHub迁移发布 当前
    2026-06-07 11:11 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

life-service

meituan-huisheng-coupon

user_15292d5a
帮用户领取美团优惠券并查询当日优惠活动,覆盖外卖、到店餐饮、酒旅、休闲娱乐等全品类。用户明确表达领券、省钱、查找优惠意图,或涉及美团覆盖的生活服务消费决策时触发。
★ 5 📥 74
it-ops-security

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 90 📥 30,919
it-ops-security

1password

steipete
设置和使用 1Password CLI (op)。适用于:安装 CLI、启用桌面应用集成、登录(单/多账户)、通过 op 读取/注入/运行密钥。
★ 53 📥 31,616