Our great sponsors
-
OpenRefine
OpenRefine is a free, open source power tool for working with messy data and improving it
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
tauri-nextjs-template
A Tauri + Next.js (SSG) template, with TailwindCSS, opinionated linting, and GitHub Actions preconfigured
-
spacedrive
Spacedrive is an open source cross-platform file explorer, powered by a virtual distributed filesystem written in Rust.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
OpenRefine does something like this and it works pretty nicely. Overall, it's pretty nice and a simple web server which needs to handle only one connection is very compact, probably smaller than most GUI toolkits. It also takes less overhead and give the user more choice than using WebView which is what Tauri does.
The granddaddy is Electron, with Tauri set to (probably) replace it at some point in the future.
Sounds a really good idea! For inspiration, if you know React, check out this: https://github.com/kvnxiao/tauri-nextjs-template
This is the default way Syncthing presents its UI, for instance; starts up a web server, opens the URL in your system's preferred browser.
In Tauri (or Axum) the app compiles to a single binary. rspc is the key to this because it allows for multiple transports with the frontend. It supports both Tauri IPC, HTTP or websockets. Our core crate (at ./core) exports an rspc router that is transport agnostic then within the apps (at ./apps/desktop or ./app/server) we expose it with a transport. We use Tauri IPC for desktop and websockets for Axum because we use subscriptions. Then in the wrapper React project (at ./apps/desktop/src/App.tsx) we create the rspc client with the Tauri link, mount its React context and then mount the app package (). You can give the codebase a look if you want cause it’s all open source https://github.com/spacedriveapp/spacedrive