Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
Windows Tipps & SecurityNighthawk M7 Pro im Test: Flexibler, aber teurer 5G-Router(21.09.2026 um 10:30 Uhr)
Sichere ProgrammierungNeue Gmail-Funktion: So sparst du jetzt Zeit bei Einmalcodes(21.09.2026 um 10:00 Uhr)
Sichere ProgrammierungYour GIF exporter is fine — the container is the problem(21.09.2026 um 10:01 Uhr)
Sichere ProgrammierungCSS, Motion, or GSAP? I Choose by Who Owns the Animation(21.09.2026 um 10:12 Uhr)
Windows Tipps & SecurityNighthawk M7 Pro im Test: Flexibler, aber teurer 5G-Router(21.09.2026 um 10:30 Uhr)
Sichere ProgrammierungNeue Gmail-Funktion: So sparst du jetzt Zeit bei Einmalcodes(21.09.2026 um 10:00 Uhr)
Sichere ProgrammierungYour GIF exporter is fine — the container is the problem(21.09.2026 um 10:01 Uhr)
Sichere ProgrammierungCSS, Motion, or GSAP? I Choose by Who Owns the Animation(21.09.2026 um 10:12 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

Hello World in Neutralinojs

About A lightweight gui framework for desktop gui app development. link to website Features Simple Lightweight Crossplatform Web technologies for ui coding Can use any front-end frameworks Development…

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!




About



A lightweight gui framework for desktop gui app development.



link to website






Features




  • Simple

  • Lightweight

  • Crossplatform

  • Web technologies for ui coding

  • Can use any front-end frameworks






Development Environment




  • os: linux mint

  • code-editor: vscode

  • node.js (I use bun!)

  • neutralinojs






Hello World App



1.Installing neu(cli tool for neutralinojs) tool:




npm install -g @neutralinojs/neu







2.Creating a new project(or neu project 😉):




neu create hello










cd hello






3.Test run:




neu run






You should see a simple app!



4.Project structure:




  • There are a bunch of files and folders!

  • neutralino.config.json is for configuration like we can set the size of the main window, etc.

  • bin/ folder contains neutralino binaries

  • resources/ folder is where our code lives!

  • dist/ folder (is generated after we build the project) is where our end app lives!

  • So,when user downloads our app,he gets a folder with binaries for different platforms and a resources.neu file.

  • The user double clicks the binary for his specific platform(like hello-linux_x64) and the executable will start the app by loading our ui code that was packaged into resources.neu file.

  • Simply, the app means the executable and the resources.neu file.



5.To build the project:




neu build






For release:




neu build --release







It produces a zip file in dist/ folder.



6.Now, making the simple app even simpler!




  • Delete all the code in resources/index.html
    and put this:




<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Hello World</title>
<link rel="stylesheet" href="/styles.css">
</head>
<body>
<div id="neutralinoapp">
<h1>Hello World!</h1>
</div>

<script src="/js/neutralino.js"></script>
<!-- Your app's source files -->
<script src="/js/main.js"></script>
</body>
</html>






Here, the two script tags are important!




  • Now replace the content in styles.css with:




html,body{
margin: 0;
padding: 0;

}

h1{
margin: 5rem;
color: blue;
}







  • And for now just remove all the code in resources/js/main.js (No js for now!)

  • Now run the app and see!




neu run







Thats it!






Task



Find the field in neutralino.config.json, that ends the process when the user closes the main window!

Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Hello World in Neutralinojs

Thematisch verwandte Begriffe: Hello, World, Neutralinojs · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-94030 | A security vulnerability has been detected in SerenityOS up to 3d83e4509…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick