Skip to content
프로젝트

Automattic/simplenote-electron

GitHub에서 보기

소개

웹, Windows, Linux용 Simplenote

기타 프로젝트

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
+1
in 7 days
+4
in 15 days
+7
in 1 month
+21

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Simplenote for Electron

Screenshot

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

Running

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.

  1. Clone the repo: git clone https://github.com/Automattic/simplenote-electron.git
  2. cd simplenote-electron
  3. npm install (The repo's .npmrc sets legacy-peer-deps=true, so every npm command run inside the repo behaves as if passed --legacy-peer-deps. This is currently necessary because react-monaco-editor is pinned to a specific monaco-editor dependency, but npm considers minor versions to be breaking changes for sub-1.0.0 apps. If the setting is ever no longer needed, remove that line from .npmrc along with the explicit --legacy-peer-deps flags in the Makefile, bin/deploy.sh, and .buildkite/, then regenerate package-lock.json.)
  4. Decrypt the config file using make decrypt_conf.
  5. npm run dev
  6. The dev server will start on http://localhost:4000, and the Electron app will launch automatically.
  7. For all logging from Electron to be printed to the terminal (e.g. console.log statements within app.js), you might need to set env 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.

Building

  • make package-osx
  • make package-win32
  • make package-linux

Testing

Unit tests are run with npm test.

Coding Guidelines

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

See CONTRIBUTING.md for more guidelines.

Dependencies

  • 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 for Other Platforms

simplenote-electron is the official Simplenote desktop app for Windows and Linux.

For other platforms, see:

관련 프로젝트 살펴보기

불러오는 중…