Questions tagged [neutralinojs]

Neutralinojs is a lightweight and portable cross-platform application development framework. It lets you develop native applications using JavaScript/TypeScript, HTML and CSS.

Filter by
Sorted by
Tagged with
4 votes
2 answers
300 views

How do I correctly configure Neutralinojs to work with Vite HMR?

I'm trying to integrate Neutralinojs with Vite to improve my dev workflow and use HMR. How should I configure the setup for HMR to function properly? I've tried both in macOS and Windows without luck. ...
Jouni Kantola's user avatar
0 votes
1 answer
190 views

Neutralino js : WebView2Loader.dll was not found

i was working on a small web application when i decided to ship it as a native exe. I knew about Electron js but it seemed that the base size is very large and that it's memory hogging. Then i found ...
Adnane Kabab's user avatar
1 vote
2 answers
228 views

Use Angular inside Neutralinojs

Neutralinojs binary version used : v4.10.0 Neutralinojs client version used : v3.8.2 Angular version used : v15.0.0 Question : How to use Angular as frontend framework with Neutralinojs?
Ad S.S's user avatar
  • 136
0 votes
0 answers
44 views

Package neutralinojs without bundling

Is it possible to package Neutralinojs application to production without bundling? To make it clear, I'd like to expose the resource folder on production to make the application edit-able even on ...
Ad S.S's user avatar
  • 136
0 votes
2 answers
218 views

Placeholders not replaced inside a docx template

I'm using this library to replace some placeholders into a docx template and generate multimple documents. I'm using neutralino and vue for the front-end and I've created a method that will pass the ...
newbiedev's user avatar
  • 2,795
0 votes
0 answers
23 views

How does an app receive data from an extension?

I have an app that implements sending the event "eventToExtension" from an app to an extension as found here. My app launches the sample extension from the repo. The app dispatches the event ...
user7915231's user avatar
0 votes
0 answers
27 views

Provide a default filename for the "Save as" in showSaveDialog

Is there some way to provide a default value for the "Save as" field displayed in the showSaveDialog? Currently, it defaults to "untitled" (see below). This is not useful when an ...
user7915231's user avatar
1 vote
2 answers
1k views

What exactly does "Neutralinojs" do to be so much smaller than Electron and NW.js?

A while ago, somebody told me about this thing while I was complaining about my little NW.js applications containing hundreds of megabytes of overhead: https://neutralino.js.org I have no affiliation ...
user291937's user avatar
2 votes
1 answer
194 views

How to center NeutralinoJS screen

Using NeutralinoJS, how can start the app right in the center of the screen? It should look like the splashscreen of any app. Unlike ElectronJS, Neutralino's window options doesn't seem to have a ...
adelriosantiago's user avatar
1 vote
1 answer
183 views

Neutralino pick file then readFile not working

