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 packages are merged on main. The @rescript-tauri/core, @rescript-tauri/plugin-fs, @rescript-tauri/plugin-dialog, and @rescript-tauri/schema packages are awaiting their first npm publish on the v0.1.0 track. Sample code on these pages mirrors the merged source — install paths and the pnpm add @rescript-tauri/* snippets activate once the first 0.1.0 releases ship.
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.