$ show gnmyt/Nexterm
Nexterm is a comprehensive remote server management platform enabling connections via SSH, VNC, RDP, web, SFTP, and FTP protocols. It features a multi-layer architecture with web (React), mobile (Flutter), desktop (Tauri), and CLI (Rust) clients communicating with a Node.js/Express server and C-based connection engine. The platform provides session management, organization-based access control, audit logging, script execution, file management, monitoring, and AI-assisted command generation. Real-time updates are facilitated through WebSocket connections, with data persistence handled via Sequelize ORM supporting PostgreSQL, MySQL, and SQLite databases.
The LLM identified 8 files worth highlighting for reuse:
Abstracts HTTP requests with automatic fallback between standard fetch and Tauri-native implementations. Provides a clean, reusable interface for API calls that handles platform-specific differences transparently. Demonstrates skill in cross-platform abstraction with minimal dependencies.
Implements a publish/subscribe pattern for broadcasting state changes to connected WebSocket clients. Efficiently manages client subscriptions, message distribution, and connection lifecycle. Shows expertise in real-time communication patterns with proper memory leak prevention.
Provides secure encryption and decryption utilities for sensitive data like API keys and credentials. Implements proper key management and initialization vector handling. Demonstrates cryptographic best practices in a reusable, isolated module.
Constructs efficient FlatBuffers messages for communication between server and engine components. Handles serialization of various command types with proper schema adherence. Shows skill in binary protocol design for performance-critical inter-process communication.
Centralizes permission checking logic with support for role-based access control, organization scopes, and resource-level permissions. Implements complex authorization hierarchies in a clean, testable manner. Demonstrates expertise in access control systems.
Manages user sessions and connection states with WebSocket integration. Handles session creation, persistence, distribution, and cleanup across multiple connection types. Shows skill in managing complex state with real-time synchronization.
Provides a reusable toast notification system using React Context API. Implements proper cleanup, positioning, and animation handling. Demonstrates clean React patterns for UI feedback mechanisms.
Abstracts file system operations for consistent behavior across web and Tauri desktop environments. Implements a unified interface for file operations that handles platform-specific differences. Shows skill in cross-platform file system abstraction.