DEV Community

KeyVibe
KeyVibe

Posted on

How I built a 20MB Native C# alternative to a 100MB+ Electron app

Hi everyone! 👋

I love the sound of mechanical keyboards, and sometimes I use software to emulate those sounds when typing on a quiet laptop. But I noticed a frustrating trend: most popular apps for this (like Mechvibes) are built on Electron.

They consume over 100MB of RAM just to play simple .wav files in the background! As a developer who cares about optimization, that felt like a huge waste of resources.

So, I decided to build my own solution using Native C#.

Enter KeyVibe ⌨️

KeyVibe is a native utility app that plays customizable mechanical keyboard sounds while you type.

Key Features:

  • 📉 Ultra-Lightweight: It uses only ~20MB of RAM and <1% CPU.
  • Zero Latency: By using low-level global keyboard hooks in C#, the sound feedback is instant.
  • 🎨 Customizable: You can map different sounds to specific key groups.

Try it out!

My newly completed project. Sharing for anyone interested in saving some RAM!

📥 Download: https://github.com/KeyVibeOfficial/KeyVibe/releases/
🛡️ Security: To save you any worries about running a new .exe, here is the VirusTotal scan (0/71 clean): https://www.virustotal.com/gui/file/698d0d0877646eee5afc40d793c3c5b99df86d8c087fadca886e1c0f33e9ff4f/detection
I'd love to hear your feedback! Let me know what you think.

Top comments (0)