AFFiNE/client-app
2023-01-05 14:57:40 +08:00
..
scripts refactor: move ipc method and types to data-center folder 2023-01-05 14:53:02 +08:00
src refactor: move ipc method and types to data-center folder 2023-01-05 14:53:02 +08:00
src-OctoBase@4263134e11 Create src-OctoBase 2023-01-04 21:11:26 +08:00
src-tauri refactor: move ipc method and types to data-center folder 2023-01-05 14:53:02 +08:00
.editorconfig feat: add basic tauri client app 2023-01-04 21:11:26 +08:00
.gitattributes feat: add basic tauri client app 2023-01-04 21:11:26 +08:00
.gitignore feat: add basic tauri client app 2023-01-04 21:11:26 +08:00
.gitmodules feat: add basic tauri client app 2023-01-04 21:11:26 +08:00
.nvmrc feat: add basic tauri client app 2023-01-04 21:11:26 +08:00
index.html feat: add basic tauri client app 2023-01-04 21:11:26 +08:00
LICENSE feat: add basic tauri client app 2023-01-04 21:11:26 +08:00
package.json chore: build rs-type before start dev 2023-01-05 14:57:40 +08:00
pnpm-lock.yaml feat: add basic tauri client app 2023-01-04 21:11:26 +08:00
README.md chore: build rs-type before start dev 2023-01-05 14:57:40 +08:00
tsconfig.json feat: add basic tauri client app 2023-01-04 21:11:26 +08:00
vite.config.ts feat: add basic tauri client app 2023-01-04 21:11:26 +08: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 client-app 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: