A Simplenote React client packaged in Electron. Learn more about Simplenote at Simplenote.com.
Read this first!! Local development is currently not supported if you don't have an existing account on the test server or access to the production credentials. This is because the move to an email-first signup flow has made it impossible to create accounts in the test database. We hope to be able to support an open-source development workflow again in the future.
- Clone the repo:
git clone https://github.com/Automattic/simplenote-electron.git
cd simplenote-electron
npm install --legacy-peer-deps
(This flag is necessary becausereact-monaco-editor
is pinned to a specificmonaco-editor
dependency, butnpm
considers minor versions to be breaking changes for sub-1.0.0 apps)- Decrypt the config file using
make decrypt_conf
. npm run dev
- The dev server will start on http://localhost:4000, and the Electron app will launch automatically.
- For all logging from Electron to be printed to the terminal (e.g.
console.log
statements withinapp.js
), you might need to setenv ELECTRON_ENABLE_LOGGING=1
.
Note: Simplenote API features such as sharing and publishing will not work with development builds. Due to a limitation of make
, installation paths used for build cannot have spaces.
make package-osx
make package-win32
make package-linux
Unit tests are run with npm test
.
Please adhere to the same guidelines as found in wp-calypso.
See CONTRIBUTING.md for more guidelines.
- node-simperium for Simperium syncing.
- ReactJS for UI.
- Electron for wrapping the JavaScript application.
rpm
must be installed in order to build Linux packages (brew install rpm
on OSX).
simplenote-electron is the official Simplenote desktop app for Windows and Linux.
For other platforms, see: