r/tauri • • 3h ago

I built AntiPod — a native Rust + Tauri v2 launcher to run multiple isolated Google Antigravity accounts on Windows

1 Upvotes

Hi everyone,

If you use Google Antigravity (IDE or Standalone App) across multiple Google accounts on Windows, running them side-by-side is painful: sessions and cookies collide, opening the same repo causes `.git/index.lock` errors, Chromium ignores `user:pass` in `--proxy-server`, and OAuth links always hijack your default browser.

So I built **AntiPod**, an open-source (Apache-2.0) Windows launcher in **Rust + Tauri v2** to handle all of this cleanly:

* **Full profile isolation:** separate `user-data`, `home`, optional `extensions`, and per-profile `titlebar_color` so you don't mix up windows.

* **Win32 Job Objects & Window Focus:** clicking Stop cleanly kills the entire process tree; clicking Focus restores and brings a specific account's window to the front.

* **Automatic Git Worktrees:** opening the same Git repo in two profiles automatically spawns a separate worktree for the second one.

* **Local HTTP/HTTPS/SOCKS5 Proxy Bridge:** spins up a local `127.0.0.1` bridge per profile to inject `Proxy-Authorization` or handle SOCKS5 handshakes + DNS leak protection, with built-in IP/latency testing.

* **OAuth Capture + Antidetect Local APIs:** routes IDE OAuth sign-in URLs to clipboard and directly into an active browser profile via CDP (`/json/new`) — supports MostLogin, AdsPower, Dolphin{anty}, Octo, GoLogin, BitBrowser, Undetectable, Linken Sphere, and Multilogin (even per-profile), plus custom `.exe` browsers.

* **Portable mode & CLI:** drop a `portable.flag` next to `AntiPod.exe` to keep everything self-contained, or manage profiles from PowerShell via `antipod-cli`.

All binaries are built publicly via GitHub Actions with `SHA256SUMS.txt` and VirusTotal links on every release.

* **GitHub:** https://github.com/pirotehnikng-cloud/antipod

* **Deep-dive write-up on Dev.to:** *(вставьте сюда ссылку на вашу опубликованную статью на Dev.to)*

Would love any feedback on the Rust/Tauri architecture or ideas for what to improve next!


r/tauri • • 22h ago

Moving our desktop client from electron to tauri. Very nice so far!

Post image
4 Upvotes

r/tauri • • 1d ago

Built a DAW on Tauri 2: Rust engine, SolidJS UI (I think it is perfect stack)

Thumbnail
gallery
25 Upvotes

I'm building Synkopa, a DAW where Tauri connects a real-time Rust audio engine to a SolidJS UI. It's mature enough now that I make full tracks in it: FL-style channel rack, piano roll and playlist, a mixer with 21 effects, VST3 and audio recording.

What made Tauri work for real-time:

  • Edits go through invoke as small ops. The engine applies them and emits the project as a state event. During a drag the UI applies changes locally and sends one batch per animation frame.
  • Meters, playhead and spectrums use a Channel with raw bytes (InvokeResponseBody::Raw), one binary frame at 60 Hz. The JS side reads it with a DataView into reused objects, so there's no JSON and no GC pressure.
  • The audio thread never waits on the webview. It talks to the rest of the app only through lock-free rings and atomics.

Result vs FL Studio 20.7 on the same PC:

SynkopaFL Studio
Open a large project0.44 s10.57 s
Open the piano roll39 ms639 ms
Add an effect + open its window59 ms575 ms
Cold startup1.32 s1.64 s
Drag clips (median / p95)17 / 25 ms16 / 18 ms

Repo: https://github.com/miskibin/synkopa


r/tauri • • 1d ago

I built a Git GUI client with Tauri for macOS and Windows (ParalleLane)

21 Upvotes

I use around 20 repos at work. While juggling multiple tasks at once, I started using 2 or more worktrees on 2 or 3 of them, and it got hard to see what was in progress at a glance. So I built ParalleLane with Tauri.

It gives you a bird's-eye view of your repos and worktrees in one sidebar, separates each worktree's commit graph, changes, and diff, and lets you pin push accounts per repo.

Basic is free for commercial use too, and Pro is a $59.99 one-time purchase. (Use code REDDIT for 70% off through Dec 31.)

Website: https://parallelane.com


r/tauri • • 1d ago

Chase, a code editor on Tauri 2 with the VS Code workbench and a Rust agent

Post image
3 Upvotes

Chase runs the VS Code workbench through monaco-vscode-api inside Tauri 2. The agent, code index, search, git and terminal are in Rust. Extensions from Open VSX work, and there's a WASM extension host for sandboxed ones.

You can also open the editor in a browser on another device over HTTPS by scanning a QR code, and the agent sessions stay in sync.

Runs on macOS, Windows and Linux, with a portable mode on Windows. MIT, builds unsigned for now.

https://codeberg.org/Pasee/Chase


r/tauri • • 1d ago

Tried building a lightweight manga reader with Tauri, but ran into higher memory usage than expected

Thumbnail
gallery
5 Upvotes

Hey everyone!

So i originally started making a manga and comic reader using Tauri.

The idea was pretty simple tbh just wanted to build a super lightweight reader that can acctually handle big libraries smoothly without lagging.

However i eventually started questioning my whole approach.

Dont get me wrong btw my personal opinion is , Tauri is a pretty cool framework and all, but at the end of the day its frontend still relies on a system WebView. On Windows thats WebView2 which is basically Microsoft Edge (Chromium based), while Rust just handles the backend.

I personally wasnt really happy with that approach for my specific app. I wanted something that feels genuinely native, without having to rely on a whole browser engine for the UI at all!.

So i decided to move away from Tauri completely and try Rust + Iced instead (thats why it took me like 2 months to post this, my app is still in beta btw).

The difference has been pretty interesting so far. My current app sits at around 60 MB of RAM usage while idle, which is way closer to what i wanted from a lightweight reader in the first place.

Also small clarification about the memory usage btw: The 60 MB number is literally just what i saw in Windows Task Manager while i was taking the screenshot. This isnt an official benchmark or a controlled performance test, or a direct comparison between Tauri and Iced at all. Its just my own measurement on my current setup!.

anyways im curious about other devs experiences with "Tauri", especially when building apps that handle large amounts of content.

Like did you guys run into similar resource consumption issues, or did you find good ways to keep things lightweight?

Anyways thanks for reading my post!

The project is still under active development and the source code isn't public yet (planning to open-source it once it's cleaner), but I've uploaded a beta .exe build on GitHub if anyone wants to try it out


r/tauri • • 1d ago

Lessons from shipping a ~3 MB Tauri v2 audio app to the Microsoft Store: replacing cpal with native WASAPI, f64 DSP ramps, and StoreContext IAP in Rust

1 Upvotes

I just shipped v1.2 of Resona, a 100% offline binaural beats, isochronic tones, and colored noise synthesizer built with Tauri v2 (Rust + React/TypeScript).

Since documentation for shipping a Tauri v2 app with real-time audio and Microsoft Store in-app purchases is pretty sparse, here are four real production lessons from getting v1.0 through v1.2 certified:

  1. Replacing cpal with native WASAPI Push on Windows

cpal sounded fine on wired speakers, but Bluetooth earbuds had subtle crackles due to small default buffers, event-driven callback jitter, and thread priority quirks. Writing a small WASAPI Shared-Mode Push loop directly with the windows crate (150 ms pre-filled buffer, 15 ms push cadence, MMCSS "Pro Audio") cleaned it up completely. Also learned that pure stationary sine waves can starve Windows' Bluetooth SBC Joint-Stereo encoder, so I detect Bluetooth endpoints via DEVPKEY_Device_EnumeratorName and mix an inaudible high-band stabilizer only when playing pure tones with no background noise.

2. f32 ramp precision breaks on 2-minute DSP glides

For v1.2 I added optional 30s / 60s / 120s gradual frequency transitions between cycles. A subtle catch: at 48 kHz over 120s (5.76M samples), small per-sample frequency steps fall below f32 ULP at 200+ Hz, stalling the ramp until it snaps on the final sample. Moving the internal Ramp accumulator to f64 solved it with zero extra cost in steady state.

3. Microsoft Store Durable IAP (Windows.Services.Store) without deadlocking WebView2

Calling StoreContext::RequestPurchaseAsync synchronously with .get() from a tokio spawn_blocking thread initialized as STA can deadlock because there is no Win32 message pump. The clean Tauri v2 pattern was:

- Resolve the product StoreId and localized price on a background MTA thread via GetAssociatedStoreProductsAsync(["Durable"])

- Kick off StoreContext::GetDefault() + IInitializeWithWindow::Initialize(hwnd) + RequestPurchaseAsync inside window.run_on_main_thread(...) with a non-blocking AsyncOperationCompletedHandler sending the result back via a channel

- Verify ownership offline on startup via GetAppLicenseAsync().AddOnLicenses() (Windows caches signed Store licenses locally, so the app stays 100% offline after purchase)

4. MSIX packaging & certification

Final x64 MSIX is under 3 MB. Because Tauri uses runFullTrust, Partner Center requires a privacy policy even for offline apps and a concise (<500 char) certification note explaining Win32 API usage. All three submissions passed on the first try.

If anyone wants to inspect the live build (free core forever, optional one-time Pro add-on, closed-source):

https://apps.microsoft.com/detail/9PF4B525NNM7

Happy to share snippets or answer questions on the MSIX build script, WASAPI push loop, or Windows StoreContext wiring in Tauri v2!


r/tauri • • 2d ago

Built a cross-platform media player with Tauri v2 (Windows + Android), embedded libmpv, and Rust

6 Upvotes

Been working on a media/anime library app using Tauri v2 across Windows (React/TS + Rust) and Android (Tauri 2 mobile + native Kotlin/Media3), plus a lightweight iPhone PWA.

Most of the work went into bridging native playback with the webview: embedding libmpv on Windows with custom Lua OSC/resume scripts, wiring up Media3 on Android, and running a progressive BitTorrent stream engine (rqbit on desktop, jlibtorrent on mobile) in the background without freezing the UI. It also supports an optional AWS SAM + Cloudflare Worker backend for cloud sync and personal Google Drive streaming.

Ships with no scrapers or built-in sources, just local folders, your own Drive, or manual magnet links.


r/tauri • • 2d ago

DuskBox: lean pure-Rust Tauri v2 Messenger app for Windows

1 Upvotes

Meta retired the Windows Messenger app and messenger.com, leaving browser shortcuts with Facebook clutter or Electron wrappers. I built DuskBox (v0.2.0, GPL-3.0-only) for Windows 10 and Windows 11 (64-bit) using pure Rust (Edition 2024) and Tauri v2 with zero Node.js, zero npm, and a 1.14 MB NSIS installer.

Active chat uses ~388 MB in WebView2. After 60 seconds hidden in the tray, DuskBox calls `ICoreWebView2_19::SetMemoryUsageTargetLevel` to drop memory to ~115 MB to 155 MB (up to a 70% drop) without `TrySuspend`, keeping `on_document_title_changed` unread tray dots live. v0.2.0 adds adaptive dark/light tray icons, saved window layout, optional quiet HKCU tray startup, and a dark-mode offline Retry screen.

Security and tradeoffs: `withGlobalTauri: false`, empty remote capabilities, zero telemetry, and automated GitHub Actions builds with provenance verification. Unsigned binary (SmartScreen -> More info -> Run anyway) and Windows/Messenger-only.

https://github.com/Kage-forge/DuskBox/releases/tag/v0.2.0


r/tauri • • 2d ago

A Little PCT-Inspired Side Project – Built with Rust, Tauri & SolidJS (Proof of Concept)

2 Upvotes

As a proof of concept, I was able to replicate most of Popcorn Time's core functionality.

For now, playback is handled exclusively through VLC. The embedded player and other playback options are not implemented yet.

The project was mostly built through vibe coding, using a more efficient tech stack: Rust + Tauri + TypeScript + SolidJS.

A few things worth mentioning:

  • It's currently just a player. You'll need to manually configure the APIs yourself.
  • Supports drag-and-drop of magnet links, .torrent files, and video files.
  • Resource consumption is significantly lower compared to the original PCT. The estimated memory footprint is around 30 MB for the app, 150 MB for the WebView, and 250 MB for VLC. Even combined, that's considerably less memory than the original PCT consumes while idle.
  • The architecture also leaves room for future cross-platform support.

Regarding portability, my rough estimates are:

  • Linux: A few hours of work.
  • macOS: A few days.
  • Android: A few weeks.

Of course, these are just initial estimates, not confirmed porting timelines.

This is still an early proof of concept, but I think it shows that there is potential for a lightweight, modern alternative to the original PCT.


r/tauri • • 2d ago

Free strength training app for Garmin watches on Linux

Thumbnail
gallery
1 Upvotes

Hi all. I lift, I have a Garmin and I use Linux, which means no Garmin Express and not much to look at after a strength session beyond a list of sets. So I ended up writing my own app.

You plug the watch in over USB, it pulls in your new activities, and for each exercise it can suggest when to go up in reps or weight. You give it a rep range and an increment, and you can ignore the suggestion if you're not feeling it. Then you plan your next workouts on a calendar and they get copied to the watch.

It also keeps your PRs and estimated 1RM, and shows which muscles you've been hitting and how many sets each one gets per week (mostly useful for finding out what you've been neglecting). You can fix the sets the watch got wrong, too. Runs and other cardio show up with HR zones, laps and a map, but strength is the main point.

You don't need an account and your data sits in a SQLite file on your computer. You can sign in to Garmin Connect if you want to sync with it or send workouts without the cable, but that part uses unofficial APIs, so Garmin could break it any day. USB would keep working.

It's Linux only, sorry. I've only tested it with my Epix gen2 and Fenix 8, so if you have a different one I'd really like to know if it works.

It's free and open source (GPL). It's on the AUR as strength-coach-for-garmin, and there's a .deb and an AppImage here: https://github.com/Emiliopg91/strength-coach-for-garmin

Not affiliated with Garmin, obviously. Happy to answer questions, and if something breaks please tell me.


r/tauri • • 3d ago

Login and key encryption solution for and offline+online application

Thumbnail reddit.com
2 Upvotes

r/tauri • • 3d ago

Introducing Metaphor - the second lightest ADE on the market

Post image
9 Upvotes

I have been working on Metaphor for quite some time, and the primary goal was to make it fast and reliable. Over the past week, I’ve been focusing on improving its performance and finally got around to making the smallest DMG possible.

I cut it down from 48MB to 19MB mainly by:
• Rewriting the TypeScript sidecar codebase in Rust
• Replacing large React libraries with Rust libraries (e.g., for git diffs)


r/tauri • • 3d ago

Built a local-first budgeting app on Tauri 2: Rust core, http plugin scoped to two URLs, clickable macOS banners via objc2

1 Upvotes

I’m the developer. SlayBudget is a free, MIT-licensed budgeting app for Mac built on Tauri 2. You import the statements you download from your bank and everything stays in one SQLite file on your machine. Here’s how it’s put together and what I learned along the way.

Architecture

  • A Rust core crate (crates/core) holds every rule: importers for CSV, PDF, QFX/OFX, QIF and QBO, categorization, recurring-bill detection and analytics. It doesn’t depend on Tauri at all, so it’s tested with plain cargo test. Money is integer cents throughout.
  • src-tauri is a thin layer of commands over the core, and React is the UI.
  • In npm run dev the UI runs in a normal browser against synthetic sample data, with a fake IPC layer, so I can work on screens without real statements or a Tauri build.

Locking down the network

The goal was “sends nothing anywhere,” in a form anyone can check.

  • The CSP only allows the app itself and IPC.
  • One optional feature, daily investment prices, is off by default and needs network. Instead of giving the app general http access, the capability file scopes tauri-plugin-http to exactly two URL patterns: Yahoo’s chart endpoint and Kraken’s public OHLC. Only ticker symbols go out, and any other URL is refused.
  • The updater reads latest.json from GitHub releases. That’s the only other request.

You can verify all of it in src-tauri/capabilities/default.json and tauri.conf.json.

Mac details

  • Clickable notification banners. The notification plugin couldn’t open the item a banner was about when clicked, so on macOS I call UserNotifications directly through objc2 (objc2-user-notifications and block2) behind a cfg(target_os = "macos") dependency. Other platforms still use the plugin.
  • A second webview window for quick search.
  • Universal DMG plus signed updates, built by tauri-action in GitHub Actions. Windows and Linux builds come out of every release too, but I haven’t tested them on real machines.

Questions for r/tauri

  1. Notarization from GitHub Actions: has anyone got a clean setup for a Tauri app?
  2. Is there a better way to do clickable macOS notifications than dropping down to objc2?
  3. Has anyone tested a Tauri 2 app on Windows or Linux and found the usual problems? Testers welcome.

Code: https://github.com/ashvtol/SlayBudget 
Website and screenshots: https://ashvtol.github.io/SlayBudget/?utm_source=reddit&utm_medium=social&utm_campaign=tauri

Happy to go deeper on any part of it.


r/tauri • • 3d ago

An offline alternative to Claude's "Install as app", built as a shared Tauri v2 host (Relic)

3 Upvotes

Claude has a feature called "Install as app" that turns an artifact into a desktop app, but it runs inside Claude Desktop (Electron) and needs Claude running, signed in and online to open. I built Relic on Tauri v2 to do the same thing without either.

Relic is one shared host. Each app is a .relic ZIP, and the host serves its assets through a custom URI scheme with a strict CSP and an empty capability list. Navigation is limited to the app's own origin, and new windows are denied.

It runs on WebView2 on Windows. The Mac build, on WKWebView, is a preview tested on Intel only.

Things I'd like feedback on:

• Per-app storage isolation using per-build origins.

• Whether the empty capability list is the right choice for untrusted packages.

• Anything that goes wrong with WKWebView custom schemes.

Repo: github.com/BiswasSekhar/Relic


r/tauri • • 3d ago

I vibe-coded an offline music player with Microsoft Fluent Design using Tauri and React

Thumbnail
gallery
0 Upvotes

I wanted a lightweight offline music player that actually feels native to Windows 11, so I built one with Tauri and React.

It supports native backdrop effects (Mica, Acrylic, Liquid Glass), dynamic accent colors, basic library management, equalizer, and a mini-player mode.

Just published it on the Microsoft Store if anyone wants to try it out or give feedback on the UI

Link: https://apps.microsoft.com/store/detail/9P1FF3N5WRJH?cid=DevShareMCLPCS


r/tauri • • 3d ago

bye-electron: Migrate Electron desktop apps to Tauri v2 with deterministic IPC verification (CLI + MCP + Agent Skill)

Thumbnail
gallery
2 Upvotes

GitHub: https://github.com/boraiks/bye-electron

npm: https://www.npmjs.com/package/bye-electron

TL;DR: Zero-dependency CLI, stdio MCP server, and Agent Skill that gives coding agents a deterministic Electron -> Tauri v2 migration loop instead of letting them guess IPC channels or leave todo!() stubs behind.

- Scans static/constant/enum IPC channels, contextBridge APIs, electron-builder config (appId, fileAssociations), and native .node crate mappings without calling any LLM API.

- Records live Electron IPC traffic (CJS + ESM) via NODE_OPTIONS.

- Scaffolds src-tauri/ v2, auto-ports standard handlers (shell, clipboard, app, fs, dialog, store, nativeTheme, window controls) to Rust, and drops a non-breaking electron-shim.js.

- Runs a built-in Rust replay harness (`verify --replay --cargo-check --strict`) and only passes when zero stubs remain, cargo check compiles, and deep-JSON IPC parity matches.

Tested end to end on draw.io Desktop v32.7.4 (Windows 11, 28 IPC channels, 2,748 assets): 454.8 MB -> 38.2 MB binary, 792ms -> 58ms cold launch, 138 -> 48.8 MB host RAM (full tree on Windows is 429.8 -> 410.6 MB since Edge WebView2 is still Chromium).

Quick install: `npx bye-electron setup`

MIT license. Free, open-source, 0 runtime deps.


r/tauri • • 4d ago

I made a small Windows app that makes Office downloads and Microsoft tools activation easier

Post image
9 Upvotes

Hi, this is my first desktop project on Tauri and i wanted to share it here.

Basically the idea for this came when many family member and some friends frequently had problems with installing and activating their Windows and/or their Office applications. Obviously, i had to come to rescue and use Massgrave's powershell script that is, to me, a super fast and easy procedure but, over the phone is a pain in the 4ss (pardon my french). This problem brought to my attention that access to this tools and licenses should be made easier. All i wanted was to be able to simply recommend a simple app that anyone could understand and easily use.

Basically the workflow is: you pick the Office version you want, it downloads from the official Microsoft links, mounts the .img (if its the offline version) , and lets you run Ohook or HWID using Massgrave's scripts without the user actually touching a terminal.

The app is portable and can simply be used and deleted right after use.
I used:
- React (and tailwind) for the frontend;

- Rust (obviously);

- SQLite for keeping any download state so you can pause and resume.

Im fairly new to open source and Tauri, so any feedback on the code, UI, or anything I could do better is super welcome.

Site: https://jauzin23.github.io/MassDesk/

GitHub: https://github.com/jauzin23/MassDesk


r/tauri • • 4d ago

ManaTeca – un'app open-source per Windows per collezioni di MTG e mazzi di Commander

Thumbnail
github.com
1 Upvotes

r/tauri • • 4d ago

[OS] Kladovka — free & open-source dual-pane file manager for macOS, built with Tauri 2 + Rust (5.7 MB)

1 Upvotes

Hey everyone!

I built a file manager for macOS because Finder kept frustrating me — copying a hundred files and getting a spinner with no percentage, no way to cancel mid-operation, no real keyboard workflow. So I made Kladovka 🦝

What it does differently:

• Copy/move with real byte-level progress — pause, resume, or cancel any operation mid-flight • Operation queue — see what's running, waiting, and finished • Dual pane (F6 to switch) + tabs (⌘T) + multiple windows • Preview pane (⌘I): images, PDF with page count, text up to 512 KiB • Duplicate finder — byte-for-byte comparison, not just name matching • Safe delete — everything goes to macOS Trash, recoverable • Data-loss guards — atomic copies, "copying into itself" detection, symlink cycle handling • Hand-drawn icon set — 36 line icons that follow the light/dark theme • RU/EN interface, follows system theme

Tech stack: Tauri 2 (Rust) shell, React 19 + TypeScript + Vite UI, spawn_blocking + progress events so the UI never blocks, native macOS Trash API via the trash crate, zip crate for archives.

The whole app is ≈5.7 MB. Every shortcut is remappable in Settings with conflict detection.

Links: • GitHub: https://github.com/alexorlovss47-jpg/kladovka • Latest release (dmg): https://github.com/alexorlovss47-jpg/kladovka/releases/latest

MIT licensed, completely free. Screenshots (dark + light theme) are in the README.

Would love feedback — especially on the file-operation engine (pause/resume on multi-GB transfers was the trickiest part). What features would you want in a file manager that Finder doesn't give you?Hey everyone!

I built a file manager for macOS because Finder kept frustrating me — copying a hundred files and getting a spinner with no percentage, no way to cancel mid-operation, no real keyboard workflow. So I made Kladovka 🦝

What it does differently:

• Copy/move with real byte-level progress — pause, resume, or cancel any operation mid-flight • Operation queue — see what's running, waiting, and finished • Dual pane (F6 to switch) + tabs (⌘T) + multiple windows • Preview pane (⌘I): images, PDF with page count, text up to 512 KiB • Duplicate finder — byte-for-byte comparison, not just name matching • Safe delete — everything goes to macOS Trash, recoverable • Data-loss guards — atomic copies, "copying into itself" detection, symlink cycle handling • Hand-drawn icon set — 36 line icons that follow the light/dark theme • RU/EN interface, follows system theme

Tech stack: Tauri 2 (Rust) shell, React 19 + TypeScript + Vite UI, spawn_blocking + progress events so the UI never blocks, native macOS Trash API via the trash crate, zip crate for archives.

The whole app is ≈5.7 MB. Every shortcut is remappable in Settings with conflict detection.

Links: • GitHub: https://github.com/alexorlovss47-jpg/kladovka • Latest release (dmg): https://github.com/alexorlovss47-jpg/kladovka/releases/latest

MIT licensed, completely free. Screenshots (dark + light theme) are in the README.

Would love feedback — especially on the file-operation engine (pause/resume on multi-GB transfers was the trickiest part). What features would you want in a file manager that Finder doesn't give you?


r/tauri • • 4d ago

Need some help with an embedded browser

1 Upvotes

I am trying to add an embedded browser with my app, and I am trying to keep it as light as possible. I am able to get adblock and general web navigation, but I am having a hard time figuring out how to handle actual Captcha and authorization type web requests without using a full on chromium/firefox browser ILO just a web "window" for lack of a better word with Tauri. Have any of you come across this and have any suggestions on how to do this without packaging or downloading a full chromium browser? My understanding is that with an embedded tauri webview browser I am literally just creating that, a viewer for a website. I may just need some education or some guideance to point me in the right direction to understanding the difference.

thanks.


r/tauri • • 5d ago

Building my own Discord alternative with Tauri, currently using around 204 MB of RAM at idle

8 Upvotes

I've been working on a personal project called Axe, a communication app for web and desktop.

One of the main reasons I chose Tauri over Electron is that my PC isn't particularly powerful, and I wanted something I could comfortably leave running while gaming.

Currently, the native process uses around 3.7 MB of RAM at idle, and WebView2 uses around 200 MB on my Windows PC.

I'm pretty happy with Tauri so far, especially how easy it is to deploy.

I'm curious about other people's experience with WebView2. Is around 200 MB of RAM normal for this kind of application? Have you found any good ways to reduce memory usage further?

Here's what my app currently looks like.

Principale interface Axe
Profil user
list easy commandes

r/tauri • • 4d ago

Building a full Linux Desktop Environment and app ecosystem with Tauri + Rust + Vue (VasakOS)

5 Upvotes

¡Hola a todos!

Quería compartir un proyecto que llevo construyendo desde hace varios años: VasakOS, una distribución de Linux (basada en Arch) cuyo enfoque principal es tener un entorno de escritorio (DE) nativo y un ecosistema completo de apps del sistema construidas sobre Tauri.

¿Qué es VasakOS?

El objetivo de VasakOS es demostrar que puedes armar una experiencia de escritorio moderna, coherente y ligera combinando el rendimiento y la seguridad de Rust en el backend con la flexibilidad de Vue.js en el frontend, corriendo sobre Wayland (usando Wayfire como compositor).

En vez de usar Tauri solo para una app independiente, lo usamos como el “núcleo” de toda la experiencia de usuario:

  • Shell de Escritorio: barra superior, lanzador de apps, centro de notificaciones, controles de volumen/brillo e integración directa con DBus y servicios del sistema.
  • Ecosistema de Apps: configuración del sistema, gestor de archivos, monitor de recursos, gestor de paquetes/tienda y utilidades principales: todo compartiendo la misma arquitectura y el mismo lenguaje visual.

https://youtu.be/QEpNrC_w2Ns?si=BEcIwPUCTaFx7YUy

Una nota rápida sobre la transparencia en IA

Como últimamente hay mucha escepticismo válido con proyectos de IA hechos con prisa, quiero ser 100% transparente: sí, uso herramientas de IA en mi flujo de trabajo, pero esto no es "vibe coding."

VasakOS es un proyecto que empezó hace años, mucho antes del boom actual del “coding” con IA. Hoy uso la IA como herramienta de productividad (para acelerar el código repetitivo/boilerplate, para lanzar ideas o para depurar casos raros), pero cada una de las líneas de código las reviso, las pruebo y las decido yo a nivel de arquitectura. Las integraciones de Linux/Rust de bajo nivel, la estabilidad del sistema y el diseño a largo plazo se trabajan de forma directa.

Links del proyecto

Me encantaría saber qué piensan ustedes, sobre todo gente que esté empujando Tauri más allá de las apps de escritorio “estándar”:

  1. ¿Qué opinan de llevar Tauri hasta el punto de encargarse de componentes base de un entorno de escritorio?
  2. ¿Tienen algún tip o patrón para optimizar memoria e IPC cuando ejecutas varios procesos/ventanas de Tauri al mismo tiempo?
  3. Cualquier idea, feedback arquitectónico o críticas de código son más que bienvenidas.

¡Gracias por leer!

P.D.: Disculpas si el inglés quedó medio tosco—solo hablo español, así que usé IA para traducirlo, aunque con gusto leeré y responderé a todos sus comentarios!


r/tauri • • 4d ago

Shipped my first Tauri v2 app to the Microsoft Store (2.88 MB MSIX): real-time Rust audio synthesis + what I learned replacing cpal with native WASAPI

Thumbnail
gallery
1 Upvotes

I just shipped v1.1 of Resona, a 100% offline binaural beats, isochronic tones, and colored noise sequencer for Windows, built with Tauri v2 (Rust + React/TypeScript/Tailwind).

Since I couldn't find many real-world write-ups on shipping a Tauri v2 audio app to the Microsoft Store, here are a few things that actually mattered in production:

  1. Decoupling the DSP from the WebView

All audio synthesis lives in a dedicated Rust crate (resona-audio-core) with zero allocations and zero locks on the audio thread. The React frontend is just a thin state/visualizer layer sending lightweight commands via Tauri invoke. Every frequency change, noise mix, and live switch between binaural and isochronic mode uses per-sample ramps so transitions stay click-free.

2. Why I had to replace cpal with native WASAPI on Windows

cpal worked fine on wired speakers, but on Bluetooth headphones I kept getting subtle crackles. Digging into cpal's Windows WASAPI backend, a few things bit me: tiny default buffer sizes (~10 ms), event-driven callback jitter, no pre-fill before Start(), and a thread priority bug. Writing a small native WASAPI Shared-Mode Push backend directly with the windows crate (150 ms pre-filled ring buffer, 15 ms push cadence, and real MMCSS "Pro Audio" thread scheduling) made a night-and-day difference.

Bonus weird finding: pure stationary sine waves can still starve Windows' Bluetooth SBC Joint-Stereo encoder on some earbuds, so I ended up querying DEVPKEY_Device_EnumeratorName to detect Bluetooth endpoints and mix an inaudible high-band stabilizer only when playing pure tones with no background noise.

3. Packaging as MSIX for the Microsoft Store

The final x64 MSIX bundle came out to 2.88 MB (using WebView2). Because Tauri apps declare runFullTrust, Partner Center requires a privacy policy even for 100% offline apps and a short (<500 char) certification note explaining why Win32 APIs are needed (WASAPI, System Tray, local AppData JSON, and GetUserDefaultLocaleName for first-launch locale detection). Both v1.0 and v1.1 passed certification on the first try.

It's a closed-source commercial app with a 7-day free trial ($4.99 one-time) if anyone wants to check out the finished build:

https://apps.microsoft.com/detail/9PF4B525NNM7

Happy to share more details on the MSIX build setup or the WASAPI push loop if anyone else is targeting the Microsoft Store with Tauri v2!