@mindw1n/webnative 3.0.2 → 3.0.4
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/docs/devlog.md +28 -0
- package/docs/screenshot.png +0 -0
- package/package.json +2 -1
- package/readme.md +17 -1
package/docs/devlog.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Project goal
|
|
2
|
+
- Any platform can build for any target with almost zero friction for developer
|
|
3
|
+
- The application itself is always web based
|
|
4
|
+
- Frontend is executed on native WebView component to minimize bundle size
|
|
5
|
+
- Any backend can be used on desktop platforms, as long as it implements the webnative IPC interface
|
|
6
|
+
- Mobile platforms can't support backend, so api abstraction layer is necessary.
|
|
7
|
+
- The cli tool also should be able to create self-contained apps, but in this case the bundle size don't matter
|
|
8
|
+
- Always try to build natively. If not possible, fall back to Docker. If Docker is not installed, xplain clearly why Docker is needed and how to install it manually.
|
|
9
|
+
|
|
10
|
+
## ⏳ means that the feature is under development
|
|
11
|
+
|
|
12
|
+
## v1 (status: partially implemented)
|
|
13
|
+
- ✅ Linux target only
|
|
14
|
+
- ✅ Self-contained AppImage build pipeline
|
|
15
|
+
- ⏳ Optional Node.js backend support
|
|
16
|
+
- ✅ Dev environment: Linux only
|
|
17
|
+
- No Windows/macOS/mobile *targets* in v1
|
|
18
|
+
|
|
19
|
+
## v2 (status: implemented)
|
|
20
|
+
- ✅ Windows and Linux self-contained targets
|
|
21
|
+
- ✅ Dev environment: Linux only
|
|
22
|
+
- No macOS/mobile *targets* in v2
|
|
23
|
+
|
|
24
|
+
## v3 (status: implemented)
|
|
25
|
+
- ✅ Windows and Linux self-contained targets
|
|
26
|
+
- ✅ Android apk target supported
|
|
27
|
+
- ✅ Dev environment: Linux only
|
|
28
|
+
- No macOS/mobile *targets* in v3
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mindw1n/webnative",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.0.
|
|
4
|
+
"version": "3.0.4",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "esbuild src/index.ts --bundle --platform=node --format=esm --target=es2020 --outfile=index.js --banner:js=\"#!/usr/bin/env node\" --minify"
|
|
7
7
|
},
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"LICENSE",
|
|
13
13
|
"index.js",
|
|
14
14
|
"prebuilds/dist",
|
|
15
|
+
"docs",
|
|
15
16
|
"template",
|
|
16
17
|
"readme.md"
|
|
17
18
|
],
|
package/readme.md
CHANGED
|
@@ -8,10 +8,12 @@
|
|
|
8
8
|
Build desktop and mobile applications using web technologies you already know.
|
|
9
9
|
No cross-compilation or config hell. No manual dependencies. Just you and your beautiful app.
|
|
10
10
|
|
|
11
|
+

|
|
12
|
+
|
|
11
13
|
## Why webnative?
|
|
12
14
|
|
|
13
15
|
Most cross-platform frameworks make you choose — either great DX or great results.
|
|
14
|
-
Electron ships Chromium (150MB+). Tauri requires Rust. Capacitor
|
|
16
|
+
Electron ships Chromium (150MB+). Tauri requires Rust. Capacitor mostly targets mobile.
|
|
15
17
|
|
|
16
18
|
webnative is different:
|
|
17
19
|
|
|
@@ -51,3 +53,17 @@ webnative handles the switching — you just write your app.
|
|
|
51
53
|
|
|
52
54
|
- Node.js 22+
|
|
53
55
|
- Docker (sometimes needed for cross-compilation)
|
|
56
|
+
|
|
57
|
+
## Contributing to webnative
|
|
58
|
+
|
|
59
|
+
webnative is actively looking for contributors!
|
|
60
|
+
If you're interested in helping out, you can:
|
|
61
|
+
|
|
62
|
+
- Pick up an open issue or suggest a new one
|
|
63
|
+
- Help bring a new platform to life
|
|
64
|
+
- Improve docs or examples
|
|
65
|
+
|
|
66
|
+
To get started, fork the repo, make your changes, and open a PR.
|
|
67
|
+
For bigger changes, open an issue first so we can discuss the direction.
|
|
68
|
+
|
|
69
|
+
All skill levels welcome — if you're curious about how it works, just reach out.
|