Skip to content

oktana-coop/v2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

745 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

v2

v2 is a local-first rich-text editor with versioning capabilities.

Built on top of Automerge, ProseMirror and integrated with the Pandoc ecosystem.

Development

Recommended tooling/practices

Install

$ pnpm install

Environment Setup

The app uses two environment files, both gitignored:

  • .env — Shared variables loaded in all modes (dev, build, test).
  • .env.development — Dev-only overrides loaded only by electron-vite dev.

Copy the sample files to get started:

cp .env.sample .env
cp .env.development.sample .env.development

VITE_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.

Pull Git LFS Artifacts

$ git lfs pull

Run

$ pnpm run dev

VSCode Debugging

See docs/vscode-debugging.md for attaching breakpoints to the main process.

Testing

See docs/testing.md for Storybook and Playwright E2E setup.

Build

To build v2 in production mode, run:

pnpm run build

This will build the app under the dist directory. To run the built production version:

pnpm run start

Release and Versioning

See docs/release.md for the release workflow, code signing setup per OS, and local packaging/debug instructions.

About

A local-first editor with Git-style version control, true privacy, and complete control over your data

Resources

License

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

 
 
 

Contributors

Languages