tauri-remote-ui 1.1.1 → 1.1.2-alpha.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -0
- package/package.json +33 -35
- package/dist/README.md +0 -75
- package/dist/package.json +0 -53
- /package/{dist/LICENSE → LICENSE} +0 -0
- /package/{dist/api → api}/app/index.cjs +0 -0
- /package/{dist/api → api}/app/index.d.ts +0 -0
- /package/{dist/api → api}/app/index.js +0 -0
- /package/{dist/api → api}/core/index.cjs +0 -0
- /package/{dist/api → api}/core/index.d.ts +0 -0
- /package/{dist/api → api}/core/index.js +0 -0
- /package/{dist/api → api}/event/index.cjs +0 -0
- /package/{dist/api → api}/event/index.d.ts +0 -0
- /package/{dist/api → api}/event/index.js +0 -0
- /package/{dist/index.cjs → index.cjs} +0 -0
- /package/{dist/index.d.ts → index.d.ts} +0 -0
- /package/{dist/index.js → index.js} +0 -0
- /package/{dist/socket.cjs → socket.cjs} +0 -0
- /package/{dist/socket.d.ts → socket.d.ts} +0 -0
- /package/{dist/socket.js → socket.js} +0 -0
- /package/{dist/version.cjs → version.cjs} +0 -0
- /package/{dist/version.d.ts → version.d.ts} +0 -0
- /package/{dist/version.js → version.js} +0 -0
package/README.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# tauri-remote-ui (AGPL-3.0)
|
|
2
|
+
|
|
3
|
+
**Tauri Remote UI** is a plugin that allows you to expose your Tauri application's UI to any web browser.
|
|
4
|
+
[](https://crates.io/crates/tauri-remote-ui) [](https://www.npmjs.com/package/tauri-remote-ui) [](LICENSE)
|
|
5
|
+
|
|
6
|
+
## 📖 [Documents](https://docs.draviavemal.com)
|
|
7
|
+
|
|
8
|
+
Refer document central for detailed information [docs](https://docs.draviavemal.com)
|
|
9
|
+
|
|
10
|
+
## 📦 Installation
|
|
11
|
+
|
|
12
|
+
```sh
|
|
13
|
+
npm install tauri-remote-ui
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
The `npm:` alias keeps imports unscoped (`import { invoke } from "tauri-remote-ui/api/core"`).
|
|
17
|
+
|
|
18
|
+
## 📜 License
|
|
19
|
+
|
|
20
|
+
This project is **dual-licensed**:
|
|
21
|
+
|
|
22
|
+
- **Open Source — AGPL-3.0** (see [LICENSE](LICENSE)). Free to use, including
|
|
23
|
+
commercially, as long as you comply with AGPL-3.0 copyleft (share source of
|
|
24
|
+
derivatives and network-served versions).
|
|
25
|
+
- **Commercial License** for closed-source / proprietary use without AGPL
|
|
26
|
+
obligations — available to sponsors (see [COMMERCIAL-LICENSE.md](COMMERCIAL-LICENSE.md)).
|
|
27
|
+
|
|
28
|
+
💜 If this project helps you or your business, please consider
|
|
29
|
+
[sponsoring](https://github.com/sponsors/DraviaVemal) — sponsors get the
|
|
30
|
+
commercial license, private releases, and priority support.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tauri-remote-ui",
|
|
3
3
|
"license": "AGPL-3.0-only",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.2-alpha.11",
|
|
5
5
|
"author": "DraviaVemal",
|
|
6
6
|
"description": "A Tauri plugin that exposes the application's UI to a web browser, allowing full interaction while the native app continues running. This enables end-to-end UI testing using existing web-based testing tools without requiring modifications to the app itself.",
|
|
7
7
|
"type": "module",
|
|
@@ -12,53 +12,51 @@
|
|
|
12
12
|
"plugin"
|
|
13
13
|
],
|
|
14
14
|
"homepage": "https://docs.draviavemal.com/",
|
|
15
|
+
"types": "./index.d.ts",
|
|
16
|
+
"main": "./index.cjs",
|
|
17
|
+
"module": "./index.js",
|
|
15
18
|
"repository": {
|
|
16
19
|
"url": "https://github.com/DraviaVemal/tauri-remote-ui"
|
|
17
20
|
},
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
21
|
+
"publishConfig": {
|
|
22
|
+
"access": "public"
|
|
23
|
+
},
|
|
21
24
|
"exports": {
|
|
22
25
|
".": {
|
|
23
|
-
"types": "./
|
|
24
|
-
"import": "./
|
|
25
|
-
"require": "./
|
|
26
|
+
"types": "./index.d.ts",
|
|
27
|
+
"import": "./index.js",
|
|
28
|
+
"require": "./index.cjs"
|
|
26
29
|
},
|
|
27
30
|
"./api/app": {
|
|
28
|
-
"types": "./
|
|
29
|
-
"import": "./
|
|
30
|
-
"require": "./
|
|
31
|
+
"types": "./api/app/index.d.ts",
|
|
32
|
+
"import": "./api/app/index.js",
|
|
33
|
+
"require": "./api/app/index.cjs"
|
|
31
34
|
},
|
|
32
35
|
"./api/core": {
|
|
33
|
-
"types": "./
|
|
34
|
-
"import": "./
|
|
35
|
-
"require": "./
|
|
36
|
+
"types": "./api/core/index.d.ts",
|
|
37
|
+
"import": "./api/core/index.js",
|
|
38
|
+
"require": "./api/core/index.cjs"
|
|
36
39
|
},
|
|
37
40
|
"./api/event": {
|
|
38
|
-
"types": "./
|
|
39
|
-
"import": "./
|
|
40
|
-
"require": "./
|
|
41
|
+
"types": "./api/event/index.d.ts",
|
|
42
|
+
"import": "./api/event/index.js",
|
|
43
|
+
"require": "./api/event/index.cjs"
|
|
41
44
|
}
|
|
42
45
|
},
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
46
|
+
"typesVersions": {
|
|
47
|
+
"*": {
|
|
48
|
+
"api/app/*": [
|
|
49
|
+
"./api/app/*.d.ts"
|
|
50
|
+
],
|
|
51
|
+
"api/core/*": [
|
|
52
|
+
"./api/core/*.d.ts"
|
|
53
|
+
],
|
|
54
|
+
"api/event/*": [
|
|
55
|
+
"./api/event/*.d.ts"
|
|
56
|
+
]
|
|
57
|
+
}
|
|
50
58
|
},
|
|
51
59
|
"peerDependencies": {
|
|
52
|
-
"@tauri-apps/api": ">=2.
|
|
53
|
-
},
|
|
54
|
-
"devDependencies": {
|
|
55
|
-
"@rollup/plugin-typescript": "^12.0.0",
|
|
56
|
-
"@tauri-apps/api": ">=2.0.0",
|
|
57
|
-
"@types/node": "^24.3.0",
|
|
58
|
-
"fast-glob": "^3.3.3",
|
|
59
|
-
"rollup": "^4.9.6",
|
|
60
|
-
"ts-node": "^10.9.2",
|
|
61
|
-
"tslib": "^2.6.2",
|
|
62
|
-
"typescript": "^5.3.3"
|
|
60
|
+
"@tauri-apps/api": ">=2.12.3"
|
|
63
61
|
}
|
|
64
|
-
}
|
|
62
|
+
}
|
package/dist/README.md
DELETED
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
# tauri-remote-ui (AGPL-3.0)
|
|
2
|
-
|
|
3
|
-
**Tauri Remote UI** is a plugin that allows you to expose your Tauri application's UI to any web browser.
|
|
4
|
-
|
|
5
|
-
## Packages
|
|
6
|
-
|
|
7
|
-
[](https://crates.io/crates/tauri-remote-ui) [](https://www.npmjs.com/package/tauri-remote-ui)
|
|
8
|
-
|
|
9
|
-
## 📜 License
|
|
10
|
-
|
|
11
|
-
This project is **dual-licensed**:
|
|
12
|
-
|
|
13
|
-
- **Open Source — AGPL-3.0** (see [LICENSE](LICENSE)). Free to use, including
|
|
14
|
-
commercially, as long as you comply with AGPL-3.0 copyleft (share source of
|
|
15
|
-
derivatives and network-served versions).
|
|
16
|
-
- **Commercial License** for closed-source / proprietary use without AGPL
|
|
17
|
-
obligations — available to sponsors (see [COMMERCIAL-LICENSE.md](COMMERCIAL-LICENSE.md)).
|
|
18
|
-
|
|
19
|
-
💜 If this project helps you or your business, please consider
|
|
20
|
-
[sponsoring](https://github.com/sponsors/DraviaVemal) — sponsors get the
|
|
21
|
-
commercial license, private releases, and priority support.
|
|
22
|
-
|
|
23
|
-
## [Documents](https://docs.draviavemal.com)
|
|
24
|
-
|
|
25
|
-
Refer document central for detailed information [docs](https://docs.draviavemal.com)
|
|
26
|
-
|
|
27
|
-
## ✨ Features
|
|
28
|
-
|
|
29
|
-
- Seamless enable/diable integration
|
|
30
|
-
- Network level access control setting
|
|
31
|
-
- Network latency tracking
|
|
32
|
-
|
|
33
|
-
## ⚠️ Security Warning — Read Before Exposing the Server
|
|
34
|
-
|
|
35
|
-
> **This plugin currently ships with NO authentication, NO authorization, and NO transport encryption.**
|
|
36
|
-
> Anyone who can reach the bound port can drive your application's UI and invoke any Tauri command your app exposes — there is no login, no API key, no TLS, and no rate limit.
|
|
37
|
-
|
|
38
|
-
The only access control today is a coarse **network-scope filter** (`OriginType`) applied to the peer's IP at TCP-accept time:
|
|
39
|
-
|
|
40
|
-
| Scope | Bind address | Who can connect |
|
|
41
|
-
| --- | --- | --- |
|
|
42
|
-
| `Localhost` *(default, recommended)* | `127.0.0.1` | This machine only. |
|
|
43
|
-
| `Subnet` | `0.0.0.0` | Any host on **any** of this machine's local IPv4/IPv6 subnets, plus loopback. |
|
|
44
|
-
| `Any` | `0.0.0.0` | **Anyone routable to this machine.** No filter applied. |
|
|
45
|
-
|
|
46
|
-
A built-in token / SSL / SSO story is on the roadmap (see *Planned Features*), but until it lands, **the only safe public-network deployment is one where you have added authentication yourself in front of this plugin** (mutual-TLS reverse proxy, WireGuard, Tailscale, Cloudflare Access, etc.).
|
|
47
|
-
|
|
48
|
-
To audit who is being allowed through at runtime, initialize a logger in your host app and run with `RUST_LOG=tauri_remote_ui=debug` — every accept/reject decision is logged with the peer IP and the active scope.
|
|
49
|
-
|
|
50
|
-
## Supports
|
|
51
|
-
|
|
52
|
-
|Environment|Support|
|
|
53
|
-
|-|-|
|
|
54
|
-
|Windows|✅|
|
|
55
|
-
|Mac|✅|
|
|
56
|
-
|Linux|✅|
|
|
57
|
-
|Android|❌|
|
|
58
|
-
|iOS|❌|
|
|
59
|
-
|
|
60
|
-
## Use Case
|
|
61
|
-
|
|
62
|
-
- Enabling seamless remote interaction for development debugging—without modifying your app's logic.
|
|
63
|
-
- Enabling end-to-end testing of tauri application using standard web automation tools like playwright.
|
|
64
|
-
- Note : Based on tauri target OS the webkit will change windows will be 100% match test case as both are chromium rest of OS around maximum 10% UI difference are expected from actual application
|
|
65
|
-
- Enable remote access feature for local close ciruit hardware related application
|
|
66
|
-
|
|
67
|
-
## Planned Features
|
|
68
|
-
|
|
69
|
-
- Multiple Window of Tauri app support in Remote UI logic
|
|
70
|
-
- SSO Ingration Option
|
|
71
|
-
- Custom Starting window name options
|
|
72
|
-
- Dynamic Port mapping
|
|
73
|
-
- SSL Certificate ingration
|
|
74
|
-
- Authendication system for remote access (User_id,Password)
|
|
75
|
-
|
package/dist/package.json
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "tauri-remote-ui",
|
|
3
|
-
"license": "AGPL-3.0-only",
|
|
4
|
-
"version": "1.1.1",
|
|
5
|
-
"author": "DraviaVemal",
|
|
6
|
-
"description": "A Tauri plugin that exposes the application's UI to a web browser, allowing full interaction while the native app continues running. This enables end-to-end UI testing using existing web-based testing tools without requiring modifications to the app itself.",
|
|
7
|
-
"type": "module",
|
|
8
|
-
"types": "./dist/index.d.ts",
|
|
9
|
-
"main": "./dist/index.cjs",
|
|
10
|
-
"module": "./dist/index.js",
|
|
11
|
-
"repository": {
|
|
12
|
-
"url": "https://github.com/DraviaVemal/tauri-remote-ui"
|
|
13
|
-
},
|
|
14
|
-
"readme": "./README.md",
|
|
15
|
-
"exports": {
|
|
16
|
-
".": {
|
|
17
|
-
"types": "./index.d.ts",
|
|
18
|
-
"import": "./index.js",
|
|
19
|
-
"require": "./index.cjs"
|
|
20
|
-
},
|
|
21
|
-
"./api/app": {
|
|
22
|
-
"types": "./api/app/index.d.ts",
|
|
23
|
-
"import": "./api/app/index.js",
|
|
24
|
-
"require": "./api/app/index.cjs"
|
|
25
|
-
},
|
|
26
|
-
"./api/core": {
|
|
27
|
-
"types": "./api/core/index.d.ts",
|
|
28
|
-
"import": "./api/core/index.js",
|
|
29
|
-
"require": "./api/core/index.cjs"
|
|
30
|
-
},
|
|
31
|
-
"./api/event": {
|
|
32
|
-
"types": "./api/event/index.d.ts",
|
|
33
|
-
"import": "./api/event/index.js",
|
|
34
|
-
"require": "./api/event/index.cjs"
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
"typesVersions": {
|
|
38
|
-
"*": {
|
|
39
|
-
"api/app/*": [
|
|
40
|
-
"./api/app/*.d.ts"
|
|
41
|
-
],
|
|
42
|
-
"api/core/*": [
|
|
43
|
-
"./api/core/*.d.ts"
|
|
44
|
-
],
|
|
45
|
-
"api/event/*": [
|
|
46
|
-
"./api/event/*.d.ts"
|
|
47
|
-
]
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
"peerDependencies": {
|
|
51
|
-
"@tauri-apps/api": ">=2.0.0"
|
|
52
|
-
}
|
|
53
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|