A Simplenote React app packaged in Electron
JavaScript CSS Smarty Makefile HTML
Latest commit a8a4bce Jan 19, 2017 @dmsnell dmsnell committed on GitHub Add command-line option to open devtools (#497)
Previously one needed to change the source code of the app in order to
open the developer tools. This also meant that one needed to undo those
changes before checking in and committing code.

Now, we can pass in a command-line option after the app has been built
in order to determine if the tools open or not. This means no risk of
accidentally merging in changes which open the tools by default and it
means we don't have to recompile in order to inspect the running app
inside of Electron.
Permalink
Failed to load latest commit information.
.github Small space changes Jan 19, 2017
desktop Add command-line option to open devtools (#497) Jan 19, 2017
docs updated packaging documentation with instructions for linux Mar 17, 2016
lib Fixes a bug in the logout flow where the app becomes unresponsive (#493) Jan 19, 2017
public_html Add Simplenote favicon. Because why not. Oct 18, 2015
resources Packager: fixes error during packing. (#475) Jan 5, 2017
scss Add an 'X' button to clear a search query (#481) Jan 10, 2017
.babelrc Update versions to jump to latest node (#471) Dec 23, 2016
.editorconfig Add .editorconfig and .eslintrc for code style checking Nov 5, 2015
.eslintrc Update versions to jump to latest node (#471) Dec 23, 2016
.gitignore Replace config.js with config.* in .gitignore (#485) Jan 6, 2017
LICENSE.md Cleaned up README, and added GPLv2 license. Mar 11, 2016
Makefile Update Makefile to allow for either style of config files (#486) Jan 17, 2017
README.md Add command-line option to open devtools (#497) Jan 19, 2017
builder.js Packager: fixes error during packing. (#475) Jan 5, 2017
docker-compose.yml Update versions to jump to latest node (#471) Dec 23, 2016
get-config.js Removes jade (#477) Jan 4, 2017
package.json Introduce `react-virtualized` to fix performance issues in note list (#… Jan 17, 2017
webpack.config.dll.js Introduce `react-virtualized` to fix performance issues in note list (#… Jan 17, 2017
webpack.config.js Removes jade (#477) Jan 4, 2017

README.md

Simplenote for Electron

Screenshot

A Simplenote React client packaged in Electron. Learn more about Simplenote at Simplenote.com.

Development Requirements

Running

  1. Clone the repo: git clone https://github.com/Automattic/simplenote-electron.git
  2. Create a new file in the root directory, named config.json
  3. Add the Simplenote application id and token to config.json
{
  "app_id":     "your-app-id",
  "app_key":    "yourappkey"
}
  1. npm install or docker-compose up install (if Docker installed)
  2. npm start or docker-compose up dev (if Docker installed)
  3. Open http://localhost:4000. You can sign in to the app with your Simperium credentials.

Note: Simplenote API features such as sharing and publishing will not work with development builds.

Electron

Install electron globally npm install -g electron-prebuilt, then:

  1. Run npm run build
  2. Run electron .

You can also pass along the --devtools option after electron . to open the developer tools

Coding Guidelines

Please adhere to the same guidelines as found in wp-calypso.

Dependencies