2017-03-01 08:19:55 +03:00
|
|
|
[![Electron Logo](https://electron.atom.io/images/electron-logo.svg)](https://electron.atom.io/)
|
2015-04-23 23:46:48 +03:00
|
|
|
|
2016-04-04 22:18:37 +03:00
|
|
|
[![Travis Build Status](https://travis-ci.org/electron/electron.svg?branch=master)](https://travis-ci.org/electron/electron)
|
2017-03-14 20:13:53 +03:00
|
|
|
[![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/bc56v83355fi3369/branch/master?svg=true)](https://ci.appveyor.com/project/electron-bot/electron/branch/master)
|
2016-10-12 23:17:26 +03:00
|
|
|
[![devDependency Status](https://david-dm.org/electron/electron/dev-status.svg)](https://david-dm.org/electron/electron?type=dev)
|
2015-06-30 02:46:22 +03:00
|
|
|
[![Join the Electron Community on Slack](http://atom-slack.herokuapp.com/badge.svg)](http://atom-slack.herokuapp.com/)
|
|
|
|
|
2015-04-08 20:16:10 +03:00
|
|
|
The Electron framework lets you write cross-platform desktop applications
|
2015-11-03 20:13:48 +03:00
|
|
|
using JavaScript, HTML and CSS. It is based on [Node.js](https://nodejs.org/) and
|
2016-05-24 20:20:52 +03:00
|
|
|
[Chromium](http://www.chromium.org) and is used by the [Atom
|
2017-03-01 08:19:55 +03:00
|
|
|
editor](https://github.com/atom/atom) and many other [apps](https://electron.atom.io/apps).
|
2013-04-12 05:46:58 +04:00
|
|
|
|
2015-04-24 03:00:04 +03:00
|
|
|
Follow [@ElectronJS](https://twitter.com/electronjs) on Twitter for important
|
|
|
|
announcements.
|
|
|
|
|
2015-12-04 03:06:58 +03:00
|
|
|
This project adheres to the Contributor Covenant [code of conduct](CODE_OF_CONDUCT.md).
|
|
|
|
By participating, you are expected to uphold this code. Please report unacceptable
|
2016-05-24 20:20:52 +03:00
|
|
|
behavior to electron@github.com.
|
2015-07-08 23:29:24 +03:00
|
|
|
|
2014-05-04 16:58:59 +04:00
|
|
|
## Downloads
|
2013-04-12 05:46:58 +04:00
|
|
|
|
2016-11-15 00:52:07 +03:00
|
|
|
To install prebuilt Electron binaries, use
|
2016-12-18 07:35:06 +03:00
|
|
|
[`npm`](https://docs.npmjs.com/):
|
2015-04-17 21:25:06 +03:00
|
|
|
|
2015-04-29 20:56:31 +03:00
|
|
|
```sh
|
2015-04-17 21:25:06 +03:00
|
|
|
# Install as a development dependency
|
2016-08-14 07:42:26 +03:00
|
|
|
npm install electron --save-dev
|
2016-11-15 00:52:07 +03:00
|
|
|
|
|
|
|
# Install the `electron` command globally in your $PATH
|
|
|
|
npm install electron -g
|
2015-04-17 21:25:06 +03:00
|
|
|
```
|
|
|
|
|
2016-11-15 00:52:07 +03:00
|
|
|
See the [releases page](https://github.com/electron/electron/releases) for
|
|
|
|
prebuilt binaries, debug symbols, and more.
|
|
|
|
|
2015-01-19 17:30:33 +03:00
|
|
|
### Mirrors
|
|
|
|
|
2015-05-10 11:15:12 +03:00
|
|
|
- [China](https://npm.taobao.org/mirrors/electron)
|
2015-01-19 17:30:33 +03:00
|
|
|
|
2014-05-05 22:56:35 +04:00
|
|
|
## Documentation
|
2013-04-12 05:46:58 +04:00
|
|
|
|
2014-05-07 09:06:35 +04:00
|
|
|
Guides and the API reference are located in the
|
2016-04-01 02:51:42 +03:00
|
|
|
[docs](https://github.com/electron/electron/tree/master/docs) directory. It also
|
2015-04-16 06:10:24 +03:00
|
|
|
contains documents describing how to build and contribute to Electron.
|
2014-05-14 22:32:24 +04:00
|
|
|
|
2015-08-23 18:19:37 +03:00
|
|
|
## Documentation Translations
|
|
|
|
|
2016-04-01 02:51:42 +03:00
|
|
|
- [Brazilian Portuguese](https://github.com/electron/electron/tree/master/docs-translations/pt-BR)
|
|
|
|
- [Korean](https://github.com/electron/electron/tree/master/docs-translations/ko-KR)
|
|
|
|
- [Japanese](https://github.com/electron/electron/tree/master/docs-translations/jp)
|
|
|
|
- [Spanish](https://github.com/electron/electron/tree/master/docs-translations/es)
|
|
|
|
- [Simplified Chinese](https://github.com/electron/electron/tree/master/docs-translations/zh-CN)
|
|
|
|
- [Traditional Chinese](https://github.com/electron/electron/tree/master/docs-translations/zh-TW)
|
2016-04-26 00:49:34 +03:00
|
|
|
- [Turkish](https://github.com/electron/electron/tree/master/docs-translations/tr-TR)
|
2017-06-07 19:38:57 +03:00
|
|
|
- [Thai](https://github.com/electron/electron/tree/master/docs-translations/th-TH)
|
2016-04-01 02:51:42 +03:00
|
|
|
- [Ukrainian](https://github.com/electron/electron/tree/master/docs-translations/uk-UA)
|
|
|
|
- [Russian](https://github.com/electron/electron/tree/master/docs-translations/ru-RU)
|
|
|
|
- [French](https://github.com/electron/electron/tree/master/docs-translations/fr-FR)
|
2017-05-10 17:55:38 +03:00
|
|
|
- [Indonesian](https://github.com/electron/electron/tree/master/docs-translations/id)
|
2015-08-23 18:19:37 +03:00
|
|
|
|
2015-10-20 01:52:02 +03:00
|
|
|
## Quick Start
|
|
|
|
|
2016-04-04 22:18:37 +03:00
|
|
|
Clone and run the [`electron/electron-quick-start`](https://github.com/electron/electron-quick-start)
|
2015-10-20 01:52:02 +03:00
|
|
|
repository to see a minimal Electron app in action.
|
|
|
|
|
2014-05-14 22:32:24 +04:00
|
|
|
## Community
|
|
|
|
|
2015-10-03 08:42:34 +03:00
|
|
|
You can ask questions and interact with the community in the following
|
2015-09-09 21:34:20 +03:00
|
|
|
locations:
|
2015-11-03 08:16:12 +03:00
|
|
|
- [`electron`](http://discuss.atom.io/c/electron) category on the Atom
|
2015-09-09 21:34:20 +03:00
|
|
|
forums
|
|
|
|
- `#atom-shell` channel on Freenode
|
|
|
|
- [`Atom`](http://atom-slack.herokuapp.com/) channel on Slack
|
2017-05-05 19:34:53 +03:00
|
|
|
- [`electron-ru`](https://telegram.me/electron_ru) *(Russian)*
|
2015-12-02 18:27:23 +03:00
|
|
|
- [`electron-br`](https://electron-br.slack.com) *(Brazilian Portuguese)*
|
2016-01-20 13:05:35 +03:00
|
|
|
- [`electron-kr`](http://www.meetup.com/electron-kr/) *(Korean)*
|
2016-12-25 12:07:25 +03:00
|
|
|
- [`electron-jp`](https://electron-jp.slack.com) *(Japanese)*
|
2017-05-01 16:33:25 +03:00
|
|
|
- [`electron-tr`](http://electron-tr.herokuapp.com) *(Turkish)*
|
2016-07-13 10:07:46 +03:00
|
|
|
- [`electron-id`](https://electron-id.slack.com) *(Indonesia)*
|
2016-06-22 11:02:14 +03:00
|
|
|
|
2015-10-03 08:42:34 +03:00
|
|
|
Check out [awesome-electron](https://github.com/sindresorhus/awesome-electron)
|
2015-09-09 21:34:20 +03:00
|
|
|
for a community maintained list of useful example apps, tools and resources.
|
2016-10-01 06:33:51 +03:00
|
|
|
|
|
|
|
## License
|
|
|
|
|
2016-11-08 01:26:21 +03:00
|
|
|
[MIT](https://github.com/electron/electron/blob/master/LICENSE)
|
2016-11-07 23:08:11 +03:00
|
|
|
|
2016-11-08 01:26:21 +03:00
|
|
|
When using the Electron or other GitHub logos, be sure to follow the [GitHub logo guidelines](https://github.com/logos).
|