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.

55 questions
4
votes
3 answers

Get input file path using NeutralinoJS

How do I get input file path using NeutralinoJS? My Code: const inputFilePath = document.getElementById('inputFile').files[0].path console.log(inputFilePath)
Shura16
  • 221
  • 1
  • 2
  • 10
3
votes
1 answer

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 latest neutralino version the same command…
Raffaele
  • 737
  • 7
  • 21
3
votes
0 answers

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 distribute it in a single file. What I'm currently doing…
soshimee
  • 368
  • 2
  • 9
3
votes
1 answer

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 example; neu run -- --serv=127.0.0.1:8000
Tendos
  • 43
  • 3
3
votes
1 answer

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 Neutralino.window.setDraggableRegion.But now the…
3
votes
2 answers

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 however a bit heavyweight and I have been looking…
jmc42
  • 359
  • 5
  • 22
3
votes
3 answers

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 cannot be moved
3
votes
1 answer

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 as JSON let data = { bucket : 'test', …
Ante Olić
  • 35
  • 5
3
votes
1 answer

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 and JS codes below. let work = () => { …
isuruAb
  • 2,202
  • 5
  • 26
  • 39
2
votes
1 answer

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. I’ve followed the Neutralinojs docs. I've…
Jouni Kantola
  • 1,097
  • 7
  • 12
2
votes
1 answer

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 center() method.
adelriosantiago
  • 7,762
  • 7
  • 38
  • 71
2
votes
1 answer

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: "NE_RT_NATPRME", message: "Missing permission to execute…
Raffaele
  • 737
  • 7
  • 21
2
votes
0 answers

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 snippet of code from my main.js…
2
votes
2 answers

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? Thanks
José
  • 33
  • 2
2
votes
1 answer

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 internal websocket server, as specified…
Kred
  • 319
  • 3
  • 12
1
2 3 4