Skip to content
Tauri

@tauri-apps/plugin-opener

Open files and URLs using their default application.

This API has a scope configuration that forces you to restrict the files and urls to be opened.

On the configuration object, open: true means that the open API can be used with any URL, as the argument is validated with the ^((mailto:\w+)|(tel:\w+)|(https?://\w+)).+ regex. You can change that regex by changing the boolean value to a string, e.g. open: ^https://github.com/.


© 2025 Tauri Contributors. CC-BY / MIT