A fully AI-driven desktop client for autonomous operations, featuring automated decision-making and execution to achieve completely unmanned intelligent Ops management.
- 🌍 Multi-Platform Builds - Windows, Linux (x64, ARM64), macOS (Universal)
- 🎨 UI Optimization - Advanced loading animations, smooth transitions, card-based layouts
- 📱 Android Preview - Experimental APK build support via Capacitor (Guide)
- 🚀 Performance - 50% faster startup, GPU-accelerated animations
- 🌏 Full Chinese Support - Complete Chinese UI and documentation (中文文档)
- 🖥️ Multi-Server Management - Add and manage multiple servers with ease
- 🔍 Auto-Detect Configuration - Automatically detect CPU, memory, disk, and OS information
- 🎨 Beautiful Themes - Dark orange theme + Glass morphism theme
- 🌐 Language Switching - Switch between Chinese and English instantly
See RELEASE_NOTES_v2.0.0.md for full changelog.
- Intelligent command generation and execution
- Natural language interface for system operations
- Context-aware suggestions based on knowledge base
- Virtual credential mapping to protect sensitive information
- Three authorization modes for command execution:
- Manual All: Requires authorization for every command
- High Risk Only: Only dangerous commands need approval
- Automatic: Full autonomous execution
- Risk analysis for every command before execution
- Model Context Protocol (MCP) integration
- Extensible tool and resource system
- Real-time communication with AI models
- Built-in command reference library
- Context-aware command suggestions
- Online search integration capability
- Frontend: React 18 + TypeScript + Ant Design
- Desktop: Electron 28
- Build Tool: Vite
- Architecture: Secure IPC communication between main and renderer processes
- Node.js 18+ and npm
- Git
- Clone the repository:
git clone https://github.com/TechnologyStar/orangeterm.git
cd orangeterm- Install dependencies:
npm installRun the application in development mode:
npm run devThis will:
- Start the Vite dev server on
http://localhost:3000 - Launch the Electron application with hot reload
Build the application for production:
npm run buildPackage the application:
npm run packageThis will create release artifacts for all platforms (Windows, Linux x64/ARM64, macOS Universal).
For detailed build instructions, see:
- BUILD_GUIDE.md - General packaging steps
- README_MULTI_PLATFORM.md - Multi-platform download & release guide
- docs/ANDROID_BUILD_GUIDE.md - Android APK preview build
The packaged application will be available in the release/ directory.
orangeterm/
├── src/
│ ├── main/ # Electron main process
│ │ └── main.ts # Main process entry point
│ ├── preload/ # Preload scripts
│ │ └── preload.ts # IPC bridge
│ ├── renderer/ # React frontend
│ │ ├── components/ # React components
│ │ ├── contexts/ # React contexts
│ │ ├── App.tsx # Root component
│ │ └── main.tsx # Renderer entry point
│ ├── lib/ # Core libraries
│ │ ├── CredentialMapper.ts # Virtual credential system
│ │ ├── CommandRiskAnalyzer.ts # Command safety checker
│ │ ├── KnowledgeBase.ts # Command knowledge base
│ │ └── MCPClient.ts # MCP integration
│ └── types/ # TypeScript definitions
├── dist/ # Build output
├── release/ # Packaged applications
└── package.json
Virtual Credential Mapping: All sensitive credentials (IPs, passwords) are replaced with virtual identifiers when sent to AI models. The mapping is maintained securely in the main process and only real credentials are used during actual command execution.
Authorization Modes:
- Manual All: User must approve every command
- High Risk Only: System automatically identifies dangerous commands and requires approval
- Automatic: AI executes commands autonomously (use with caution)
The application uses Electron's context isolation and preload scripts for secure communication:
- Main process handles command execution, file system access, and sensitive operations
- Renderer process handles UI and user interactions
- Preload script provides a safe API bridge
The Model Context Protocol integration allows:
- Connecting to various AI model servers
- Accessing tools and resources exposed by MCP servers
- Real-time context sharing between application and AI models
- Launch OrangeTerm
- Select your preferred authorization mode
- Type natural language requests like:
- "Show me the disk usage"
- "List all running Docker containers"
- "Check the status of nginx service"
- "Find all log files modified in the last hour"
- User enters a natural language request
- System queries local knowledge base for relevant context
- Request is sent to AI via MCP
- AI generates appropriate command(s)
- Risk analysis is performed
- Authorization is requested (if required by current mode)
- Command is executed with real credentials
- Results are displayed in the chat interface
npm run dev- Start development environmentnpm run build- Build for productionnpm run package- Package application for distributionnpm run lint- Run ESLintnpm run type-check- Run TypeScript type checking
The project uses:
- ESLint for code linting
- TypeScript for type safety
- Ant Design for UI components
- Dark theme optimized for terminal operations
- Multi-language support (Chinese & English)
- Custom knowledge base entries
- Remote server management
- Multi-platform builds (Windows, Linux, macOS)
- Android app version (preview)
- Web version (PWA)
- iOS support
- Cloud sync for settings and history
- Android native SSH implementation
- Plugin system for extensibility
- Advanced logging and audit trails
- Team collaboration features
- Theme marketplace
- Never share your actual credentials with AI models
- Review commands before execution, especially in automatic mode
- Keep the application updated for security patches
- Use authorization modes appropriate to your environment
- Regularly audit command execution logs
Contributions are welcome! Please feel free to submit a Pull Request.
ISC License
For issues and questions, please use the GitHub issue tracker.