libreoffice-js/desktop
Philip Peterson 64186d8625 initial
2026-09-29 01:25:14 -08:00
..
scripts initial 2026-09-29 01:25:14 -08:00
src initial 2026-09-29 01:25:14 -08:00
src-tauri initial 2026-09-29 01:25:14 -08:00
index.html initial 2026-09-29 01:25:14 -08:00
package-lock.json initial 2026-09-29 01:25:14 -08:00
package.json initial 2026-09-29 01:25:14 -08:00
README.md initial 2026-09-29 01:25:14 -08:00
rust-toolchain.toml initial 2026-09-29 01:25:14 -08:00
tsconfig.json initial 2026-09-29 01:25:14 -08:00
vite.config.ts initial 2026-09-29 01:25:14 -08:00

LibreOffice JS desktop app

Tauri 2 shell (src-tauri/) around a React + Vite frontend (src/).

npm install
npx tauri dev        # desktop window, hot reload (runs `npm run dev` itself)
npm run dev          # browser only: http://localhost:1420 (downloads instead of saving)
npm test             # vitest: src/**/qa/**/*.test.ts
npm run typecheck
npx tauri build      # bundle → src-tauri/target/release/bundle/

The Rust side (src-tauri/src/document.rs) exposes read_document, write_document (raw byte IPC, atomic write) and startup_document (a file path passed on the command line). Everything else lives in the frontend; see the root README for the module layout.