Electron (software framework)
Developer(s) | GitHub |
---|---|
Initial release | 15 July 2013[1] |
Stable release | 1.7.6
/ 9 August 2017[2] |
Repository | |
Written in | C++ and JavaScript |
Operating system | Windows, Linux and macOS |
Platform | x86, x64, ARM |
License | MIT License[3] |
Website | www |
Electron (formerly known as Atom Shell[4]) is an open-source framework created by Cheng Zhao, and now developed by GitHub.[5] It allows for the development of desktop GUI applications using front and back end components originally developed for web applications: Node.js runtime for the backend and Chromium for the frontend. Electron is the main GUI framework behind several notable open-source projects including GitHub's Atom[6] and Microsoft's Visual Studio Code[7] source code editors and the Light Table[8] IDE, in addition to the freeware desktop client for the Discord chat service.
History
- On 11 April in 2013, Electron was started as Atom Shell.[9]
- On 6 May 2014, Atom and Atom Shell became open-source with MIT license.[10]
- On 17 April 2015, Atom Shell was renamed to Electron.[11]
- On 11 May 2016, Electron reached version 1.0.[12]
- On 20 May 2016, Electron allowed submitting packaged apps to the Mac App Store.[13][14][15][16]
- On 2 August 2016, Windows Store support for Electron apps was added.[17][18]
Structure of an Electron application
A basic Electron app consists of three files: package.json
(metadata), main.js
(code) and index.html
(graphical user interface). The framework is provided by the Electron executable file (electron.exe
in Windows, electron.app
on macOS and electron
on Linux). Developers wishing to add branding and custom icon can rename and/or edit the Electron executable file.
The most important file in the electron file is package.json
. It keeps information about package. The most common information in package.json
is:
- "name", the application name
- "version", the application version string
- "main", the name of the main script file of the application
package.json
is an npm file.[19]
Applications using Electron
A significant number of desktop applications are built with Electron including:[20]
- Atom[21]
- Discord
- GitHub Desktop Beta[22]
- Light Table[23]
- Slack[24]
- Visual Studio Code[25]
- Wire[26]
- Yammer
See also
- nw js (formerly node-webkit)
- Chromium Embedded Framework (CEF)
- Qt WebEngine
- XULRunner
- Apache Cordova
References
- ^ Earliest tagged release
- ^ "Release Notes". github.com. GitHub. 9 August 2017.
- ^ "electron/LICENSE at master". GitHub. Retrieved 25 April 2017.
- ^ Sawicki, Kevin (23 April 2015). "Atom Shell is now Electron". Atom. Retrieved 2 December 2015.
- ^ https://github.com/atom/electron
- ^ https://github.com/atom/atom
- ^ James, Mike (23 November 2015). "Visual Studio Code - Now With Added Extensions". I Programmer. Retrieved 2 December 2015.
- ^ Horner, Gabriel (10 December 2015). "Light Table 0.8.0". Retrieved 21 March 2017.
- ^ Zhao, Cheng (11 April 2013). "Add submodules. · electron/electron@6ef8875". GitHub. Retrieved 19 March 2017.
- ^ Sobo, Nathan (6 May 2014). "Atom Is Now Open Source". Atom Blog. Retrieved 19 March 2017.
- ^ Sawicki, Kevin (8 April 2015). "Rename to electron by kevinsawicki · Pull Request #1389 · electron/electron". GitHub. Retrieved 19 March 2017.
- ^ Lord, Jessica (11 May 2016). "Electron 1.0". Electron blog. Retrieved 19 March 2017.
- ^ "Mac App Store Submission Guide". Electron Documentation. Retrieved 19 March 2017.
- ^ Zhao, Cheng (16 October 2015). "Release electron v0.34.0 · electron/electron".
OS X: Add experiment build for Mac App Store, read Mac App Store Submission Guide for more.
- ^ Zhao, Cheng (20 May 2016). "Release electron v1.1.1 · electron/electron".
OS X: Enable Mac App Store sandboxing without using temporary-exception. #5584, #5601
- ^ Zhao, Cheng (18 May 2016). "Merge pull request #5584 from electron/sandbox-no-expl · electron/electron@e05f795".
- ^ "Windows Store Guide". Electron Documentation. Retrieved 19 March 2017.
- ^ Rieseberg, Felix (17 September 2016). "Update Windows Store Language · electron/electron@084110c". Retrieved 5 May 2017.
- ^ "package.json". npm Documentation. Retrieved 19 March 2017.
{{cite web}}
: Cite has empty unknown parameter:|dead-url=
(help) - ^ "Apps". Electron. Retrieved 18 August 2017.
- ^ Sawicki, Kevin (23 April 2015). "Atom Shell is now Electron". Electron. Retrieved 15 July 2017.
- ^ Haack, Phil (16 May 2017). "Announcing Git Integration for Atom and GitHub Desktop Beta". The GitHub Blog. Retrieved 15 July 2017.
- ^ Horner, Gabriel (10 December 2015). "Light Table 0.8.0". Light Table Blog. Retrieved 15 July 2017.
- ^ "Building hybrid applications with Electron". Several People Are Coding. Retrieved 12 August 2017.
- ^ Bright, Peter (29 April 2015). "Microsoft's new Code editor is built on Google's Chromium". Ars Technica. Retrieved 18 November 2015.
- ^ https://github.com/wireapp/wire-desktop
External links