ttyd
БесплатноБез исполняемых скриптовНе проверенOpens a terminal in the browser. Use when a shell needs to run in a browser tab.
от NazmusSayad★ 137 звёзд на GitHubОб этом скилле
Start a server
Run the command below from the directory the terminal should open in, in the background, and note its PID. If port 7681 is taken (check with lsof -nP -iTCP:7681 -sTCP:LISTEN), add -p <free port>. Do not stop, restart or reuse a ttyd server you did not start.
ttyd -i 127.0.0.1 -W \
-t fontFamily="FiraCode Nerd Font" -t fontSize=14 -t lineHeight=1.35 -t cursorStyle=bar -t disableLeaveAlert=true \
-t 'theme={"background":"#1E2227","foreground":"#ABB2BF","cursor":"#FFFFFF","selectionBackground":"#FFFF00","selectionForeground":"#000000","black":"#4A4F5A","red":"#EE5D69","green":"#97C775","yellow":"#B68353","blue":"#61AFEF","magenta":"#C678DD","cyan":"#56B6C2","white":"#CCCCCC","brightBlack":"#616A7B","brightRed":"#FE808A","brightGreen":"#C2DEAD","brightYellow":"#D1A47A","brightBlue":"#93CFFF","brightMagenta":"#E0A8F1","brightCyan":"#82D2DC","brightWhite":"#FFFFFF"}' \
env -i HOME="$HOME" USER="$USER" LOGNAME="$LOGNAME" SHELL=/opt/homebrew/bin/bash TMPDIR="$TMPDIR" SSH_AUTH_SOCK="$SSH_AUTH_SOCK" \
LANG=en_US.UTF-8 TERM=xterm-256color COLORTERM=truecolor \
/opt/homebrew/bin/bash -lc 'exec bash -i' >/tmp/ttyd.log 2>&1 &
Open http://127.0.0.1:<port>. When done, stop only your server with kill <PID>.
Why the command looks like this
- The theme, font, line height and cursor mirror
~/.dotfiles/config/shell/ghostty.conf. If that file changes, update the values here to match. env -idrops the agent's environment so the shell starts like a fresh terminal. It keeps the macOS session variables every native terminal has, because dropping them breaks many tools.- The login shell loads
profile.sh, which puts Homebrew and mise onPATH. Theexec'd interactive shell then loadsbashrc.sh, which sets up starship, zoxide, direnv and mise. Plainbashorbash -iskipsprofile.sh, sobrewis missing and the prompt and tools fail to load. /opt/homebrew/bin/bashis bash 5./bin/bashis macOS's bash 3.2. Afterprofile.sh, plainbashresolves to bash 5.-i 127.0.0.1keeps the terminal off the network and-Wmakes it writable. ttyd defaults to all interfaces and read-only.
Установить ttyd в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл ttyd?
Opens a terminal in the browser. Use when a shell needs to run in a browser tab.
Как установить скилл ttyd?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ttyd запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic