OpenCut/apps/desktop
Kesku f32378be45 open external links (github) in browser 2025-06-23 13:41:16 +01:00
..
build-icons remove auth, fix builds 2025-06-23 12:47:51 +01:00
README.md minor additions 2025-06-23 12:14:14 +01:00
bun.lock forgot to use bun 2025-06-23 12:28:00 +01:00
electron-builder.json remove auth, fix builds 2025-06-23 12:47:51 +01:00
main.js open external links (github) in browser 2025-06-23 13:41:16 +01:00
package-lock.json minor additions 2025-06-23 12:14:14 +01:00
package.json fix builds 2025-06-23 13:02:32 +01:00

README.md

OpenCut Desktop

Electron wrapper for the OpenCut web application.

Development

To run the desktop app in development mode:

npm install
npm run dev

This will:

  1. Start the web development server on localhost:3000
  2. Wait for the server to be ready
  3. Launch Electron pointing to the web server

Production Build

To build a production desktop application:

npm install
npm run build

This will:

  1. Set the ELECTRON_BUILD=true environment variable
  2. Build the web app as a static export to ../web/out/
  3. Package the Electron app with electron-builder

The built applications will be in the dist/ directory.

Platform-specific Builds

  • macOS: Creates a .dmg installer
  • Windows: Creates an NSIS installer
  • Linux: Creates an AppImage

Configuration

The desktop app is configured via:

  • electron-builder.json - Build and packaging settings
  • main.js - Electron main process
  • package.json - Dependencies and scripts

Differences from Web Version

  • No server-side database calls (uses static export)
  • Shows "Start Editing" button instead of waitlist signup
  • Includes security hardening for desktop environment