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.
44
questions
1
vote
0
answers
27
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) ...
1
vote
1
answer
48
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 ...
0
votes
0
answers
39
views
Neutralino.os.execCommand not work properelly on windows system
I'm trying to make some windows automation app using Neutralino.js.
To control windows system, I'm using NirCmd.
When I run below code, works well in Node.js
const { exec } = require('child_process');
...
1
vote
1
answer
214
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 (neutralino-cli@1.8.1) but nothing similar is described in newest version of neutralino. I've tried to run in ...
0
votes
1
answer
101
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 ...
0
votes
1
answer
72
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: "...
0
votes
0
answers
41
views
How to save a binary PNG file using Neutralino.filesystem.writeBinaryFile
This is my code, it saves the file and the size is correct, but I cant open the file as PNG image once its saved.
When I look at the image properties, the attributes: Height, Width and bit depth do ...
1
vote
1
answer
58
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 ...
2
votes
0
answers
39
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 ...
1
vote
1
answer
69
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 ...
2
votes
0
answers
47
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 ...
2
votes
1
answer
92
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 ...
2
votes
2
answers
108
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?
...
1
vote
1
answer
81
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 ...
1
vote
1
answer
600
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 ...
0
votes
1
answer
113
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 ...
1
vote
0
answers
90
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 ...
3
votes
1
answer
163
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 ...
1
vote
0
answers
115
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 ...
1
vote
1
answer
132
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 ...
1
vote
1
answer
79
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" ...
2
votes
2
answers
778
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 ...
1
vote
1
answer
485
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 ...
0
votes
1
answer
104
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 ...
0
votes
3
answers
484
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.
0
votes
1
answer
297
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 ...
3
votes
3
answers
457
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 ...
3
votes
3
answers
441
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....
2
votes
2
answers
322
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 ...
1
vote
1
answer
258
views
Problem in windows mode @neutralinojs/neu@3.0.2
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 ...
2
votes
1
answer
353
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 ...
1
vote
1
answer
92
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 ...
1
vote
1
answer
253
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: ...
3
votes
1
answer
260
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 ...
0
votes
1
answer
153
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 ...
1
vote
2
answers
365
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 ...
2
votes
2
answers
428
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 ...
0
votes
1
answer
180
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.
1
vote
3
answers
887
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 ...
2
votes
1
answer
245
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.
2
votes
1
answer
413
views
How do I get NeutralinoJS working in Mac OS X?
I just found NeutralinoJS for Mac which is awesome. I installed the Xcode command line tools and cmake before finding the real app on SourceForge. The only way I can get Neutralino to launch is if I ...
2
votes
1
answer
771
views
There's is a way of getting just an exe/linux binary/app file from NeutralinoJS?
I'm trying to make a simple application with neutralinoJS
I'm wondering how get a unique file:
.exe to windows
a binary, .deb, .rpm to linux
and a .app to macOS
Cause there is a file that runs the ...
2
votes
0
answers
505
views
How use vue-router and httpVueLoader in neutralinojs project?
Neutralinojs is really good thing. I trying write app using vue and neutralino. Vue without router working good. But if I add vue-router and httpVueLoader to project my app is not working.
I do ...
3
votes
1
answer
1k
views
How to use Neutralinojs os.runCommand in multiple platforms
I was trying to get network information on Windows using Nuetralinojs. How can I make my app cross platform? I want to run ifconfig command when users execute this on Linux.
I have posted my HTML ...