AFFiNE/apps/desktop
2023-02-10 12:41:01 +00:00
..
scripts chore: move client folders (#948) 2023-02-10 12:41:01 +00:00
src/preload chore: move client folders (#948) 2023-02-10 12:41:01 +00:00
src-OctoBase@f8ce0c0f05 chore: move client folders (#948) 2023-02-10 12:41:01 +00:00
src-tauri chore: move client folders (#948) 2023-02-10 12:41:01 +00:00
index.html chore: move client folders (#948) 2023-02-10 12:41:01 +00:00
package.json chore: move client folders (#948) 2023-02-10 12:41:01 +00:00
pnpm-lock.yaml chore: move client folders (#948) 2023-02-10 12:41:01 +00:00
README.md chore: move client folders (#948) 2023-02-10 12:41:01 +00:00
tsconfig.json chore: move client folders (#948) 2023-02-10 12:41:01 +00:00
vite.config.ts chore: move client folders (#948) 2023-02-10 12:41:01 +00:00

Client App

AFFiNE App client powered by Tauri.

Quick Start

Please follow the Tauri getting started guide for environment setup.

After the environment is ready, start development build:

pnpm tauri dev

Development

Currently desktop client depends on a rapidly developing rust library "Octobase", we use git-submodule to link it currently.

We will provide its binary binding soon, to replace the git-submodule, before Octobase become opensource.

Scripts

On this folder:

  • pnpm dev:app will start a vite server
  • pnpm build:prerequisite will link the Octobase and prepare affine dist html and tauri preload script, also will generate ts type from rs. You should run this before start your first development time.

On project root folder: