DEV Community

Cover image for Stop Switching Tabs: I Built a Lightweight Rust/Tauri Menu Bar App to Summon Gemini for Instant Debugging🐤
hiyoyo
hiyoyo

Posted on

Stop Switching Tabs: I Built a Lightweight Rust/Tauri Menu Bar App to Summon Gemini for Instant Debugging🐤

šŸ’» The Struggle: Coding on a 10-Year-Old Mac
I’m still using a MacBook from 10 years ago. It’s a great machine and I love the keyboard, but modern browsers are memory hogs.

Whenever I hit a bug, I used to follow this tedious routine:
1.Open a new browser tab.
2.Wait for the heavy UI of AI tools to load.
3.Paste my error and wait for the response while my Mac's fans scream at max volume.

It felt like every time I tried to solve a problem, I was losing my "flow state." I needed something lighter, faster, and native.

🐤 Introducing: HIYOKOHELPER
To solve this, I built HIYOKOHELPER, a minimalist menu bar assistant powered by Rust and Tauri. It brings the power of Gemini AI directly to my desktop without the overhead of a web browser.

🐤 Why Rust and Tauri?
If you're using an old machine, every megabyte of RAM counts. I chose Tauri for a few reasons:

1.Tiny Footprint: Unlike Electron, which bundles a whole Chromium instance, Tauri uses the OS-native WebView.
2.Performance: Rust handles the background tasks with incredible speed and safety.
3.Startup Speed: It pops up instantly when I need it and hides away when I don't.

The result? A dev tool that runs smoothly even on hardware from a decade ago.

šŸ›  Key Features for Developers
I added three specific features to make my daily coding life easier:

  1. Auto Monitor (Clipboard Error Detection) šŸ“‹
    This is my favorite feature. When enabled, the app monitors my clipboard. If I copy an error message from my terminal or IDE, HIYOKOHELPER is already prepared to help. No more manual copying and pasting back and forth.

  2. Bring Your Own API Key (Gemini Pro Support) šŸ”‘
    The app allows you to input your own Gemini API key. This means you can use Gemini 1.5 Pro or any other model Google offers in their developer tier. It’s private, cost-effective (often free for personal use), and fast.

  3. Native & Always Ready āš™ļø
    With the "Auto Start" feature, the app is ready the moment I log in. It sits quietly in the menu bar, waiting for me to "summon" it.

🌟 Conclusion: Old Hardware, Modern AI
Working on an old machine doesn't mean you have to miss out on the latest AI breakthroughs. By choosing the right tech stack—Rust and Tauri—I was able to build a tool that makes my 10-year-old Mac feel like a modern powerhouse.

If you find yourself constantly distracted by browser tabs while debugging, I highly recommend building (or finding) a native desktop assistant. It’s a game-changer for your focus!

Top comments (0)