rescript-tauri¶
Production-ready ReScript bindings for Tauri 2.x’s official JS SDK (@tauri-apps/api). A monorepo centered on @rescript-tauri/core, exposing the entire Tauri public API surface—IPC, Event, Window, Webview, Menu, Tray—from ReScript with a 3-layer IPC design (Raw / typed Command / Schema-integrated).
Note
All ten @rescript-tauri/* packages are published on npm (current release 0.1.3; plugin-notification is at 0.2.0). Sample code on these pages mirrors the released source, and the pnpm add @rescript-tauri/* snippets work as written.
Install rescript-tauri, take the typed Command API for a spin, and configure your rescript.json.
Set up the docs site locally, learn the build / translate / deploy flow, and contribute.
Plugins & add-ons¶
Nine add-on packages build on @rescript-tauri/core. Each ships independently and pulls the matching upstream @tauri-apps/plugin-* (or rescript-schema) through peerDependencies.
Filesystem operations (read / write / dir / stat).
Native dialogs (open / save / message / ask / confirm).
Native notifications (toast / schedule / channels).
Spawn child processes, open URLs / files with the OS default.
Structured logging (5 levels + log-stream listeners).
OS info (platform / arch / family / locale / hostname).
Clipboard read/write (text / image / HTML).
HTTP fetch with CORS bypass + proxy / TLS config.
Layer 3 typed IPC via rescript-schema.