Results 51 comments of 乔健

API pression control and XSS protection will both be supported in version v1.0.0.

Yes, streaming `stdin` or `stdout` will be supported in v1.0.0.

这个功能后续会考虑实现,不过也会设置一些限制,比如外部地址的网页禁止使用 Niva API 等等。因为直接用 Niva 打开外部地址非常危险,Niva 注入的 API 相当于给了外部网站通过网络直接控制用户计算机的能力。

我研究一下,如果合适的话我把 UPX 放在 v1.0.0 版本支持。

直接参照 fetch 目前不是很好实现,不过可以增加 base64 编码支持以获取二进制数据。

这个 base64 和二进制相互转换的例子在 NivaDevtools 里面就有应用,在 NivaDevtools 中构建 Niva 应用过程中,就用 base64 转换成 ArrayBuffer 用于合并压缩 Niva 项目的资源文件。 https://github.com/bramblex/niva/blob/main/packages/devtools/src/build-scripts/base.ts#L44

Of course, you can use Niva like a normal web browser with a Node.js backend. Websocket is also supported. Just download the App and copy the executable file in your...

When Niva starts up, it requires a resource directory and a niva.json file in the current version. So this code is not just for debugging. For communication between Node.js and...

You can create a static resource directory and a `niva.json` file with your project, and you can also generate a unique UUID online using an online generator like [https://www.uuidgenerator.net/version4](https://www.uuidgenerator.net/version4). I...

> Btw - you are right: there's really no need to create a separate communication layer. > > For me it is (somewhat) important, the executable stays lightweight... that makes...