I select a file then read the file from the path returned by Neutralino. Neutralino.os.showOpenDialog('Select Image', { filters: [ {name: 'Images', extensions: ['jpg', 'png']} ...
Eric's user avatar
  • 9,994
0 votes
1 answer
115 views

blank window when lunching .exe produced by neutralino build release command

I've tried neutralino.js ( javascript framework for building desktop application using web technos). The first time i run the program , every thing work right. But after running the neu build --...
jesugo NOUNAGNON's user avatar
1 vote
1 answer
166 views

How to access DOM in neutralino.js

I'm opening some webiste by simply using: window.location.href = "https://someaddress"; in my neutralino app. How can I access html (dom) of the viewed page and interact with it? Is it ...
Patryk Karpiński's user avatar
1 vote
0 answers
342 views

neutralinojs - how to load browser extension when starting chrome mode?

I have a web page and custom extension that goes with it. The extension is a normal browser extension - not a neutralinojs extension. I can load my extension from the command line (without neutrinojs) ...
Todd's user avatar
  • 4,779
1 vote
1 answer
1k views

Electron/Netralinojs source source code "protection"

I am evaluating which framework to create a desktop app. A requirement I have is that the source code "protection" (no one should see the original source code). For Neautrlinojs I have found ...
Filo's user avatar
  • 2,839
3 votes
1 answer
2k views

Is there a way to create a NeutralinoJS project based on Svelte and Typescript?

I need to create a neutralino+svelte+ts project, I've noted it was possible in old version ([email protected]) but nothing similar is described in newest version of neutralino. I've tried to run in ...
Raffaele's user avatar
  • 747
1 vote
2 answers
833 views

Built Neutralino app cannot open localhost?

I have a very peculiar issue, I have a Neutralino app built with Preact that runs perfectly fine when run with neu run, however, once I build the project (with enableServer on or off), the built ...
spikehd's user avatar
  • 244
3 votes
1 answer
769 views

Missing permission to execute the native method: filesystem.readFile

I'm new in NeutralinoJS, I'm trying my first app and I need to read the content of a json file. I'm trying by using Neutralino.filesystem.readFile method, but it fails with error { code: "...
Raffaele's user avatar
  • 747
1 vote
1 answer
200 views

Neutralino.window.setDraggableRegion is malfunctioning on windows

What happens is that I initiate the window drag instruction with Neutralino.window.setDraggableRegion, it works but there is a very big problem in rendering. I am on a windows system. Here is a video ...
Madel M6TM's user avatar
2 votes
0 answers
166 views

Neutralino.js - Input event handler not registering

I am trying to detect user key input using javascript. However, the console log seemed to show nothing to which I decided to log the event key instead which didn't log anything either. Here's a ...
simonknowsstuff's user avatar
1 vote
1 answer
298 views

Is there a native function for downloading a file in neutralinojs that I can use?

When you right click on a download link in a neutralino app, there is a "download linked file" option which one selects then their file is downloaded. How can I call that function to ...
Tendos's user avatar
  • 43
3 votes
0 answers
200 views

Is there a way to get single file output without the DLL and config files from Neutralino?

I tried Neutralino.js, everything is great except I can't build the project into one executable, but there is a DLL and a config file. I don't want them to be visible and I want to be able to ...
soshimee's user avatar
  • 408
3 votes
1 answer
351 views

How to process commandline arguments in neutralinojs

There is some content that is served from one program that opens up neutralino app using commands. I would like to pass my custom command line arguments to the neutralino app whenever it is run for ...
Tendos's user avatar
  • 43
2 votes
2 answers
527 views

Neutralino - Obfuscate resources file?

Is there some way to Obfuscate the code that is inside the resources.neu file? It can be read in any text editor... it contains the CSS HTML and JS content. Not a big problem but can it be done? ...
José's user avatar
  • 33
1 vote
1 answer
245 views

Neutralino JS - Why read all file to string without end of lines (txt)

I. I´m trying to make a skeleton of a app to read and write files in Neutralino.js but... Now i´m stopped by trying to read the content of a selected file to a variable. I think the file is corrected ...
José's user avatar
  • 33
3 votes
1 answer
2k views

How to set up Node server on Neutralino?

I didn't find any informations about how to config a backend for a neutralino app, so I can access to system resources, like Electron does with background.js . Should I connect (if possible) to the ...
Kred's user avatar
  • 339
-2 votes
1 answer
296 views

How to code neutralinoJS to move the window to 0,0?

Clueless dude here that does not get any results with anything in neutralino except HTML and CSS mods. I have to neu build because CheckNetIsolation does nothing on my x64 Windows 10 Pro machine. So I ...
ClintonGallagher's user avatar
1 vote
0 answers
226 views

Question: How to send the Express Server console.log to the front end

I'm pretty new to JS and Node so it might be a dumb question. Ive look everywhere and I can't figure how to get a response from the Server. The goal is to be able to do a progress bar so I need to ...
Meilleur102's user avatar
3 votes
1 answer
765 views

Neutralinojs : How to Maximize Neutralino Window when it is dragged off of a Maximized State

I have made a custom title bar for a Neutralino Window.It has 3 simple buttons for Close, Maximize, Minimize.I Also made it so that when the title bar is dragged, it drags the whole window using ...
Extorc Productions's user avatar
1 vote
0 answers
402 views

Receive http requests in neutralinojs server

is there a way to receive external http requests in neutralino js (server)? I can set a fix port in the config file (e.g. 5050), so I have a static target (e.g.: http://localhost:5050). If I send a ...
rince's user avatar
  • 123
1 vote
1 answer
641 views

Invoke function of neutralino.js client from remote page doesn't have any response

We use neutralino.js to open a remote page by point the url from neutralino.config.json to our page and also set "enableNativeAPI": true Our index.html of the remote page: <!doctype ...
kiett's user avatar
  • 11
1 vote
1 answer
165 views

neutralinojs workaround to HTML input attribute accept

I have a neutralinojs app with an file input. It should only be possible to choose files from type ".csv" or ".xlsx". So I use the accept attribute. <input type="file" ...
rince's user avatar
  • 123
3 votes
2 answers
3k views

NeutralinoJS and Tauri backend services

I have used Electron for many years and like the fact that I can deliver a frontend app that has a bunch of backend services (connections to databases etc) that can be bundled in a dmg. Electron is ...
jmc42's user avatar
  • 389
1 vote
1 answer
1k views

NeutralinoJS Open local html file in browser

In my Neutralino app I have a navigation. When I click on a specific navigation item, I want a local html to open in the browser (or new window). The html file to open is in a subfolder of my app ...
rince's user avatar
  • 123
0 votes
1 answer
177 views

NeutralinoJs is not working in Raspberry Pi 3 (Using 32bit Raspbian OS)

I have to create a simple GUI app with 3 screens so I decided to use more light-weight and less ram memory using techstack. I tried PyQT, Java swing, JavaFx all these are taking too much memory. But ...
Vishnu KR's user avatar
  • 718
0 votes
3 answers
858 views

How to fix neutralino white screen?

I created a blank neutralino js application and when I turn it on using the neu run command, a white screen is displayed. I used the CheckNetIsolation.exe ... command and it still doesn't work.
Babantos's user avatar
0 votes
1 answer
715 views

How to show/hide the main app window in NeutralinoJS?

I have a tray app that needs to start up without a main app window (or with it hidden). If the users selects a specific tray menu item, I want to open a window to allow them to perform a task and then ...
TinoK's user avatar
  • 301
3 votes
3 answers
1k views

Positioning the borderless window in neutralino.js

Is there any way we can position the borderless window in the file neutralino.config.json? like : "borderless": { ...args } or any other ways? Now it just starts at somewhere random and ...
MEkilledBATMAN's user avatar
4 votes
3 answers
957 views

Get input file path using NeutralinoJS

How do I get input file path using NeutralinoJS? My Code: <input type="file" id="inputFile"> const inputFilePath = document.getElementById('inputFile').files[0].path console....
Shura16's user avatar
  • 231
2 votes
2 answers
764 views

How to compile neutralinojs project in a way that people can open it?

to open neutralino file on windows you'll need to write this: CheckNetIsolation.exe LoopbackExempt -a -n="Microsoft.Win32WebViewHost_cw5n1h2txyewy" in the cmd. My question is: how to make ...
daprogrammer's user avatar
1 vote
1 answer
400 views

Problem in windows mode @neutralinojs/[email protected]

i want create a simple application using Neutralinojs. go to section Your First Neutralinojs App and Creating a new app but after neu run in command windows open and not show anything? image from my ...
amir's user avatar
  • 11
2 votes
1 answer
456 views

Unable to find template: react when using neu create <appname> --template react

I've been trying to use Neutralino to build a lightweight desktop app. Following this article: https://medium.com/neutralinojs/neutralinojs-react-starter-template-f504b93a0294 I encountered an error ...
nodorajosh's user avatar
1 vote
1 answer
169 views

Is it possible to get Video/Audio Input from the user using window mode?

I tried to make an app that uses the user's camera and plays it back to them. It works fine on the browser mode but when I try to use the window method nothing works. Am I missing something or has ...
OneFoggyScreen's user avatar
1 vote
1 answer
735 views

NeutralinoJS: error: missing required argument 'name'

I tried to create my first NeutralinoJS app using neu-cli. I typed neu create --template hello-world command in Windows Command Prompt as in the doucmentation. But it gives me this error. error: ...
Hirusha Fernando's user avatar
3 votes
1 answer
604 views

NeutralinoJS storage

This is NeutralinoJS storage API for writing JSON. Is it possible to update JSON file (push data), not just overvrite data with new JS object. How to do that??? // Javascript Object to be stored ...
Ante Olić's user avatar
0 votes
1 answer
241 views

neutralinojs and Blazor in Linux

I try some platform to create Linux Desktop application with Blazor (Including ElectronNET), but in most case its empty self advertising without really opportunity to do even simplest task. Therefore ...
Viacheslav's user avatar
  • 1,084
1 vote
2 answers
722 views

Read a external json file in Neutralino app

How can I read a external json file to populate my HTML? I read the docs and see "filesystem.readFile(string filename, function success(data), function error)" but I don't know how can I set ...
Pelllegrini's user avatar
2 votes
2 answers
849 views

Write a file to a specific directory with neutralinojs

I use a web page to create an xml file with javascript. I would like to write xml string into a file in a specific directory on my computer with neutralinojs. Is it possible to open a file saver ...
Ahmed K's user avatar
  • 21
0 votes
1 answer
216 views

Can I get the start-up arguments in Neutralinojs?

I'm trying go make an application able to run a file type, I want to get the path to the file which the user opened the app with.
moamen's user avatar
  • 169
1 vote
3 answers
1k views

How do I debug Neutralino in VS Code?

I'm new to NuetralinoJS and web dev in general, so please go easy on me. I tried following the tutorial here with some slight variations: https://neutralino.js.org/docs/#/gettingstarted/firstapp And ...
user2587779's user avatar
2 votes
1 answer
284 views

What are the supported platform in neutralinojs

I am creating desktop app for windows, mac and linux. I am happy to create app in windows but in linux I always encountered so many issues.
ZAIIN's user avatar
  • 21