CorePulse Pro is a high-performance, cross-platform desktop application designed to provide real-time hardware diagnostics, active process manipulation, and automated system file optimization. Built with a decoupled, asynchronous architecture, the application bridges a modern, responsive web user interface with low-level native operating system operations.
- Asynchronous Native IPC Bridge: Implements a strict, secure Electron Inter-Process Communication (IPC) architecture. By disabling direct
nodeIntegrationand leveraging isolatedcontextBridgepreloads, the frontend securely communicates with the Node.js runtime via unidirectional and bidirectional handlers without exposing the rendering engine to core security vulnerabilities. - Real-Time Hardware Telemetry: Features a dynamic, low-overhead hardware polling system that queries the OS kernel every 2000ms. Utilizing advanced hardware diagnostics, it tracks live multi-core CPU utilization spikes and active physical RAM allocation dynamics, calculating real-time consumption data alongside available system memory overhead.
- Kernel Task Controller Engine: Houses an active thread management console that dynamically aggregates background system tasks. It processes, sorts, and lists top active resource threads descending by memory footprint. The architecture exposes native
SIGKILLcapabilities, enabling developers to explicitly target and terminate unresponsive processes directly via specific Process IDs (PIDs). - Robust Cache Optimization Loop: Features an automated system optimizer designed to read and clear volatile temporary storage directories asynchronously using promise-based filesystem streams (
fs/promises). The execution loop incorporates native error boundaries to seamlessly identify and skip locked, active, or permission-restricted system files (EPERM,EACCES,EBUSY) without halting the master processing thread, providing clear UI feedback on successful deletions versus skipped entries. - Production-Grade Cyberpunk UI: Designed with a custom, high-contrast dark dashboard layout built entirely in React. The interface prioritizes scannability at a glance, leveraging strict layout constraints, clean data tables for process listing, interactive feedback states for background actions, and color-coded status micro-indicators.
- Frontend Interface: React.js, TypeScript, HTML5, CSS3 (Inline CSS-in-JS Architecture)
- Desktop App Wrapper: Electron.js (Main/Renderer Process Isolation, Preload Scripts)
- Backend & System Integration: Node.js,
systeminformationAPI, Native OS Process Signals,fs/promises - Build Tooling: Vite, Electron Forge / Squirrel Framework
+-----------------------+ | React Frontend UI | +-----------------------+ | | (Polled requests every 2000ms via window.electronAPI) v +-----------------------+ | Preload Context Bridge| +-----------------------+ | | (Secure, isolated IPC channels) v +-----------------------+ | Electron Main Process | ------> [ Node.js Runtime & OS Kernel ] +-----------------------+ |-- si.currentLoad() / si.mem() |-- process.kill(pid) |-- fs.readdir() / fs.unlink()