@mindw1n/webnative 1.1.0 → 1.1.1

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.
Files changed (2) hide show
  1. package/package.json +3 -2
  2. package/readme.md +50 -0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mindw1n/webnative",
3
3
  "type": "module",
4
- "version": "1.1.0",
4
+ "version": "1.1.1",
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
  },
@@ -11,7 +11,8 @@
11
11
  "files": [
12
12
  "index.js",
13
13
  "prebuilds/dist",
14
- "template"
14
+ "template",
15
+ "readme.md"
15
16
  ],
16
17
  "keywords": [],
17
18
  "author": "",
package/readme.md ADDED
@@ -0,0 +1,50 @@
1
+ [![npm](https://img.shields.io/npm/v/@mindw1n/webnative)](https://www.npmjs.com/package/@mindw1n/webnative)
2
+ [![license](https://img.shields.io/github/license/mindw1n/webnative)](LICENSE)
3
+
4
+ # webnative
5
+
6
+ > Build web. Ship anywhere.
7
+
8
+ Build desktop and mobile applications using web technologies you already know.
9
+ No cross-compilation or config hell. No manual dependencies. Just you and your beautiful app.
10
+
11
+ ## Why webnative?
12
+
13
+ Most cross-platform frameworks make you choose — either great DX or great results.
14
+ Electron ships Chromium (150MB+). Tauri requires Rust. Capacitor is mobile-only.
15
+
16
+ webnative is different:
17
+
18
+ - **JavaScript everywhere** — TypeScript/JavaScript for both frontend and backend
19
+ - **Native WebView** — uses the system's WebView, not a bundled browser
20
+ - **One codebase** — same code for Linux, Windows, macOS, Android, and iOS
21
+ - **Smart API abstraction** — backend runs locally on desktop, seamlessly switches on mobile
22
+ - **Zero friction** — the framework pushes really hard to give you 'works like magic' dx while you can focus on your app
23
+
24
+ ## Getting started
25
+
26
+ ```bash
27
+ npm install -g @mindw1n/webnative
28
+ webnative init my-app && cd my-app
29
+ webnative build linux
30
+ ```
31
+
32
+ ## How it works
33
+
34
+ On desktop, your frontend communicates with a local Node.js backend via IPC.
35
+ On mobile, the same frontend code talks to a remote API or on-device storage.
36
+ webnative handles the switching — you just write your app.
37
+
38
+ ## Targets
39
+
40
+ | Platform | Status |
41
+ |----------|--------|
42
+ | Linux (AppImage) | ✅ v1 |
43
+ | Windows | 🔜 v2 |
44
+ | Android | 🔜 v3 |
45
+ | iOS | 🔜 v4 |
46
+ | macOS | 🔜 v5 |
47
+
48
+ ## Requirements
49
+
50
+ - Node.js 22+