Skip to content
EntityQ21614124· pop 20· linked from 209 articles

Also known as Atom Shell

Framework für Desktop-Applikationen

Source code

The Electron framework lets you write cross-platform desktop applications using JavaScript, HTML and CSS. It is based on Node.js and Chromium and is used by the Visual Studio Code and many other apps. This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to [email protected]. For more installation options and troubleshooting tips, see installation. For info on how to manage Electron versions in your apps, see Electron versioning. macOS (Ventura and up): Electron provides 64-bit Intel and Apple Silicon / ARM binaries for macOS. Windows (Windows 10 and up): Electron provides x64 ( amd64 ) and arm64 binaries for Windows. Linux: The prebuilt binaries of Electron are built on Ubuntu 22.04. They have also been verified to work on: Ubuntu 18.04 and newer Fedora 32 and newer Debian 10 and newer Use Electron Fiddle to build, run, and package small Electron experiments, to see code examples for all of Electron's APIs, and to try out different versions of Electron. It's designed to make the start of your journey with Electron easier. electronjs.org/docs - All of Electron's documentation electron/fiddle - A tool to build, run, and package small Electron experiments electronjs.org/community boilerplates - Sample starter apps created by the community Most people use Electron from the command line, but if you require electron inside your Node app (not your Electron app) it will return the file path to the binary. Use this to spawn Electron from Node scripts: See the Advanced Installation Instructions to learn how to use a custom mirror. We crowdsource translations for our documentation via Crowdin. We currently accept translations for Chinese (Simplified), French, German, Japanese, Portuguese, Russian, and Spanish. If you are interested in reporting/fixing issues and contributing directly to the code base, please see CONTRIBUTING.md for more information on what we're looking for and how to get started. Info on reporting bugs, getting help, finding third-party tools and sample apps, and more can be found on the Community page. When using Electron logos, make sure to follow OpenJS Foundation Trademark Policy.

Excerpt from the source-code README · 4,475 chars · not written by Vinony

Wikidata facts

Official website
www.electronjs.org
Image
Electron 20.0.3 screenshot.png
Show 11 more facts
programmed in
Python
copyright license
MIT License
source code repository URL
github.com/electron/electron
software quality assurance
continuous integration
software version identifier
41.3.0
social media followers
334
Commons category
Electron (software framework)
official blog URL
www.electronjs.org/blog
operating system
Linux
inception
2013-07-15
Sources (9)

via Wikidata · CC0

Article · Deutsch

Electron (ehemals Atom Shell) ist ein von GitHub entwickeltes, quelloffenes Framework. Es ermöglicht die Ausführung von Cross-Platform-Desktop-Anwendungen mithilfe des Webbrowsers Chromium und des Node.js-Frameworks. Die Atom Shell (jetzt Electron) wurde als Basis für den Editor Atom von GitHub entwickelt und ist Basis von u. a. Microsofts Visual Studio Code oder der Desktop-App für Twitch. Auch die VoIP-Apps Discord und Skype, der Messenger Signal und viele weitere Anwendungen verwenden Electron, um mit wenig Aufwand eine Desktop-Anwendung zu realisieren. Mithilfe von Electron können in HTML, CSS und JavaScript entwickelte Desktop-Anwendungen ausgeführt werden. Es können daher auch Frameworks wie Vue.js oder Angular benutzt werden. Für zeitkritische Aufgaben (wie z. B. Videotelefonie) kann zusätzlich C++ verwendet werden. Auch ist je nach Anwendung eine API nicht notwendig, da mit einem entsprechenden Node.js-Paket z. B. direkt MySQL-Abfragen ausgeführt werden können. Das Grundgerüst einer Electron-App besteht aus den Dateien package.json (Metadaten, also benutzte Pakete etc.), main.js (Code für den Hauptprozess) und index.html (grafische Benutzeroberfläche). Das Electron-Executable (electron.exe unter Windows, electron.app unter macOS und electron unter Linux) wird zur Vervollständigung hinzugefügt. Die ausführbare Datei kann zum Zwecke des Brandings umbenannt oder verändert werden (Hinzufügen benutzerdefinierter Icons etc.). Mit einem entsprechenden Node.js-Paket lassen sich auch Installer packen. Im Mai 2018 fiel auf, dass Electron-Anwendungen anfällig für Cross-Site-Scripting-Angriffe sind. Dies wurde in späteren Versionen behoben. Aufgrund der Distributionsmethode muss bei einer Sicherheitslücke das Electron-Executable für jede Anwendung einzeln aktualisiert werden.

Abstract from DBpedia / Wikipedia · CC BY-SA