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
1
vote
1 answer

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 download a file in my app.
Tendos
  • 43
  • 3
1
vote
1 answer

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 selected, but... when using the…
José
  • 33
  • 2
1
vote
0 answers

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 return the bytes download / Total bytes. For now i'm…
Meilleur102
  • 25
  • 1
  • 8
1
vote
0 answers

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 http request to that location I get the status 200…
rince
  • 123
  • 7
1
vote
1 answer

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: Remote…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/neutralinojs" class="post-tag grid--cell" title="show questions tagged 'neutralinojs'" rel="tag">neutralinojs</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Sep 14 '21 at 15:46">asked Sep 14 '21 at 15:46</time> <a href="../../users/3804120/kiett" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/3804120.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="kiett" /> </a> <div class="s-user-card--info"> <a href="../../users/3804120/kiett" class="s-user-card--link">kiett</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">11</li> <li class="s-award-bling s-award-bling__bronze" title="1 bronze badges">1</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-68680532"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/68680532/neutralinojs-workaround-to-html-input-attribute-accept" class="question-hyperlink">neutralinojs workaround to HTML input attribute accept</a></h3> <div class="excerpt">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" accept=".csv,.xlsx" /> That works in browser mode but not in window mode. Is…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/neutralinojs" class="post-tag grid--cell" title="show questions tagged 'neutralinojs'" rel="tag">neutralinojs</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Aug 06 '21 at 11:02">asked Aug 06 '21 at 11:02</time> <a href="../../users/6154710/rince" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/6154710.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="rince" /> </a> <div class="s-user-card--info"> <a href="../../users/6154710/rince" class="s-user-card--link">rince</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">123</li> <li class="s-award-bling s-award-bling__bronze" title="7 bronze badges">7</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-68620523"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/68620523/neutralinojs-open-local-html-file-in-browser" class="question-hyperlink">NeutralinoJS Open local html file in browser</a></h3> <div class="excerpt">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 resources directory. My first approach was to call…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/javascript" class="post-tag grid--cell" title="show questions tagged 'javascript'" rel="tag">javascript</a> <a href="../../questions/tagged/neutralinojs" class="post-tag grid--cell" title="show questions tagged 'neutralinojs'" rel="tag">neutralinojs</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Aug 02 '21 at 11:06">asked Aug 02 '21 at 11:06</time> <a href="../../users/6154710/rince" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/6154710.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="rince" /> </a> <div class="s-user-card--info"> <a href="../../users/6154710/rince" class="s-user-card--link">rince</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">123</li> <li class="s-award-bling s-award-bling__bronze" title="7 bronze badges">7</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-67179429"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/67179429/problem-in-windows-mode-neutralinojs-neu-3-0-2" class="question-hyperlink">Problem in windows mode @neutralinojs/neu@3.0.2</a></h3> <div class="excerpt"> 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 desktop app in browse mode and cloud is…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/neutralinojs" class="post-tag grid--cell" title="show questions tagged 'neutralinojs'" rel="tag">neutralinojs</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Apr 20 '21 at 12:58">asked Apr 20 '21 at 12:58</time> <a href="../../users/15705822/amir" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/15705822.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="amir" /> </a> <div class="s-user-card--info"> <a href="../../users/15705822/amir" class="s-user-card--link">amir</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">11</li> <li class="s-award-bling s-award-bling__bronze" title="1 bronze badges">1</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-66779069"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/66779069/is-it-possible-to-get-video-audio-input-from-the-user-using-window-mode" class="question-hyperlink">Is it possible to get Video/Audio Input from the user using window mode?</a></h3> <div class="excerpt">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 this yet to be implemented? Here's the…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/html" class="post-tag grid--cell" title="show questions tagged 'html'" rel="tag">html</a> <a href="../../questions/tagged/neutralinojs" class="post-tag grid--cell" title="show questions tagged 'neutralinojs'" rel="tag">neutralinojs</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Mar 24 '21 at 10:26">asked Mar 24 '21 at 10:26</time> <a href="../../users/15161748/onefoggyscreen" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/15161748.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="OneFoggyScreen" /> </a> <div class="s-user-card--info"> <a href="../../users/15161748/onefoggyscreen" class="s-user-card--link">OneFoggyScreen</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">11</li> <li class="s-award-bling s-award-bling__bronze" title="2 bronze badges">2</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-66280998"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/66280998/neutralinojs-error-missing-required-argument-name" class="question-hyperlink">NeutralinoJS: error: missing required argument 'name'</a></h3> <div class="excerpt">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: missing required argument 'name' So I typed it again…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/neutralinojs" class="post-tag grid--cell" title="show questions tagged 'neutralinojs'" rel="tag">neutralinojs</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Feb 19 '21 at 16:06">asked Feb 19 '21 at 16:06</time> <a href="../../users/12063253/hirusha-fernando" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/12063253.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Hirusha Fernando" /> </a> <div class="s-user-card--info"> <a href="../../users/12063253/hirusha-fernando" class="s-user-card--link">Hirusha Fernando</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">1,156</li> <li class="s-award-bling s-award-bling__silver" title="10 silver badges">10</li> <li class="s-award-bling s-award-bling__bronze" title="29 bronze badges">29</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-63470551"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status "> <strong>2</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/63470551/read-a-external-json-file-in-neutralino-app" class="question-hyperlink">Read a external json file in Neutralino app</a></h3> <div class="excerpt">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 to read the file or what is the right folder to put the…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/json" class="post-tag grid--cell" title="show questions tagged 'json'" rel="tag">json</a> <a href="../../questions/tagged/neutralinojs" class="post-tag grid--cell" title="show questions tagged 'neutralinojs'" rel="tag">neutralinojs</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Aug 18 '20 at 14:14">asked Aug 18 '20 at 14:14</time> <a href="../../users/14125969/pelllegrini" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/14125969.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Pelllegrini" /> </a> <div class="s-user-card--info"> <a href="../../users/14125969/pelllegrini" class="s-user-card--link">Pelllegrini</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">61</li> <li class="s-award-bling s-award-bling__silver" title="1 silver badges">1</li> <li class="s-award-bling s-award-bling__bronze" title="4 bronze badges">4</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-60963660"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status "> <strong>3</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/60963660/how-do-i-debug-neutralino-in-vs-code" class="question-hyperlink">How do I debug Neutralino in VS Code?</a></h3> <div class="excerpt">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 find "Step 5 - Debugging" to be too vague to be…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/debugging" class="post-tag grid--cell" title="show questions tagged 'debugging'" rel="tag">debugging</a> <a href="../../questions/tagged/visual-studio-code" class="post-tag grid--cell" title="show questions tagged 'visual-studio-code'" rel="tag">visual-studio-code</a> <a href="../../questions/tagged/neutralinojs" class="post-tag grid--cell" title="show questions tagged 'neutralinojs'" rel="tag">neutralinojs</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Apr 01 '20 at 04:20">asked Apr 01 '20 at 04:20</time> <a href="../../users/2587779/user2587779" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/2587779.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="user2587779" /> </a> <div class="s-user-card--info"> <a href="../../users/2587779/user2587779" class="s-user-card--link">user2587779</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">61</li> <li class="s-award-bling s-award-bling__bronze" title="8 bronze badges">8</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-76565420"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>0</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/76565420/neutralino-js-webview2loader-dll-was-not-found" class="question-hyperlink">Neutralino js : WebView2Loader.dll was not found</a></h3> <div class="excerpt">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 about Neutralino js and it looks like it solves…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/javascript" class="post-tag grid--cell" title="show questions tagged 'javascript'" rel="tag">javascript</a> <a href="../../questions/tagged/web" class="post-tag grid--cell" title="show questions tagged 'web'" rel="tag">web</a> <a href="../../questions/tagged/neutralinojs" class="post-tag grid--cell" title="show questions tagged 'neutralinojs'" rel="tag">neutralinojs</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jun 27 '23 at 13:33">asked Jun 27 '23 at 13:33</time> <a href="../../users/22139475/adnane-kabab" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/22139475.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Adnane Kabab" /> </a> <div class="s-user-card--info"> <a href="../../users/22139475/adnane-kabab" class="s-user-card--link">Adnane Kabab</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">1</li> <li class="s-award-bling s-award-bling__silver" title="1 silver badges">1</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-76308674"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>0</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/76308674/package-neutralinojs-without-bundling" class="question-hyperlink">Package neutralinojs without bundling</a></h3> <div class="excerpt">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 production. I'd like to include some code, but in…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/node.js" class="post-tag grid--cell" title="show questions tagged 'node.js'" rel="tag">node.js</a> <a href="../../questions/tagged/neutralinojs" class="post-tag grid--cell" title="show questions tagged 'neutralinojs'" rel="tag">neutralinojs</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 22 '23 at 17:35">asked May 22 '23 at 17:35</time> <a href="../../users/10224626/ad-s-s" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/10224626.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Ad S.S" /> </a> <div class="s-user-card--info"> <a href="../../users/10224626/ad-s-s" class="s-user-card--link">Ad S.S</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">126</li> <li class="s-award-bling s-award-bling__gold" title="1 gold badge">1</li> <li class="s-award-bling s-award-bling__silver" title="2 silver badge">2</li> <li class="s-award-bling s-award-bling__bronze" title="10 bronze badge">10</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-76147562"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>2</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/76147562/placeholders-not-replaced-inside-a-docx-template" class="question-hyperlink">Placeholders not replaced inside a docx template</a></h3> <div class="excerpt">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 selected docx file and the data to the library for…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/javascript" class="post-tag grid--cell" title="show questions tagged 'javascript'" rel="tag">javascript</a> <a href="../../questions/tagged/vue.js" class="post-tag grid--cell" title="show questions tagged 'vue.js'" rel="tag">vue.js</a> <a href="../../questions/tagged/docx" class="post-tag grid--cell" title="show questions tagged 'docx'" rel="tag">docx</a> <a href="../../questions/tagged/neutralinojs" class="post-tag grid--cell" title="show questions tagged 'neutralinojs'" rel="tag">neutralinojs</a> <a href="../../questions/tagged/easy-template-x" class="post-tag grid--cell" title="show questions tagged 'easy-template-x'" rel="tag">easy-template-x</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 01 '23 at 14:04">asked May 01 '23 at 14:04</time> <a href="../../users/14671456/newbiedev" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/14671456.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="newbiedev" /> </a> <div class="s-user-card--info"> <a href="../../users/14671456/newbiedev" class="s-user-card--link">newbiedev</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">2,607</li> <li class="s-award-bling s-award-bling__gold" title="3 gold badges">3</li> <li class="s-award-bling s-award-bling__silver" title="17 silver badges">17</li> <li class="s-award-bling s-award-bling__bronze" title="65 bronze badges">65</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="s-pagination pager fr"> <a class="s-pagination--item" href="../../questions/tagged/neutralinojs_page=2" rel="prev" title="Go to page 2">Prev </a> <a class="s-pagination--item" href="../../questions/tagged/neutralinojs_page=1" rel="" title="Go to page 1">1</a> <a class="s-pagination--item" href="../../questions/tagged/neutralinojs_page=2" rel="" title="Go to page 2">2</a> <div class="s-pagination--item is-selected">3</div> <a class="s-pagination--item" href="../../questions/tagged/neutralinojs_page=4" rel="" title="Go to page 4">4</a> <a class="s-pagination--item" href="../../questions/tagged/neutralinojs_page=4" rel="next" title="Go to page 4"> Next</a> </div> </div> </div> </div> </div> <script src="../../static/js/stack-icons.js"></script> <script src="../../static/js/fromnow.js"></script> </body> </html>