tauri-remote-ui 1.0.1-alpha.3

A Tauri plugin that exposes the application’s UI to a web browser, allowing full interaction while the native app continues running. This enables frontend debug, end-to-end UI testing using existing web-based testing tools without requiring modifications to the app itself.
// AGPL-3.0-only License
// Copyright (c) 2025 DraviaVemal
// See LICENSE file in the root directory.

use tauri::{
    plugin::{Builder, TauriPlugin},
    Manager, Wry,
};

pub use models::*;

mod error;
mod models;
pub mod remote_ui;
pub use error::{Error, Result};
pub use remote_ui::*;

/// Initializes the remote-ui Tauri plugin.
pub fn init() -> TauriPlugin<Wry> {
    Builder::new("remote-ui")
        .setup(|app, api| {
            let remote_ui = remote_ui::init(app, api)?;
            app.manage(remote_ui);
            Ok(())
        })
        .build()
}