I Rewrote My Electron App in Tauri โ€” and Claude Did 100% of the Work in Under 24 Hours ๐Ÿš€
DEV Community

I Rewrote My Electron App in Tauri - and Claude Did 100% of the Work in Under 24 Hours ๐Ÿš€

TL;DR

  • ๐Ÿ•ฐ๏ธ Then: I built google-chat-electron by hand, over months, reading tutorial after tutorial.
  • โšก Now: I rebuilt the whole thing as google-chat-tauri in less than 24 hours - and I did not write the code. Claude did.
  • ๐Ÿฆ€ Plot twist: I don't know Rust. Not a little - at all. The AI wrote every line of it.
  • ๐Ÿ“ฆ Result: a ~3 MB Linux installer instead of a bundled Chromium.
  • ๐Ÿงช Status: pre-release. Fun project. Stable version coming after real-world testing.

Let's dive in. ๐Ÿ‘‡

The Electron Era: Months of Honest, Manual Labour ๐Ÿ˜…

A few years ago I wanted Google Chat in a real window - with a tray icon, an unread badge and native notifications - instead of a browser tab that disappears among thirty other browser tabs. So I built it. In Electron. By hand. And it took months.

Not because Electron is bad, but because every single thing was a tutorial:

  • How do I make a tray icon that actually behaves?
  • How do I keep the app alive when the window closes?
  • How do I intercept a link and open it in the real browser?
  • How do I package a .deb? A .dmg? An installer for Windows?
  • Why does this work on my machine and nowhere else? ๐Ÿ™ƒ

Every answer was a blog post, a GitHub issue thread, or a Stack Overflow reply from 2017 that almost applied. It shipped, people used it, and I was genuinely proud of it.

The Tauri Rewrite: One Evening, One Prompt Loop ๐Ÿค–

Last week I opened Claude Code and asked it to port the app to Tauri v2. I did not open the Rust book. I did not read the Tauri docs. I described what the app should do, reviewed what came back, ran it on my actual laptop, and reported what broke.

Timeline

Time What happened
15:42 git init
17:01 Full Electron โ†’ Tauri v2 port committed
17:25 Desktop notifications working
< 24h later v0.0.1 tagged and released ๐ŸŽ‰

38 commits. ~3,600 lines of Rust and JavaScript. Zero lines typed by me.

This is what people mean by vibe coding - and honestly, it felt less like programming and more like directing. My job became: describe the behaviour, test it on real hardware, and say "the tray icon doesn't come back on Wayland." The AI handled the rest.

โš ๏ธ The honest caveat: AI wrote it, but a human ran it. Almost every real bug was a platform behaving differently from its own documentation - the kind of thing no model can find by reading docs. That part still needs a person with a laptop and some patience.

Tauri vs Electron: Why the Rewrite Was Worth It โš–๏ธ

Here's the thing - Electron ships an entire Chromium browser with your app. Tauri doesn't. It uses the web engine your operating system already has: WebKitGTK on Linux, WKWebView on macOS, WebView2 on Windows.

| โš›๏ธ Electron | ๐Ÿฆ€ Tauri v2 |
|-------------|-------------|
| Browser engine | Ships its own Chromium | Uses the OS web engine |
| Linux installer size | ~80-100 MB | ~3 MB ๐Ÿคฏ |
| Backend language | Node.js | Rust |
| Memory footprint | Heavy - it's a browser | Noticeably lighter |
| Startup | Boot a Chromium | Boot a native window |
| Security model | Opt-in hardening | Capability-based by default |

The size difference is the headline number, but the one you feel every day is startup and memory. You're not launching a second Chrome just to read messages from your team. The window opens like a native window, because it basically is one.

The trade-off? You inherit the OS web engine's quirks - WebKitGTK on Linux behaves differently from Chromium, and you find that out the hard way. Which is exactly what the testing phase is for.

What the App Actually Does โœจ

This isn't a "hello world in a webview." It's a real desktop client:

  • ๐Ÿ”ด Unread indicator - a dot on the tray icon, the count in the window title, and a badge on the macOS dock or Windows taskbar.
  • ๐Ÿ”” Desktop notifications - with sound. On Linux, clicking one brings the window back.
  • ๐Ÿ—‚๏ธ Lives in the tray - closing the window hides it; the app keeps running and keeps notifying.
  • ๐ŸชŸ Remembers your window - size, position and maximised state come back where you left them.
  • 1๏ธโƒฃ Single instance - launching again just focuses the window you already have.
  • ๐Ÿ“‹ Native menu bar - File, Edit, View, History, Preferences, Help, with zoom that persists between launches.
  • ๐Ÿš€ Launch at login - optional, plus "start hidden in the tray."
  • โŒจ๏ธ Keyboard shortcuts - Ctrl+F to search, Ctrl + / - / 0 to zoom, Alt+โ† / Alt+โ†’ to navigate, Ctrl+W to hide to tray.
  • ๐ŸŒ Links open in your real browser - a Docs, Sheets or Calendar link opens where your extensions and logins already live. Only Chat stays in the window.
  • ๐Ÿ” Signs in normally - personal Google accounts and paid Workspace accounts, in any country.
  • ๐Ÿ“ก Says when it can't reach Chat - instead of a blank web engine error page.
  • ๐Ÿงฏ A way back from a wedged session - Help โ†’ Reset App Data signs you out, resets every preference and restarts clean.
  • No analytics. No auto-updater installing things behind your back - it just asks GitHub once a day whether a newer release exists and tells you. You can turn that off.

๐Ÿ™Œ Available for Linux (.deb + .AppImage), macOS (universal .dmg) and Windows (.exe).

Where Things Stand ๐Ÿšง

Let me be very clear about this part:

  • ๐ŸŽˆ This is a fun project. It scratches an itch. It is not a startup.
  • ๐Ÿฆ€ I don't know Rust. If you open an issue about a borrow checker decision, the AI made it, not me.
  • ๐Ÿงช It's still pre-release. v0.0.1. Linux is where it's been tested most; macOS and Windows builds exist and need real users on real machines.
  • โœ… A stable release is coming once it's been properly tested in the wild.

If you use Google Chat on the desktop and you're feeling brave, try it and tell me what breaks. That's genuinely the most useful thing right now. ๐Ÿ›

The Takeaway ๐Ÿ’ญ

Months of manual work, then a full rewrite in a different language, on a different framework, in under a day - by someone who can't write that language. That's not a flex about me. It's a data point about where tooling is in 2026.

The hard part of this project was never typing the code - it was knowing what the app should do and checking it against reality. AI took the first job. The second one is still ours. ๐Ÿค

Links ๐Ÿ”—


Unofficial app. Not affiliated with, endorsed by, or sponsored by Google. "Google Chat" and the Chat logo are trademarks of Google LLC.

Have you migrated an Electron app to Tauri? Or vibe-coded something bigger than you expected? Drop it in the comments - I'd love to read about it. ๐Ÿ‘‡

Read on DEV Community ↗ ← Back to News

Comments

No comments yet. Start the discussion.