# zenbu-labs/terminal-code

> terminal-code is a tool for running VS Code inside a terminal. It combines terminal-browser, which is a browser in the terminal, with code-server, which runs VS Code in a browser, to bring the editor into the terminal. The project is written mainly in TypeScript.

Source: https://github.com/zenbu-labs/terminal-code
Indexed: commit 346c472 on 2026-08-21 by Repowise. Facts come from the source and git history, not from the maintainer.

## Facts

- Type: App
- Language: TypeScript
- Stars: 2,268 at index time
- License: MIT
- Code health: 6.1/10, Fair
- Last commit: 2026-08-21
- Contributors: 2

## How it works

The main entry point src/main.ts and the entry point src/codeserver/server.ts connect the terminal side to the code-server part that runs VS Code. The src/shortcuts/wizard.ts file holds the interactive wizard that the shortcut setup command starts, so users can change terminal or terminal-code shortcuts that conflict. The assets/keymaps directory contains keymap files such as vscode-linux.json and vscode-mac.json. In ssh mode, only the backend of VS Code runs on the remote machine, while the frontend runs locally and network requests are proxied over the ssh connection. The web module, with 15 files, is a separate part of the repository next to src.

- scripts/generate-keymaps.js: entry point
- src/codeserver/server.ts: entry point
- src/import/run.ts: entry point
- src/main.ts: entry point
- src/pages/import/app.tsx: entry point
Modules: src, web, test, scripts, release-worker, root, herdr-plugin, assets. 101 files, 23,815 lines, 628 symbols.

## Code health

- Score: 6.1/10 (Fair)
- Rank: #210 of 4,000+ indexed repos
- Hotspots: test/shortcuts.test.js, src/main.ts, src/shortcuts/wizard.ts, src/profile.ts, src/bridge.ts
- Lowest file: src/shortcuts/web.ts
- Dead code: 9 findings

## Maintenance

- Last commit 2026-08-21, first commit 2026-08-08, 63 commits
- 2 contributors, bus factor 1

## Security

- Security findings are shown to signed-in users at https://repowise.dev/repo/zenbu-labs/terminal-code/security

## More

- Page: https://repowise.dev/repo/zenbu-labs/terminal-code
- Ask this codebase: https://repowise.dev/repo/zenbu-labs/terminal-code/chat
- Docs: https://repowise.dev/repo/zenbu-labs/terminal-code/docs
- MCP (signs in with Repowise on first use):
    claude mcp add --transport http repowise https://api.repowise.dev/mcp/zenbu-labs/terminal-code
