bytenode
asarmor
Our great sponsors
bytenode | asarmor | |
---|---|---|
12 | 3 | |
2,392 | 203 | |
1.7% | - | |
7.1 | 4.5 | |
16 days ago | about 1 month ago | |
JavaScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
bytenode
- How to restrict the access to an on premise node server?
-
electron-vite: Easy way to protect your Electron source code
electron-vite inspired by bytenode, the specific implementation:
- Delivering an application in CL w.o. source
- How to secure an Electron app with a license key
-
Compile your JS code: New Bytenode support for Electron
It doesn't appear that there is any performance penalty to using Bytenode. There are some benchmark functions in the repository, but certainly more work could be done to test. My gut feeling is that the minor overhead of loading the binary is balanced out by the minor speed increase by giving V8 a pre-compiled file.
-
Hide source code
There's an NPM package called bytenode which compiles your JavaScript to V8 bytecode.
asarmor
- How to secure an Electron app with a license key
-
Compile your JS code: New Bytenode support for Electron
What are you thoughts on https://github.com/sleeyax/asarmor? My thinking is I could use bytenode to protect my business logic and use asarmor to make the resulting asar non-trivial to uncompress, giving my renderer some kind of "protection" but without requiring me to turn off context isolation or enable nodeIntegration.
-
Hide source code
The simplest way to have some kind of source code protection is to package into an asar file and use asarmour to make it non trivial to extract the archive. https://github.com/sleeyax/asarmor
What are some alternatives?
electron-bytenode-example - A basic Hello World boilerplate using Webpack to convert Electron Javascript code to binary using Bytenode and the Bytenode Webpack Plugin
pkg - Package your Node.js project into an executable [Moved to: https://github.com/vercel/pkg]
pkg - Package your Node.js project into an executable
thislang - A subset of javascript implemented in that subset of javascript. Yes, it can run itself.
wat-compiler - webassembly wat text format to binary compiler
deploy - Deployment tools for standalone Common Lisp applications
electron-vite-bytecode-example - electron-vite source code protection example
electron-vite - Next generation Electron build tooling based on Vite 新一代 Electron 开发构建工具,支持源代码保护
deploy - Ansible role to deploy scripting applications like PHP, Python, Ruby, etc. in a capistrano style
pkg-unpacker - Unpack any pkg application