XMRig CryptoMining Manager is a lightweight Windows console application written in C that automatically launches, monitors, and manages an XMRig mining process. It uses the Windows API and WinHTTP to interact with XMRig’s built-in HTTP API, detect crashes, and gracefully handle shutdowns.
عن هذا المشروع
🪙 XMRig CryptoMining Manager XMRig CryptoMining Manager is a lightweight Windows console application written in C that automatically launches, monitors, and manages an XMRig mining process. It uses the Windows API and WinHTTP to interact with XMRig’s built-in HTTP API, detect crashes, and gracefully handle shutdowns. ⚙️ Features ✅ Automatic XMRig launch Starts the XMRig miner with specified arguments using the Windows API (CreateProcessW). ✅ Crash detection & auto-restart Monitors the miner process using GetExitCodeProcess() and automatically restarts it if it crashes. ✅ API polling Connects to XMRig’s HTTP API (/1/summary) using WinHTTP to fetch live status updates (hashrate, uptime, etc.). ✅ Graceful shutdown Handles Ctrl+C or console close events (CTRLCEVENT, CTRLCLOSEEVENT) and stops XMRig safely. ✅ Simple configuration All miner settings (path, API host/port, polling interval) are defined as constants at the top of the code for easy modification. 🧩 Technical Overview Component Description -------------------- ------------------------------------------------------------------- Language C (WinAPI) Libraries windows.h, winhttp.h, signal.h
من ملف README الخاص بالمشروع على
GitHub
- النجوم
- 10
- التفريعات
- 1
- الرخصة
- MIT
- آخر تحديث
- 19/10/2025
أضف هذه الشارة إلى ملف README
أظهر أن مشروعك مُدرج على «صُنع في الجزائر».
[](https://www.madeinalgeria.dev/projects/xmrig-cryptomining-manager)