tabminal
v1.1.21
Published
A modern, persistent web terminal with multi-tab support and real-time system monitoring.
Maintainers
Readme
t> Tabminal
Tab(ter)minal, the Cloud-Native, Proactive AI Integrated Terminal works in modern browsers. Seamlessly code from your desktop, tablet, or phone with an intelligent, persistent, and rich experience. This project was built using Gemini and Codex wich 80% vibe-coding, means
built for the vibe, with the vibe.
🌟 Why Tabminal?
Tabminal bridges the gap between traditional CLI tools and modern AI capabilities, all while solving the UX challenges of coding on desktop and mobile devices.
As a long-time terminal user who frequently needs to step away from my computer while maintaining my workflow, and considering the various scalability issues of traditional terminals alongside the irreversible trend of vibe-coding, I reconsidered a solution that would first serve my own needs. Then, it would serve others whose workflows happen to be similar to mine. So, while waiting for AI to write code for the company, I tried to vibe a terminal from scratch that could meet my daily work needs and that I would enjoy using. As a result, I intermittently wrote this project. I believe this project is not for everyone. However, it is especially suitable for CLI and AI enthusiasts, which is the core motivation behind this project's creation.
✨ Innovative Designs
Server-side session persistenceensures your sessions with the AI agent are maintained, allowing you to pick up where you left off at any time.Fast and stable connection managementdelivers a seamless, agile experience across platforms and devices, with native support for network roaming.- Enjoy a comprehensive
Progressive Web App (PWA) experienceanytime, anywhere; all you need is a modern browser to start working. Proactive AI integrationmeans your terminal becomes your work context. You can ask questions about your current session at any time, and the AI will automatically retrieve the context to accurately solve problems, even proactively offering assistance when commands fail.Cloud-native designenables access via Zero Trust or VPN, providing unprecedented convenience for managing cloud servers.
🧠 AI-Native Intelligence
Powered by modern AI models (via OpenRouter), Tabminal understands your context. (Defaults to Gemini 2.5 Flash for optimal speed/performance balance if not configured)
- Context-Aware Chat: Type
# how do I...to ask questions. The AI knows your CWD, Environment, and Recent History. - Auto-Fix: Command failed? Tabminal automatically analyzes the exit code and error output to suggest fixes. No copy-pasting required.
- Web Search: Enable Google Search integration to let the AI fetch real-time answers from the web.
📱 Ultimate Mobile Experience
Built from the ground up for iPadOS and iOS.
- HHKB Virtual Keyboard: You can perform nearly all terminal operations on any device, without being frustrated by os limitations.
- Responsive Layout: Auto-adapts to landscape/portrait modes, respecting Safe Areas and Notches.
- PWA Ready: Install to Home Screen for a full-screen, native app feel.
💻 Powerful Desktop Features
- Persistent Sessions: Your terminal state lives on the server. Refresh or switch devices without losing your work.
- Built-in Editor: Integrated Monaco Editor (VS Code core) allows you to edit files directly on the server.
- Visual File Manager: Sidebar file tree for easy navigation.
- Network Heartbeat: Real-time latency visualization.
🚀 Getting Started
Prerequisites
- Node.js >= 22
- (Optional) An OpenRouter API Key if you want AI features.
- (Optional) A pair of Google API Key and Search Engine ID (CX) for web search capabilities.
⚠️ Security Warning
Tabminal provides full read/write access to the underlying file system.
- Do NOT expose this to the public internet without proper protection (VPN, etc).
- The
--accept-termsflag is required to acknowledge that you understand these risks.
Quick Start (No Install)
Run directly with npx:
npx tabminal --openrouter-key "YOUR_API_KEY" --accept-termsInstallation
# Clone the repository
git clone https://github.com/leask/tabminal.git
cd tabminal
# Install dependencies
npm install
# Start the server
npm start -- --openrouter-key "YOUR_API_KEY" --accept-termsConfiguration
You can configure Tabminal via command-line arguments, environment variables, or a config.json file.
| Argument | Env Variable | Description | Default |
| :--- | :--- | :--- | :--- |
| -p, --port | PORT | Server port | 9846 |
| -h, --host | HOST | Bind address | 127.0.0.1 |
| -a, --password | TABMINAL_PASSWORD | Access password | (Randomly Generated) |
| -k, --openrouter-key | TABMINAL_OPENROUTER_KEY | AI Provider API Key | null |
| -m, --model | TABMINAL_MODEL | AI Model ID | gemini-2.5-flash-preview-09-2025 |
| -g, --google-key | TABMINAL_GOOGLE_KEY | Google Search API Key | null |
| -c, --google-cx | TABMINAL_GOOGLE_CX | Google Search Engine ID (CX) | null |
| -d, --debug | TABMINAL_DEBUG | Enable debug logs | false |
| -y, --accept-terms | TABMINAL_ACCEPT | Required: Accept security risks (Full FS Access) | false |
⌨️ Shortcuts & Gestures
Ctrl + Shift + T: New TerminalCtrl + Shift + W: Close TerminalCtrl + Shift + E: Toggle Editor PaneCtrl + Up/Down: Focus Editor / TerminalCtrl + Shift + [/]: Switch TerminalCtrl + Alt + [/]: Switch Open File in EditorCtrl + Shift + ?: Show Shortcuts HelpCtrl/Cmd+F: Find in Terminal
Touch Actions
- Virtual
SYM: Toggle HHKB keyboard overlay.
🛠 Tech Stack
- Backend: Node.js, Koa, node-pty, WebSocket.
- Frontend: Vanilla JS 😝, xterm.js, Monaco Editor.
- AI: Integration via utilitas.
