Skip to content
Please note that GitHub no longer supports Internet Explorer.

We recommend upgrading to the latest Microsoft Edge, Google Chrome, or Firefox.

Learn more
Explore the Electron APIs
Branch: master
Clone or download
ckerr and codebytere fix: enable node integration (#416)
needed for the current code structure, but disabled by default in 5.0
Latest commit 419b57b Feb 28, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets fix: remove pdf code in 3.0 and update deps Oct 22, 2018
main-process fix: require path when using (#402) Nov 6, 2018
renderer-process fix: remove pdf code in 3.0 and update deps Oct 22, 2018
script chore: update release script (#411) Jan 8, 2019
sections
test fix: remove pdf code in 3.0 and update deps Oct 22, 2018
.gitattributes Make sure Windows devs don't commit CRLF Sep 27, 2016
.gitignore git ignore npm-debug.log Apr 11, 2016
.node-version
.travis.yml use current and LTS Node.js in CI (#381) Jul 12, 2018
CODE_OF_CONDUCT.md fix: update links for newemails and website (#383) Jul 22, 2018
CONTRIBUTING.md fix: update links for newemails and website (#383) Jul 22, 2018
ISSUE_TEMPLATE.md Add issue template Feb 29, 2016
README.md
cli.js feat: add a command-line-interface for launching (#378) Jul 24, 2018
docs.md Fix typo in docs.md Jul 28, 2017
index.html fix: remove pdf code in 3.0 and update deps Oct 22, 2018
license.md make year a range Feb 15, 2018
main.js fix: enable node integration (#416) Feb 28, 2019
package-lock.json chore: update release script (#411) Jan 8, 2019
package.json chore: update release script (#411) Jan 8, 2019

README.md

Electron API Demos icon Electron API Demos

Build Status JavaScript Standard Style

This is a desktop app that interactively and with sample code demonstrates core features of the Electron API. It's built with Electron, too, of course. This app works on Windows, macOS and Linux operating systems.

Use this app to see what you can do with Electron and use the source code to learn how to create a basic Electron app.

Electron API Demos Screenshots


This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to coc@electronjs.org.

Follow @ElectronJS on Twitter for important announcements. Visit the electron website.

Using

You can download the latest release for your operating system or build it yourself (see below).

Building

You'll need Node.js installed on your computer in order to build this app.

$ git clone https://github.com/electron/electron-api-demos
$ cd electron-api-demos
$ npm install
$ npm start

If you don't wish to clone, you can download the source code.

For easier developing you can launch the app in fullscreen with DevTools open:

$ npm run dev

Extending

Read the docs to learn more about how this app is built or how to add a new demo.

Translations

Note: these versions are maintained by outside contributors and may not always be in sync with this version.

You can’t perform that action at this time.