Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Embedded Terminal

NoVarYeNoVarYe334 downloads

VS Code like terminal inside Obsidian

Add to Obsidian
  • Overview
  • Scorecard
  • Updates2

A native embedded terminal plugin for Obsidian, powered by xterm.js and node-pty.

在 Obsidian 中提供一个真正的系统终端, 将命令行环境直接嵌入知识管理工作流.

本插件通过 xterm.js + node-pty + Windows ConPTY 实现完整终端体验, 支持实时交互、ANSI 输出、Shell 会话保持以及窗口自适应.

Embedded Terminal integrates a native PTY-powered terminal into Obsidian, allowing users to execute and manage command-line workflows directly inside their knowledge workspace.


Features

Embedded Terminal

将终端作为 Obsidian Workspace View 嵌入.

适用于:

  • 编程开发
  • Git 操作
  • 数据分析
  • 项目管理
  • 命令行工具调用

Real PTY Support

采用真实 PTY 架构:

  • xterm.js
  • node-pty
  • Windows ConPTY

支持:

  • 交互式 Shell
  • ANSI 彩色输出
  • 光标控制
  • Tab 补全
  • Ctrl+C
  • Python / Node / Git CLI

Architecture

Obsidian UI
    |
TerminalView.ts
    |
TerminalProcess.ts
    |
pty-host.cjs
    |
node-pty + ConPTY
    |
cmd.exe

Installation

npm install
npm run build

复制插件文件到:

.obsidian/plugins/embedded-terminal/

文件包含:

1. native/
2. main.js
3. manifest.json
4. pty-host.cjs
5. styles.css

重新加载 Obsidian.


Requirements

Platform Status
Windows 10/11 Supported
Linux Experimental

Usage

打开:

Command Palette
        ↓
Embedded Terminal: Open

默认快捷键(VSCode风格):

Ctrl + `

隐藏终端时不会关闭后台 Shell.


Configuration

默认 Shell:

shell: "cmd.exe"

可修改为:

shell: "powershell.exe"

或:

shell: "pwsh.exe"

Roadmap

  • Linux PTY support
  • Multiple terminal tabs
  • Terminal profiles
  • SSH integration
  • AI command assistant

Known Limitations

当前主要支持 Obsidian Desktop.

由于依赖系统终端能力:

  • 不支持 Obsidian Mobile
  • 不支持 Web 版本

Windows + ConPTY 为最佳体验.

HealthExcellent
ReviewSatisfactory
About
Embed a native PTY terminal inside Obsidian to run interactive shells, Git commands, and other CLI tools directly in your workspace. Support real PTY (xterm.js + node-pty + Windows ConPTY), ANSI colors, cursor control, tab completion, and keep shell sessions running when the view is hidden.
DevelopersIntegrationsInterface
Details
Current version
1.4.0
Last updated
5 months ago
Created
5 months ago
Updates
2 releases
Downloads
334
Compatible with
Obsidian 1.8.0+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Author
NoVarYeNoVarYeno4var2ye
GitHubno4var2ye
  1. Community
  2. Plugins
  3. Developers
  4. Embedded Terminal

Related plugins

BRAT

Easily install a beta version of a plugin for testing.

Local REST API with MCP

Unlock your automation needs by interacting with your notes over a secure REST API.

Terminal

Integrate consoles, shells, and terminals.

Sync Engine

The extensible vault synchronization engine: Fast · Free · Reliable. Supports WebDAV, S3, Google Drive, and Dropbox.

Agent Client

Chat with Claude Code, Codex, Gemini CLI, and more via the Agent Client Protocol — right from your vault.

Lean Terminal

Embedded terminal panel powered by xterm.js and node-pty - no external windows.

Hider

Hide interface elements such as tooltips, status bar, titlebar, and more.

LanguageTool Integration

Advanced grammar and spell checking, powered by LanguageTool.

Self-hosted LiveSync

Sync vaults securely to self-hosted servers or WEBRTC.

Claudian

Embeds Claude Code/Codex and other local Agents as AI collaborators in your vault.