electron-bytenode-example
asarmor
Our great sponsors
electron-bytenode-example | asarmor | |
---|---|---|
3 | 3 | |
59 | 208 | |
- | - | |
3.2 | 4.5 | |
5 months ago | 1 day ago | |
TypeScript | TypeScript | |
- | 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.
electron-bytenode-example
-
Which options do I have to hide/obfuscate/bytecode my main source code but not the renderer? Angular inside.
Have a look at bytenode.
- How to secure an Electron app with a license key
-
Compile your JS code: New Bytenode support for Electron
Take a look at the electron-bytenode-example repository - in particular the preload script. You can see the 'DOMContentLoaded' example there. You need to do that because preload runs before the DOM has been loaded. That example has both nodeIntegration: true and contextIsolation: false. However, the preload script should always have access to both Node and the DOM, so you should be able to set it up so that all of your scripting happens in preload.
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?
bytenode - A minimalist bytecode compiler for Node.js
electron-typescript-react-mui - Lightweight, modern boilerplate built with electron, typescript, react, and material-ui.
angular-electron - Ultra-fast bootstrapping with Angular and Electron :speedboat:
Minecraft-Box-Launcher - Open source Minecraft Java Edition launcher built with ElectronJS
ngx-admin - Customizable admin dashboard template based on Angular 10+
electron-webpack - Scripts and configurations to compile Electron applications using webpack
storybook - Storybook is a frontend workshop for building UI components and pages in isolation. Made for UI development, testing, and documentation.
electron-react-boilerplate - A Foundation for Scalable Cross-Platform Apps
javascript-obfuscator - A powerful obfuscator for JavaScript and Node.js
webpack-obfuscator - javascript-obfuscator plugin for Webpack