@billtheinvestor: 7MB 的 AI 原生终端来了! Terax 把终端、代码编辑器、Git 和强大 AI Agent 完美融合在一起,还支持本地模型。 轻到离谱,快到飞起,开发者梦中情“机”! GitHub 地址:
摘要
Terax is a lightweight open-source AI-native terminal and developer workspace that combines a terminal, code editor, Git, and AI agent in a 7MB package, supporting local models and various AI providers.
查看缓存全文
缓存时间: 2026/06/02 17:35
7MB 的 AI 原生终端来了!
Terax 把终端、代码编辑器、Git 和强大 AI Agent 完美融合在一起,还支持本地模型。
轻到离谱,快到飞起,开发者梦中情“机”! GitHub 地址:https://t.co/hT3e5k8Lqm
crynta/terax-ai
Source: https://github.com/crynta/terax-ai
Terax is a lightweight open-source terminal (ADE) built on Tauri 2 + Rust and React 19. A native PTY backend with a WebGL renderer, an agentic AI side-panel that runs against your own keys or fully local models, plus a code editor, file explorer, source control with a git graph, and a web preview pane built in. About 7-8 MB on disk. No telemetry. No account.
Screenshots
![]() Multi-tab terminal with WebGL rendering |
![]() Custom themes, presets, and background images |
![]() Web preview of local dev servers |
![]() Source control panel with git graph in history |
![]() Agentic AI workflow with edit diffs in the code editor |
|
Features
Terminal
- xterm.js with WebGL renderer, multi-tab with background streaming
- Native PTY backend via
portable-pty(zsh, bash, pwsh, fish, cmd) - Split panels (horizontal and vertical)
- Inline search, link detection, true-color
- Per-tab workspace environments on Windows (Local, or any installed WSL distro)
Code editor
- CodeMirror 6 (supports all popular languages - TS/JS, Rust, Python, Go, C/C++, Java, HTML/CSS, JSON, Markdown, etc.)
- Inline AI autocomplete with local model support
- AI edit diffs, accept or reject hunk by hunk
- Vim mode
- Ten built-in editor themes: Atom One, Aura, Copilot, GitHub Dark / Light, Gruvbox Dark, Nord, Tokyo Night, Xcode Dark / Light
Source control
- Stage / unstage hunks, commit (Cmd+Enter / Ctrl+Enter), push with upstream awareness
- Branch display including detached HEAD state
- Git history pane with a real commit graph (lane rendering for merges and branches)
- Commit search and filter, click through to the remote commit page
File explorer
- Catppuccin icon theme
- Fuzzy search, keyboard navigation, inline rename, context actions
- Attach files and selections directly to the AI side-panel
Web preview
- Auto-detects local dev servers and opens them in a preview tab
- External URL preview via a native child webview
Themes and customization
- Custom themes built in-app, switch between bundled presets and your own
- Create your own themes, share them or import from the community
- Background images with adjustable opacity and blur
- Editor theme is independent from the app theme
AI
- BYOK providers: OpenAI, Anthropic, Google (Gemini), Groq, xAI (Grok), Cerebras, OpenRouter, DeepSeek, Mistral, plus any OpenAI-compatible endpoint
- Local / offline: LM Studio, MLX, Ollama
- Agentic workflow: plans, sub-agents, project memory via
TERAX.md, file read / write / edit / multi-edit / grep / glob, bash with approval gating, background processes - Composer: snippets via
#handle, files via@path, slash commands, voice input, attach-to-agent from explorer or selection - Custom agents with their own system prompt and tool subset
- Plan mode for multi-step work, generates and confirms before doing
Install
Latest installers are on the Releases page. Terax auto-updates from there.
Windows notes
- On first launch Windows shows “Windows protected your PC” because Terax isn’t code-signed yet. Click More info then Run anyway.
- Default shell detection:
pwsh.exe(PowerShell 7+) ->powershell.exe(Windows PowerShell 5.1) ->cmd.exe. - WSL is a first-class workspace environment, not a wrapped subprocess.
Linux notes
- Arch / AUR:
yay -S terax-bin(orparu, etc.). Tracks the latest release. - AppImage: needs FUSE. Without it:
./Terax_*.AppImage --appimage-extract-and-run. On Wayland with rendering glitches, tryWEBKIT_DISABLE_DMABUF_RENDERER=1. Otherwise the.deb/.rpmpackages link against the system GTK stack and tend to be smoother.
Configure AI
- Open Settings -> AI.
- Pick a provider and paste your API key. For local inference, point Terax at your LM Studio / MLX / Ollama endpoint.
- Keys are written to the OS keychain via
keyring. They never touch disk or localStorage.
Build from source
Prerequisites
- Rust (stable), https://rustup.rs
- Node 20+ and pnpm
- Tauri prerequisites for your platform, https://tauri.app/start/prerequisites/
Run
pnpm install
pnpm tauri dev # development
pnpm tauri build # production bundle
Checks
pnpm exec tsc --noEmit # frontend type-check
cd src-tauri && cargo clippy --all-targets --locked -D warnings # Rust lint (matches CI)
cd src-tauri && cargo test --locked # Rust tests
Tech stack
Tauri 2, Rust, portable-pty, React 19, TypeScript, Vite, xterm.js, CodeMirror 6, Vercel AI SDK v6, Tailwind v4, shadcn/ui, Zustand.
Contributing
Issues and PRs are welcome! Feel free to open issues, suggest features, or submit pull requests. See CONTRIBUTING.md for more details.
License
Terax is licensed under the Apache-2.0 License. For more information on our dependencies, see Apache License 2.0.
Star history
相似文章
crynta/terax-ai
Terax 是一个轻量级、开源、终端优先的 AI 原生开发工作空间,基于 Tauri 2、Rust 和 React 构建,具备智能 AI 侧边栏、代码编辑器、文件浏览器、源代码管理和网页预览功能。
@geekbb: 一个专为 AI 编码设计的 macOS 终端,把工作区管理、分屏和 AI agent 启动流程整合到一起。支持横竖分屏,一键启动 Claude Code、Codex、Gemini CLI 等七个 AI agent,右键选中内容直接提交给 …
kooky 是一个专为 AI 编码设计的 macOS 终端,整合工作区管理、分屏和 AI agent 启动流程,支持一键启动多个 AI agent 和右键提交内容。
@CycleDecoded: 程序员和终端白嫖党直接看过来,这玩意真有人做出来了。 以前写代码开一堆窗口,黑框框 Terminal、VSCode、浏览器、ChatGPT 来回切,手都要按废了。程序员开源项目 Wave Terminal(waveterm)直接把命令行、…
介绍开源 AI 终端 Wave Terminal,将命令行、编辑器、浏览器和 AI 整合到一个终端中,支持内联预览、持久 SSH 会话和多模型接入,GitHub 已获 22k+ Star。
@GitTrend0x: 100% 本地桌面AI Agent 杀手级开源神器 https://github.com/bytedance/UI-TARS-desktop… 这就是 UI-TARS-desktop,字节跳动开源的 31k 星爆款多模态桌面自动化代理! …
UI-TARS-desktop is a highly popular open-source tool by ByteDance that enables 100% local multimodal desktop automation, allowing users to control apps and browsers via natural language without cloud data leaks.
@billtheinvestor: 字节跳动开源 UI-TARS Desktop (3.6k)。核心逻辑:100%本地运行、仅看像素、不调API。对比OpenAI/Anthropic云端模式,解决两大痛点:1. 数据隐私(不出机器);2. 零成本延迟(免API费)。构建私密…
字节跳动开源 UI-TARS Desktop,一款100%本地运行、仅基于像素操作且不调用API的桌面自动化工具,解决数据隐私和API费用两大痛点,为构建私密自动化工作流提供了高效开源方案。




