Skip to content

Latest commit

ย 

History

169 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

๐Ÿš€ OmniTerminal - Multi-Protocol Server & Database Management Hub

๐ŸŒ Language: English | Tiแบฟng Viแป‡t

OmniTerminal is a high-performance, cross-platform desktop application (macOS, Windows, Linux) designed for server administration and database management. Built with a sleek Dark Mode UI, enterprise-grade encryption, and a built-in DevOps & Database AI Assistant.


๐ŸŒŸ Key Features

1. ๐Ÿ”’ Encrypted Master Passphrase & Local Vault

  • Master Passphrase Protection: All server configurations, credentials, and private keys are encrypted using AES-256-GCM combined with PBKDF2 key derivation (100,000 iterations).
  • KeePass-style Security (Passphrase + Key File): Enhances security by combining a Master Passphrase with a private key file (.key containing a random 256-bit security key). Users can choose custom paths for both the Database file (.enc) and the Key file (.key) anywhere on their disk (e.g., in Google Drive / OneDrive for easy syncing and cross-platform compatibility between Windows and macOS).
  • Encrypted Vault Import/Export: Securely backup and restore your entire vault data (including general terminal and AI settings) with custom AES-256-GCM passphrase protection for .enc.json files.
  • SSH Key Vault Manager: Generate secure RSA 4096-bit and Ed25519 key pairs directly within the application with one-click public key copying for ~/.ssh/authorized_keys.

2. ๐Ÿ›ก๏ธ HashiCorp Vault Enterprise Integration

  • Vault REST API Support: Seamlessly connect to HashiCorp Vault clusters via Vault Token or AppRole (Role ID + Secret ID), including namespace support for enterprise environments.
  • Self-Signed SSL & Cluster HA Standby Support: Native support for internal Vault servers with self-signed SSL/TLS certificates and automatic handling of High-Availability (HA) Standby Nodes (HTTP 429 status response).
  • Real-time Dynamic Secret Fetching: Automatically retrieve server & database credentials on-the-fly from HashiCorp Vault right before initializing SSH, SFTP, RDP, or Database connections.

3. ๐Ÿ’ป High-Performance SSH Terminal

  • Powered by Xterm Engine: Integrated @xterm/xterm for high-throughput, bidirectional PTY streaming.
  • Auto-Resizing & Reflow: Monitors window bounds (ResizeObserver + @xterm/addon-fit) to automatically compute and resize rows/columns (cols/rows).
  • Custom Themes & Fonts: Supports JetBrains Mono, Menlo, Monaco, custom font sizes, and premium color palettes (One Dark, Dracula, Monokai).
  • Quick Tools Bar: One-click Copy/Paste, font zoom controls, and instant Reconnect when network drops occur.

4. ๐Ÿ“‚ SFTP / SCP File Explorer & Real-Time Progress Bar

  • Dual-Pane File Browser: Visually navigate remote directory trees, download/upload files, and perform directory operations (mkdir, delete).
  • Real-Time Progress Tracking: Floating status bar displaying percentage (%), transfer speed, and transferred vs. total size (MB/GB) for large file transfers.

5. ๐Ÿ–ฅ๏ธ Remote Desktop (RDP) & Auto Credential Injection

  • TCP Socket Pre-check: Verifies port 3389 availability prior to connection.
  • Automatic Credential Store: Seamlessly registers credentials into Windows Credential Manager (cmdkey) and macOS Keychain (security) for zero-prompt auto-logins.
  • Auto Resolution Calculation: Dynamically calculates client viewport bounds to fit RDP sessions.

6. ๐Ÿ—„๏ธ Native Database Management System

  • Multi-Engine Support: Native driver support for MySQL / MariaDB, PostgreSQL (with SSL mode & multi-schema support), Redis Cache, and MongoDB.
  • Database & Table Tree Browser: View databases, custom schemas, tables, and Redis keys in an organized sidebar hierarchy with dynamic database switching.
  • SQL Query Console: Interactive SQL editor with Ctrl + Enter (or Cmd + Enter) execution shortcut.
  • Data Grid & CSV Export: Styled dark-mode data table view with row count breakdown, execution time measurement (ms), and one-click CSV export.

