
Neutralinojs Has a Free API — Here's How to Build Lightweight Desktop Apps
Neutralinojs is a lightweight framework for building cross-platform desktop apps using JavaScript, HTML, and CSS. Unlike Electron, it uses the OS native webview — resulting in apps under 5MB. Getting Started npm install -g @neutralinojs/neu neu create my-app cd my-app neu run neutralino.config.json { "applicationId" : "com.example.myapp" , "defaultMode" : "window" , "port" : 0 , "url" : "/" , "modes" : { "window" : { "title" : "My App" , "width" : 800 , "height" : 600 , "minWidth" : 400 , "minHeight" : 300 } }, "cli" : { "binaryName" : "myapp" , "resourcesPath" : "/resources/" , "clientLibrary" : "/resources/js/neutralino.js" } } File System Operations // Read a file const content = await Neutralino . filesystem . readFile ( " ./data/config.json " ); console . log ( JSON . parse ( content )); // Write a file await Neutralino . filesystem . writeFile ( " ./output.txt " , " Hello from Neutralino! " ); // List directory const entries = await Neutralino . filesystem . readDirectory ( " ./d
Continue reading on Dev.to JavaScript
Opens in a new tab


