nw.js
41,145
Stars
0
Forks
0
Watchers
0
Open Issues
未知
许可证
JavaScript
语言
创建时间
最近更新
项目能做什么
可在 DOM/WebWorker 中直接调用 Node.js 模块,用 Web 技术开发桌面应用。
来源:AI 基于仓库事实生成
· 内容以仓库实际 README 为准
使用说明 查看原始 README 原仓库文档
中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
## node-webkit is renamed NW.js
[](https://gitter.im/nwjs/nw.js?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
Official site: https://nwjs.io
## Introduction
NW.js is an app runtime based on `Chromium` and `node.js`. You can
write native apps in HTML and JavaScript with NW.js. It also lets you
call Node.js modules directly from the DOM and enables a new way of writing
native applications with all Web technologies.
It was created in the Intel Open Source Technology Center.
[Building a Cross-platform Desktop App with NW.js](https://www.sitepoint.com/cross-platform-desktop-app-nw-js/)
[Creating Desktop Applications With node-webkit](https://strongloop.com/strongblog/creating-desktop-applications-with-node-webkit/)
[WebApp to DesktopApp with node-webkit (slides)](http://oldgeeksguide.github.io/presentations/html5devconf2013/wtod.html)
[Essay on the history and internals of the project](http://yedingding.com/2014/08/01/node-webkit-intro-en.html)
## Features
* Apps written in modern HTML5, CSS3, JS and WebGL.
* Complete support for [Node.js APIs](https://nodejs.org/api/) and all its [third party modules](https://www.npmjs.com/).
* Good performance: Node and WebKit run in the same thread: Function calls are made straightforward; objects are in the same heap and can just reference each other.
* Easy to package and distribute apps.
* Available on Linux, Mac OS X and Windows.
## Downloads
* **v0.119.2:** (October 22nd, 2026, based off of Node.js v26.12.1, Chromium 156) : [release notes](https://nwjs.io/blog/v0.119.2/)
**NOTE** You might want the **SDK build**. Please read the release notes.
* Linux: [64bit](https://dl.nwjs.io/v0.119.2/nwjs-v0.119.2-linux-x64.tar.gz) / [arm64](https://dl.nwjs.io/v0.119.2/nwjs-v0.119.2-linux-arm64.tar.gz)
* Windows: [32bit](https://dl.nwjs.io/v0.119.2/nwjs-v0.119.2-win-ia32.zip) / [64bit](https://dl.nwjs.io/v0.119.2/nwjs-v0.119.2-win-x64.zip)
* Mac 10.10+: [64bit](https://dl.nwjs.io/v0.119.2/nwjs-v0.119.2-osx-arm64.zip)
* Use [Legacy build](http://nwjs.io/downloads/) for Win XP and early OSX.
* **latest nightly build from git tip**: https://dl.nwjs.io/live-build/
* [Previous versions](https://dl.nwjs.io); See [the mapping file](https://nwjs.io/versions.json) for the version info in previous releases.
### Demos and real apps
You may also be interested in [our demos repository](https://github.com/zcbenz/nw-sample-apps) and the [List of apps and companies using nw.js](https://github.com/nwjs/nw.js/wiki/List-of-apps-and-companies-using-nw.js).
## Quick Start
Create `index.html`:
```html
<!DOCTYPE html>
<html>
<head>
<title>Hello World!</title>
</head>
<body>
<h1>Hello World!</h1>
We are using node.js <script>document.write(process.version)</script>.
</body>
</html>
```
Create `package.json`:
```json
{
"name": "nw-demo",
"version": "0.0.1",
"main": "index.html"
}
```
Run:
```bash
$ /path
阅读完整原文
商业机会分析 AI 生成
NW.js 源码增强加固与保护工具箱
| 产品构想 | 针对桌面客户端极易被破解提取核心资产的问题,基于 NW.js 的 nwjc 编译机制,提供一键资源加密、混淆、防内存 dump 及反调试的加固工具。 |
| 核心功能 | nwjc 自动化编译打包流、静态资源(图片/音频/配置)动态解密加载器、防开发者工具打开与反调试注入模块。 |
| 目标用户 | 基于 NW.js 发布商业软件的独立开发者、独立游戏发行团队。 |
| 难度/周期 | 中等 · 1 - 2 个月 · 成本:开发机器一台、测试用多平台环境(Windows/macOS)。 |
| 收费模式 | 独立软件许可售卖(按席位/按年付费)或单应用加固服务按次收费。 |
| 竞争风险 | Chromium 或 V8 引擎大版本更新可能导致 nwjc 编译的 bin 文件兼容性中断;推测潜在受众正被 Tauri/Electron 分流。 |
| 依据 | AI推测 |
NW.js 专用多平台打包与差分热更新分发平台
| 产品构想 | 针对 NW.js 官方缺乏开箱即用的更新与签名体系的痛点,构建轻量级的跨平台打包、公证签名、安装包生成与差分增量热更新云服务。 |
| 核心功能 | 跨平台一键生成(NSIS/DMG/Deb/AppImage)、macOS Notarization 与 Windows 代码签名集成、文件级差分增量热更新 SDK。 |
| 目标用户 | 缺乏自建 CI/CD 和更新服务器的 NW.js 桌面开发团队和独立软件创作者。 |
| 难度/周期 | 高 · 2 - 3 个月 · 成本:云端构建服务器/云存储成本、苹果/微软开发者证书费用。 |
| 收费模式 | SaaS 订阅制(按月度活跃用户量 MAU 或更新带宽流量阶梯计费)。 |
| 竞争风险 | 代码签名证书门槛高;维护跨多平台分发工具链维护成本较高。 |
| 依据 | 尚需验证的假设 |
NW.js 存量系统升级与平滑迁移辅助套件
| 产品构想 | 为企业遗留的旧版 NW.js 应用提供依赖诊断、最新 Chromium 适配补丁,以及平滑迁移到现代技术栈(如 Electron 或 Tauri)的自动化代码转换工具与咨询服务。 |
| 核心功能 | NW.js API 与 Node.js 兼容性静态分析工具、DOM 与主进程通信兼容层、一键生成迁移骨架代码。 |
| 目标用户 | 拥有长期运行的 NW.js 内部工具或传统桌面业务系统的中小企业开发团队。 |
| 难度/周期 | 中等 · 1 - 1.5 个月 · 成本:极低(主要为分析脚本开发与测试时间)。 |
| 收费模式 | 企业技术咨询按项目收费、静态诊断工具高级功能付费。 |
| 竞争风险 | 推测企业存量维护预算有限,且部分项目更倾向于直接重构而非渐进式迁移。 |
| 依据 | 数据支持的判断 |
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心
竞品与相似项目 GitHub Search 真实检索
| 项目 | 中文简介 | Stars | 语言 |
|---|---|---|---|
| flutter/flutter | 中文介绍暂未生成 Flutter makes it easy and fast to build beautiful apps for m |
181,109 | Dart |
| farion1231/cc-switch | 中文介绍暂未生成 A cross-platform desktop All-in-One assistant for Claude Cod |
153,323 | Rust |
| microsoft/PowerToys | 中文介绍暂未生成 Microsoft PowerToys is a collection of utilities that superc |
140,822 | C |
| rustdesk/rustdesk | 中文介绍暂未生成 An open-source remote desktop application designed for self- |
128,907 | Rust |
| electron/electron | 中文介绍暂未生成 :electron: Build cross-platform desktop apps with JavaScript |
123,842 | C++ |
| stablyai/orca | 中文介绍暂未生成 Orca lets you run a fleet of coding agents (e.g. Claude Code |
121,277 | TypeScript |
以上为通过 GitHub 官方 Search API 检索的相似项目,功能差异与优劣势需进一步人工确认,配置 AI 后可生成对比分析。
项目优势与风险
| 技术成熟度 | 创建于 ,最近推送 |
| 社区活跃 | Star 41,145 / Fork 0 / Issue 0(数据支持,可自行核实) |
| 许可证 | 未检测到(需人工确认) |
| 主要风险 | 上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价 |
安装与使用
快速开始(以仓库 README 为准)
git clone https://github.com/nwjs/nw.js.git cd nw.js # 请阅读仓库 README 获取确切安装步骤(依赖、配置、启动命令)
术语说明:Docker=应用容器(把程序和依赖打包运行);API Key=调用外部服务的密钥;Git Clone=把仓库代码下载到本地。常见错误:API Key 未配置 / 端口占用 / 数据库连接失败,多数项目在 README 的 Troubleshooting 章节有说明。