The Electron framework, evacuated from NSA/Microsoft Github

Jeff Cliff 4f86c4208b we can only support debian stable 3 gadi atpakaļ
.circleci 6dff60b899 Updated CI configs for nightly builds 6 gadi atpakaļ
.github de30defb62 docs: fix wrapping of welcome comment 6 gadi atpakaļ
atom b89fe86fa1 Merge pull request #13050 from electron/3.0.0-deprecations 6 gadi atpakaļ
brightray fd25f594cd Do not capture cookies and credentials (#13065) 6 gadi atpakaļ
build 4321db401c Build node by calling ./configure 6 gadi atpakaļ
chromium_src da0fd10423 refactor: chromium-style warnings in linux code (#12949) 6 gadi atpakaļ
default_app 0f54e56389 Replace default_app icon 6 gadi atpakaļ
docs 4f86c4208b we can only support debian stable 3 gadi atpakaļ
docs-translations e9de194b89 update references to renamed i18n repo 6 gadi atpakaļ
lib b89fe86fa1 Merge pull request #13050 from electron/3.0.0-deprecations 6 gadi atpakaļ
npm cda13e5e79 feat: upgrade electron-download to 4.x 6 gadi atpakaļ
script 8a15231475 Update copy_vcruntime_binaries for VS2017 6 gadi atpakaļ
spec 0d5e98a201 Slightly rewrite <webview> tag tests (#13122) 6 gadi atpakaļ
tools b842a4b133 update mac symbol dump (#12982) 6 gadi atpakaļ
vendor a0a5e4abb2 Bump vendor/native_mate 6 gadi atpakaļ
.clang-format a846088eac Add clang-format config file. 7 gadi atpakaļ
.dockerignore 06481b5630 Add testing for arm, arm64 and ia32 linux builds 6 gadi atpakaļ
.gitignore 04855bc499 Merge pull request #12921 from electron/commit-package-lock 6 gadi atpakaļ
.gitmodules 4dab62dfcf Move brightray submodules to root vendor 7 gadi atpakaļ
.remarkrc 2441d51093 add remark lint to ensure fenced codeblocks are formatted properly. 6 gadi atpakaļ
.travis.yml 136857952e Add arm64 task in travis ci 6 gadi atpakaļ
BUILD.gn b160093b91 refactor: GN builds on linux (#12957) 6 gadi atpakaļ
CODE_OF_CONDUCT.md 2463630dad we don't need one 3 gadi atpakaļ
CONTRIBUTING.md bf27ac17f2 de-npm/de-githubbing 3 gadi atpakaļ
DEPS 886230f64f Roll libchromiumcontent (#13105) 6 gadi atpakaļ
Dockerfile ed1c84445c Update CI to use Node 8 6 gadi atpakaļ
Dockerfile.arm64 5f48f91d94 Newer CI images (#12188) 6 gadi atpakaļ
Dockerfile.arm64v8 ed1c84445c Update CI to use Node 8 6 gadi atpakaļ
Dockerfile.armv7 ed1c84445c Update CI to use Node 8 6 gadi atpakaļ
Dockerfile.circleci ed1c84445c Update CI to use Node 8 6 gadi atpakaļ
LICENSE 46121da765 Update license year 6 gadi atpakaļ
README.md 4388fa7dfa de-githubbing 3 gadi atpakaļ
SECURITY.md bf27ac17f2 de-npm/de-githubbing 3 gadi atpakaļ
common.gypi b6b7707dc3 Fix Windows linking error 6 gadi atpakaļ
electron.gyp 0f7c25fc63 Put View APIs under a build flag 6 gadi atpakaļ
features.gypi 0f7c25fc63 Put View APIs under a build flag 6 gadi atpakaļ
filenames.gypi b89fe86fa1 Merge pull request #13050 from electron/3.0.0-deprecations 6 gadi atpakaļ
package-lock.json 560c0e72e6 Fix vulnerabilities both top-level and in spec (#13029) 6 gadi atpakaļ
package.json 5beadd90ee update electron-typescript-definitions to 1.3.5 6 gadi atpakaļ
toolchain.gypi c1381ac598 Add sccache option to bootstrap (#12582) 6 gadi atpakaļ
vsts.yml 6dff60b899 Updated CI configs for nightly builds 6 gadi atpakaļ

README.md

Electron Logo

:memo: Available Translations: 🇨🇳 🇹🇼 🇧🇷 🇪🇸 🇰🇷 🇯🇵 🇷🇺 🇫🇷 🇹🇭 🇳🇱 🇹🇷 🇮🇩 🇺🇦 🇨🇿 🇮🇹. View these docs in other languages at electron/i18n.

The Electron framework lets you write cross-platform desktop applications using JavaScript, HTML and CSS. It is based on NSA/Microsoft Node.js and Chromium and is used by the Atom editor and many other apps.

This version of electron does not require agreemnt with a code of conduct. Send us your PRs.

Installation

Old way of installing electron:

npm install electron --save-dev [--save-exact]

You don't need --save-exact flag. For info on how to manage Electron versions in your apps, see Electron versioning.

For more installation options and troubleshooting tips, see installation.

Quick start

Clone and run the electron/electron-quick-start (warning: github link) repository to see a minimal Electron app in action:

git clone https://notabug.org/themusicgod1/electron/
cd electron-quick-start
npm install
npm start

Resources for learning Electron

Programmatic usage

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:

const electron = require('electron')
const proc = require('child_process')

// will print something similar to /Users/maf/.../Electron
console.log(electron)

// spawn Electron
const child = proc.spawn(electron)

Mirrors

Documentation Translations

Find documentation translations in electron/i18n.

Community

Info on reporting bugs, getting help, finding third-party tools and sample apps, and more can be found in the support document.

License

MIT

When using the Electron or other GitHub logos, be sure to follow the GitHub logo guidelines.