7. ๐Ÿค– DevOps & Database AI Assistant & Multi-Step Playbook Generator

  • Natural Language to DevOps Playbook: Transform natural language requests into structured, multi-step Ansible-like or Bash execution playbooks with safety check commands (Dry-Run / Pre-Check) and automatic rollback commands (LIFO undo stack on failure).
  • Live Server Telemetry Context: Agentless inspection retrieves live remote OS distribution, Kernel, CPU model/cores, RAM availability, Disk partition usage, and installed services (Docker, Node, Python, Nginx, MySQL) to tailor AI responses and scripts to the exact server environment.
  • Flexible Provider Support: Native integration with Google Gemini AI, OpenAI, and Custom Endpoints (Ollama / vLLM / LocalAI / DeepSeek).
  • Auto-Capture Live Screen Context: One-click "๐Ÿ“ฅ Auto-Capture Live Terminal / DB Context" button imports recent terminal lines, active SQL queries, and error stack traces directly into the AI prompt.
  • Resizable & Expandable Workspace: Drag-to-resize drawer handle (400px - 85vw) with a one-click Maximize toggle for spacious playbook editing and terminal logs inspection.
  • Rich Markdown Formatter & Export: Clean HTML/Markdown renderer with syntax highlighting, one-click "Paste to Terminal", and export to Bash (.sh), Ansible (.yml), and JSON Playbook.

8. ๐Ÿ”‘ KeePass-style Password Manager

  • Secure Vault Storage: Encrypt and store unlimited login credentials (Title, Username, Password, URL, Notes) using AES-256-GCM.
  • Built-in Password Generator: Customize password length (8-64 chars) with toggleable Uppercase (A-Z), Numbers (0-9), and Symbols (@#$).
  • Smart Clipboard Actions: One-click copy for Username and Password with instant visual feedback and masked password toggling.

9. ๐Ÿ›ก๏ธ Real-Time TOTP Authenticator (2FA)

  • Standard TOTP Algorithm: Compatible with Google Authenticator / Authy standards via otplib.
  • Live 30-Second Countdown: Interactive visual timer counting down remaining seconds before rotating 6-digit codes.
  • One-Tap Code Copying: Large, spaced digit display (e.g. 123 456) with quick clipboard copying.

10. โšก Parallel Multi-Exec & Snippet Library

  • Command Snippet Storage: Store reusable Shell scripts and SQL queries categorized by tags with one-click multi-exec triggers.
  • Parallel Execution Engine: Execute an SSH command or SQL query simultaneously across multiple selected servers or databases asynchronously.
  • Side-by-Side Output Visualizer: Multi-card grid layout comparing stdout, stderr, execution times (ms), and success/error badges per host in real time.

11. ๐Ÿ›ก๏ธ Session Recording & Security Audit Logs

  • Asciinema v2 Session Recording: Automatically records SSH terminal sessions in standard .cast format (including input/output streams and timing offsets).
  • Built-in Asciinema Session Player: Replay recorded terminal sessions directly in app with Play, Pause, Speed adjustment (1x, 2x, 4x), and seek controls.
  • High-Risk Command Detection: Real-time auditing for SQL queries and SSH commands with automatic risk scoring (CRITICAL / HIGH risk warnings for rm -rf, DROP TABLE, chmod 777).
  • Log Export Options: Export audit trails to .cast or .txt log reports with timestamp integrity.

12. ๐Ÿ“Š Real-Time Server Metrics Dashboard (Agentless)

  • Real-Time Monitoring: Track remote server CPU (%), RAM (%), Disk (/), and Network I/O (KB/s download/upload) dynamically via lightweight SSH commands without installing any server agents.
  • Compact Header Badge & Detailed View: Switch between a compact status bar badge and an expanded progress bar visualizer with color-coded overload alerts (Green -> Amber -> Red).

13. ๐ŸŒ‰ Bastion Jump Host Support (1-3 Hops Multi-Hop Tunneling)

  • Private Subnet Access: Seamlessly route SSH and SFTP connections through up to 3 layers of Bastion/Jump hosts into isolated internal networks.
  • Automatic Tunnel Chaining: Built-in ssh2 forwardOut stream handling handles multi-hop SSH authentication automatically.

14. ๐Ÿ’ก Shell Smart Assistant & Log Anomaly Detection

  • Intelligent Auto-Completion: Dynamic command recommendations bar built from shell command history, environment variables, and Linux/Kubernetes/Docker CLI templates.
  • Log Anomaly Detection: Real-time stream monitor flags critical error keywords (OutOfMemory, OOMKilled, Connection Refused, Segmentation Fault, FATAL ERROR) with immediate red alert banners.

15. ๐Ÿ—„๏ธ Visual ERD, Schema Diff & Visual Query Builder

  • Visual ERD Diagram: View interactive database schema relationships, Primary Keys (PK), Foreign Keys (FK), and column data types.
  • Environment Schema Diff & Migration Generator: Compare database schemas between 2 environments (e.g. Dev vs Staging) and automatically generate SQL migration scripts.
  • Visual SQL Query Builder: Drag-and-drop table selection, column pickers, JOIN links, and WHERE filter builders generate standardized SQL queries without typing SQL by hand.

16. ๐Ÿ“ฆ Advanced Data Pump & Cloud/Container Ecosystem

  • Streaming Dump & Restore: High-performance database dump and restore supporting SQL DDL/DML, JSON, and Parquet columnar formats with optional AES-256 stream encryption.
  • Docker & Kubernetes Panel: View running Docker containers and Kubernetes Pods, inspect real-time logs, and launch 1-click docker exec / kubectl exec interactive shell terminals.
  • Cloud Infrastructure Explorer: Connect AWS, GCP, and Azure APIs to view Virtual Machines/Instances and connect via 1-click SSH/RDP.

17. ๐Ÿ›ก๏ธ Command Guard & Tamper-Evident Audit Logs (ISO 27001 / SOC 2)

  • Command Guard Approval Workflow: Requires Master Passphrase or 6-digit TOTP authentication before executing destructive commands (DROP DATABASE, systemctl stop, rm -rf).
  • Tamper-Evident Audit Logs: Compute SHA-256 HMAC checksums for every audit log entry to ensure tamper resistance and compliance readiness.

18. ๐ŸŽจ Modern UI/UX Redesign & Workspace Layout

  • Two-Pane Activity Sidebar: A professional Activity Rail (Servers, Security, Databases, DevOps) with a dynamic secondary panel reduces visual clutter.
  • Modern Aesthetic & Glassmorphism: Deep dark theme with beautiful frosted glass (backdrop-filter) top bars and modern browser-style tab management.
  • Quick Server Cloning: One-click "Clone Server" functionality instantly duplicates configurations for rapid infrastructure deployment.

19. โ˜๏ธ S3 / Cloud Object Storage Explorer

  • Native S3 Integration: Extending our file manager to natively support AWS S3, Google Cloud Storage, MinIO, and DigitalOcean Spaces for direct object storage manipulation.

20. ๐Ÿš‡ SSH Tunnel & Port Forwarding Manager

  • Visual Tunnel Manager: A visual manager for Local, Remote, and Dynamic SOCKS5 Port Forwarding to seamlessly connect to internal databases/services behind Jump Hosts.

21. ๐Ÿ“Š Multi-Log Tail & Centralized Log Aggregator

  • Real-time Log Streaming: Group and stream real-time logs (tail -f) from multiple SSH servers simultaneously on a single dashboard, complete with regex filtering and color-coded alerts.

22. ๐Ÿค Team Collaboration & Encrypted Vault Sharing

  • E2EE Team Cloud Sync: Securely sync, export, and share workspaces, connection lists, and command snippets with your team via GitHub Gist or Amazon S3 using end-to-end encrypted channels.

23. ๐Ÿ”Œ Plugin System & Custom Connectors

  • Dynamic Node.js Plugin Hooks: A lightweight JavaScript/TypeScript hooks mechanism allowing the community to build and load custom connectors for anything, like Elasticsearch, ClickHouse, Apache Kafka, or custom proprietary internal tools.

24. ๐ŸŒ Integrated Network Diagnostics Suite

  • Pre-Connection Validation: Instantly test server/database network connectivity (Ping latency, trace routes, look up DNS records, or scan specific ports) directly from the Server/DB configuration modal before launching SSH, RDP, or Database clients.
  • Auto-Populated Targets: Hostnames and IP addresses are automatically synchronized with the server profile configuration form for a frictionless diagnostic workflow.

25. ๐Ÿค– Terminal AI Autofix & Error Explainer (Bilingual EN/VI)

  • Intelligent Diagnostics & OS Detection: Automatically detects target server OS (Rocky Linux 9, RHEL, Ubuntu, Debian, Alpine) and captures real-time terminal output without requiring manual copying. Contextually analyzes command failures (command not found, missing arguments, syntax errors, service failures, permission/OOM errors).
  • 1-Click Autofix & Clean Markdown: Generates distribution-tailored corrected commands (dnf/yum vs apt/apk) formatted in clean dark-theme code blocks with 1-click execution and copy buttons.

26. โ›ต Advanced Helm Release & CRD Explorer for Kubernetes

  • Helm Charts Management: Visual management dashboard to search, install, upgrade, rollback (with revision histories), or uninstall Helm releases in a namespace directly from the 3-Pane explorer.
  • CRD Schema Inspector: Hierarchical inspection of Custom Resource Definitions (CRDs) including API Groups, Scope types, and OpenAPI v3 validation specs.

27. ๐Ÿ“‘ Quick Commands Library & User Custom Command Manager

  • Bilingual Preset Commands: Built-in template repository tailored for popular OSes (Red Hat, CentOS, Ubuntu, Debian) and common production software (PostgreSQL, Patroni, HAProxy, Keepalived, Kafka, MongoDB, Redis, MySQL, Vault, GitLab).
  • Command Customization: Add, edit, and delete personal commands saved locally in persistent localStorage and shared instantly across sessions.
  • 1-Click Execution & Copy: Double-action triggers support copying command blocks or direct injection & execution into SSH sessions with smart line-break auto-detection.

28. ๐Ÿ–ฑ๏ธ Native In-Terminal Context Menu & Smart Shortcuts

  • Right-Click Context Menu: Direct 1-click menu inside the SSH terminal window for Copy, Paste, Select All, and Clear Buffer.
  • Standard Keybindings & Middle-Click Paste: Full support for Ctrl+C (on selection), Ctrl+Shift+C (copy), Ctrl+V / Ctrl+Shift+V (paste), and mouse middle-click paste.
  • Smart Auto-Completion: Intelligent prefix-matching and sanitation that prevents command duplication and automatically removes accidental editor exit typos.

29. ๐Ÿ‘๏ธ Password Visibility Toggles (Show / Hide Password)

  • Visual Password Verification: Integrated eye toggle icons (๐Ÿ‘๏ธ / ๐Ÿ‘๏ธโ€๐Ÿ—จ๏ธ) across all credential fields (Master Vault Passphrase, SSH ReAuth, Server Passwords, SSH Key Import Passphrase, Command Guard Approvals, and HashiCorp Vault / AI API Keys).

30. โŒจ๏ธ Interactive Ghost-Text Inline Autocomplete (Fig / Warp style)

  • Real-Time Predictive Overlay: Ghost-text suggestions appear directly in the terminal cursor coordinates based on command history and system context.
  • 1-Key Acceptance: Press Tab or Right Arrow (โ†’) to accept suggestions immediately; press Esc to dismiss.

31. ๐Ÿ›ก๏ธ Workspace & Environment Isolation

  • Color Tagging & Visual Boundaries: Color indicators on the server list and tabs (Production = Red, Staging = Yellow, Dev = Green).
  • Production Danger Zone Warning: Fullscreen red glowing perimeter and top warning banner alert to prevent catastrophic unintended command execution on live production servers.

32. ๐Ÿ“ก Quick Web-based Remote Share (Live Pairing & Real-Time Viewer Tracking)

  • Zero-Trust Host Permission Control: Strict server-side validation ensures only the Host can dictate Read-Only or Interactive rights; prevents client-side URL tampering or unauthorized keyboard input injection.
  • P2P Real-Time Streaming: Share live terminal sessions via WebRTC with 256-bit cryptographically secure token handshakes.
  • Live Viewers & IP Address Tracker: Real-time online viewer counter with a non-intrusive toolbar dropdown popover displaying connected remote IP addresses, platforms, and join timestamps.
  • Dynamic Mode Switching: Instantly toggle between Read-Only and Interactive modes with immediate real-time permission synchronization to all connected viewers.

33. ๐Ÿ“ Custom UI Density (Compact Mode)

  • Optimized for Small Screens: Easily switch to Compact Mode in Settings to reduce toolbar heights, sidebar widths, and tab paddings for maximum terminal real-estate.

34. ๐Ÿ”„ Responsive Window Resizing & Viewport Auto-Fit

  • Seamless Screen Transitions: Automatically recalculates PTY window dimensions (cols & rows) with debounce when toggling between fullscreen and windowed modes.
  • Auto-Scroll to Cursor/Prompt: Guarantees bottom-line prompt visibility and prevents active command lines from getting cut off when shrinking the application window.

๐Ÿ”ฎ Roadmap & Future Features

We are constantly expanding OmniTerminal. Stay tuned for upcoming features!


๐Ÿ› ๏ธ Tech Stack

  • Core Framework: Electron + React 18 + TypeScript + Vite
  • Terminal Engine: @xterm/xterm, @xterm/addon-fit, @xterm/addon-web-links
  • Network & Database Drivers: ssh2, ssh2-sftp-client, mysql2, pg, ioredis
  • Icons & UI: Lucide React, Custom Dark Mode Design System
  • Security: Node.js Crypto (crypto.pbkdf2Sync, crypto.createCipheriv AES-256-GCM)

๐Ÿš€ Installation & Getting Started

Prerequisites:

  • Node.js: version >= 18.0.0
  • npm / yarn / pnpm

Quick Start:

  1. Clone the repository and install dependencies:

    git clone https://github.com/hellendaothanh/terminal.git
    cd terminal
    npm install
  2. Run in Development Mode:

    npm run dev
  3. Build & Package for Production:

    npm run build

โŒจ๏ธ Useful Keyboard Shortcuts

Shortcut (Mac / Windows) Action
Cmd + B / Ctrl + B Toggle Collapse/Expand Left Server Sidebar
Cmd + Enter / Ctrl + Enter Execute SQL query in Database Console
Cmd + C / Ctrl + Shift + C / Ctrl + C (Selection) Copy selected text from SSH Terminal
Cmd + V / Ctrl + V / Ctrl + Shift + V Paste text into SSH Terminal
Middle Click / Right Click Paste from Clipboard / Open Terminal Context Menu
Esc Close active modals

๐Ÿ“ Project Structure

terminal/
โ”œโ”€โ”€ electron/                   # Electron Main & Preload Processes
โ”‚   โ”œโ”€โ”€ main.ts                 # Main Process Entry Point & IPC Handlers
โ”‚   โ”œโ”€โ”€ preload.ts              # Secure Preload Script (Exposing window.api)
โ”‚   โ””โ”€โ”€ services/               # Backend encryption, network, DB & AI services
โ”‚       โ”œโ”€โ”€ AuditLogService.ts  # Audit log management & HMAC checksums
โ”‚       โ”œโ”€โ”€ SSHTunnelService.ts # SSH local/remote/dynamic forwarding tunnels
โ”‚       โ”œโ”€โ”€ aiService.ts        # Gemini, OpenAI & Custom Model REST API integration
โ”‚       โ”œโ”€โ”€ databaseService.ts  # Drivers for MySQL, PostgreSQL & Redis
โ”‚       โ”œโ”€โ”€ hashicorpVaultService.ts # HashiCorp Vault REST API integration
โ”‚       โ”œโ”€โ”€ logTailService.ts   # Real-time multi-log streaming service
โ”‚       โ”œโ”€โ”€ netDiagnosticsService.ts # Network diagnostics utility (Ping, DNS, Port scan, etc.)
โ”‚       โ”œโ”€โ”€ pluginService.ts    # Lightweight JS/TS plugin hook manager
โ”‚       โ”œโ”€โ”€ rdpService.ts       # RDP session & credential injection
โ”‚       โ”œโ”€โ”€ s3Service.ts        # S3 & cloud object storage operations
โ”‚       โ”œโ”€โ”€ sftpService.ts      # SFTP file transfer & progress events
โ”‚       โ”œโ”€โ”€ sshService.ts       # SSH2 PTY stream management
โ”‚       โ”œโ”€โ”€ teamSyncService.ts  # E2EE Gist/S3 synchronization
โ”‚       โ””โ”€โ”€ vaultService.ts     # AES-256-GCM vault encryption
โ”œโ”€โ”€ src/                        # React Frontend (Renderer Process)
โ”‚   โ”œโ”€โ”€ App.tsx                 # Main layout, tab management & modals
โ”‚   โ”œโ”€โ”€ components/             # React UI Components
โ”‚   โ”‚   โ”œโ”€โ”€ AIAssistantDrawer.tsx # Docked AI Assistant Side Panel
โ”‚   โ”‚   โ”œโ”€โ”€ AuditLogManager.tsx # Tamper-Evident audit log console
โ”‚   โ”‚   โ”œโ”€โ”€ CloudExplorer.tsx   # Cloud VMs & instance explorer
โ”‚   โ”‚   โ”œโ”€โ”€ CommandGuardApprovalModal.tsx # Destructive actions auth guard
โ”‚   โ”‚   โ”œโ”€โ”€ CustomConnectorPanel.tsx # Interface for plugins & connectors
โ”‚   โ”‚   โ”œโ”€โ”€ Dashboard.tsx       # System health, quick sessions & overview
โ”‚   โ”‚   โ”œโ”€โ”€ DataPump.tsx        # High-performance DB streaming export/import
โ”‚   โ”‚   โ”œโ”€โ”€ DatabaseExplorer.tsx  # Database Browser & Query Console
โ”‚   โ”‚   โ”œโ”€โ”€ DockerK8sPanel.tsx  # Containers & Pods dashboard
โ”‚   โ”‚   โ”œโ”€โ”€ ERDAndSchemaDiff.tsx  # Visual ERD & DB comparison tool
โ”‚   โ”‚   โ”œโ”€โ”€ ImportExportModal.tsx # Vault backups import & export
โ”‚   โ”‚   โ”œโ”€โ”€ KeyManagerModal.tsx # SSH key pair generator & vault
โ”‚   โ”‚   โ”œโ”€โ”€ LockScreen.tsx      # Secure app lock panel
โ”‚   โ”‚   โ”œโ”€โ”€ LogAggregator.tsx   # Multi-log tail aggregator dashboard
โ”‚   โ”‚   โ”œโ”€โ”€ MultiExecManager.tsx # Parallel command runner panel
โ”‚   โ”‚   โ”œโ”€โ”€ OTPManager.tsx      # Real-time TOTP 2FA Authenticator
โ”‚   โ”‚   โ”œโ”€โ”€ PasswordManager.tsx # KeePass-style Password Manager
โ”‚   โ”‚   โ”œโ”€โ”€ PluginManagerModal.tsx # Plugin list & configuration modal
โ”‚   โ”‚   โ”œโ”€โ”€ RDPViewer.tsx       # Remote Desktop Window
โ”‚   โ”‚   โ”œโ”€โ”€ ReAuthModal.tsx     # Session timeout re-authentication modal
โ”‚   โ”‚   โ”œโ”€โ”€ S3Explorer.tsx      # Cloud object storage browser
โ”‚   โ”‚   โ”œโ”€โ”€ SFTPExplorer.tsx    # Dual-pane SFTP Browser
โ”‚   โ”‚   โ”œโ”€โ”€ SSHTerminal.tsx     # Xterm SSH Terminal Window
โ”‚   โ”‚   โ”œโ”€โ”€ SSHTunnelManager.tsx # SSH port forwarding config UI
โ”‚   โ”‚   โ”œโ”€โ”€ ServerMetricsDashboard.tsx # Agentless server metrics visualizer
โ”‚   โ”‚   โ”œโ”€โ”€ ServerModal.tsx     # Server profile creator & editor
โ”‚   โ”‚   โ”œโ”€โ”€ SettingsModal.tsx   # Customization & app configurations
โ”‚   โ”‚   โ”œโ”€โ”€ ShellSmartAssistant.tsx # CLI auto-complete assistant
โ”‚   โ”‚   โ”œโ”€โ”€ Sidebar.tsx         # Server & Security list (supports 50px mini-bar mode)
โ”‚   โ”‚   โ”œโ”€โ”€ TabBar.tsx          # Multi-process Tab Bar
โ”‚   โ”‚   โ”œโ”€โ”€ TeamSyncModal.tsx   # Gist/S3 E2EE synchronization UI
โ”‚   โ”‚   โ””โ”€โ”€ TopBar.tsx          # 80px padded header bar for macOS
โ”‚   โ”œโ”€โ”€ types/                  # TypeScript Interfaces & API types
โ”‚   โ””โ”€โ”€ index.css               # Dark Mode Design System
โ”œโ”€โ”€ vite.config.ts              # Vite & Rollup configuration
โ””โ”€โ”€ package.json                # Dependencies & Build scripts

๐Ÿ›ก๏ธ Security Auditing & Best Practices

To ensure OmniTerminal runs securely and without vulnerabilities, follow these tools and practices:

1. Dependency Vulnerability Audits

Run the built-in security auditing script to check for known vulnerabilities in external libraries:

npm run lint:security

This runs npm audit underneath and scans installed packages.

2. Static Code Analysis (SAST)

We use eslint-plugin-security to scan project code for security hotspots (e.g., vulnerable regex patterns, insecure imports, unsafe execution points):

  1. Configure your IDE to run ESLint with the security ruleset active.
  2. Run ESLint locally to scan the workspace.

3. Electron Hardening Rules

  • Context Isolation: Enabled (contextIsolation: true in Electron main process config) to isolate renderer processes from raw Node.js API execution.
  • Preload Scripting: Node.js capabilities are exposed safely to the renderer via contextBridge.revealInMainWorld in preload.ts.
  • Command Sanitization: Ensure inputs are sanitized before calling system-level handlers in database, SSH, and RDP connectors.

๐Ÿ“„ License

Distributed under the MIT License.

About

Cross-platform Electron desktop app for Server, SSH, SFTP, RDP & Database management (MySQL, Postgres, Redis, MongoDB) with Hashicorp Vault & AI Assistant.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages