There is a new tool for running apps as a desktop app called Tauri . The benefit of this tool is performance, at least compared to electron . Has there been any taught on the meteor side of making this compatible or is there a way to integrate meteor with tauri?
1 Like
alawi
March 4, 2022, 3:11am
2
One option would be to use SimpleDDP package to connect Tauri desktop app to a Meteor backend.
Interesting package. How about having the client part of the app wrapped with Tauri (since one can use react for the UI).
An interresting thing. I think for the team this will become a question in Q2 2022, once Tauri reaches a stable release.
That would be great. It looks like they are already working on a stable release .
Yes, I saw it on their roadmap, so I thought that would be the best point to start investing resources into integration.
Verson 1.0 of tauri has been released. Any news on this?
2 Likes
I ended up doing some work with Tauri for another project and thought “heck, why not try getting this INTO meteor…”
meteor:devel ← wreiske:feat/tauri-deployment-target
opened 11:13AM - 03 Jun 26 UTC
## Summary
Introduces **[Tauri v2](https://v2.tauri.app/)** as a first-class … native deployment/build target alongside Cordova. This first iteration targets **macOS**, and is structured to extend to **Windows, Linux, iOS and Android**.
You can build and run a desktop app with:
```bash
meteor add-platform tauri-macos
meteor run tauri-macos
meteor build ./output --platforms=tauri-macos
```
## What's included
**Build system / tools**
- Register `web.tauri` as a **modern** client architecture in `archinfo` and isobuild (`bundler`, `compiler`, `isopack`, `isopack-cache`) so Tauri builds use the modern module runtime.
- Treat `web.tauri` as a modern browser in `babel-compiler` (no legacy `meteorBabelHelpers` calls).
- New `tools/tauri/` (builder, runner, project scaffold, Rust toolchain helpers) plus a Rust `src-tauri` skeleton.
- A Tauri v2 capabilities file granting the `meteor-webapp` Hot Code Push event bridge over the in-app HTTP asset server.
- Tauri platform wired into the CLI, project context and runners.
**Packages**
- `meteor`: adds `Meteor.isTauri` via a Tauri client/server environment.
- `webapp`: `webapp_tauri.js` bridges to the native `meteor-webapp` plugin (mirrors `cordova-plugin-meteor-webapp`'s `WebAppLocalServer`).
- `autoupdate`: `autoupdate_tauri.js` for Tauri Hot Code Push.
- `boilerplate-generator`: a `web.tauri` boilerplate template.
- `hot-module-replacement`: Tauri client support.
## Notes
- The native `meteor-webapp` Tauri plugin (Rust) lives in a companion repo and is referenced during the build.
- Opened as a **draft** to gather feedback on the approach before further platform expansion.
- [ ] https://github.com/wreiske/meteor-tauri/pull/1
wreiske:main ← wreiske:feat/tauri-meteor-integration
opened 11:14AM - 03 Jun 26 UTC
## Summary
Native **[Tauri v2](https://v2.tauri.app/)** support for Meteor, c… ompanion to meteor/meteor#14441. First target is **macOS**, structured to extend to Windows, Linux, iOS and Android.
## Contents
### `tauri-plugin-meteor-webapp/` (Rust)
A Tauri v2 plugin that:
- Serves the Meteor client bundle from disk over an in-app HTTP server (preserving the strict `<script>` execution order Meteor requires).
- Implements **Hot Code Push** — `check_for_updates`, `switch_pending_version`, `startup_did_complete` — mirroring `cordova-plugin-meteor-webapp`'s `WebAppLocalServer`.
- Ships permissions (including the `core:event` bridge) and an asset-bundle downloader.
### `examples/tauri-smoke/`
A minimal Meteor app that exercises the `tauri-macos` build/run target with a live DDP counter, used to validate end-to-end boot, asset serving, and the native event bridge.
## Status
Verified working in dev (`meteor run tauri-macos`): clean client boot, all assets served, DDP connected, no permission rejections.
<img width="1136" height="880" alt="Screenshot 2026-06-03 at 4 15 14 AM" src="https://github.com/user-attachments/assets/e4c491ab-b607-423d-b603-7f80664d82f6" />
Would love some beta testers! It “works for me!” lol