v2 is a local-first rich-text editor with versioning capabilities.
Built on top of Automerge, ProseMirror and integrated with the Pandoc ecosystem.
- Package manager: pnpm
- Node (version listed on
.nvmrc) - Git LFS (needed for WASM files)
- Commit style: Conventional commits
$ pnpm installThe app uses two environment files, both gitignored:
.env— Shared variables loaded in all modes (dev, build, test)..env.development— Dev-only overrides loaded only byelectron-vite dev.
Copy the sample files to get started:
cp .env.sample .env
cp .env.development.sample .env.developmentVITE_DEV_SERVER_URL lives in .env.development so that production builds (and E2E tests, which run against the built app) never try to connect to a dev server.
$ git lfs pull$ pnpm run devSee docs/vscode-debugging.md for attaching breakpoints to the main process.
See docs/testing.md for Storybook and Playwright E2E setup.
To build v2 in production mode, run:
pnpm run buildThis will build the app under the dist directory. To run the built production version:
pnpm run startSee docs/release.md for the release workflow, code signing setup per OS, and local packaging/debug instructions.