smithery.ai

aicut-deploy

Guides how to build and deploy AIcut as an Electron application. Use when the user asks about packaging, building installers, or releasing the app.

First seen Mar 26, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,577 B
  • docs SUMMARY.md 167 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

AIcut Deployment Skill

This skill helps package and deploy AIcut as a standalone desktop application.

Prerequisites

Ensure you have:

  • Node.js 18+
  • Python 3.10+
  • All dependencies installed (bun install in AIcut-Studio)

Build Commands

Development

cd AIcut-Studio/apps/web
npm run dev          # Start Next.js dev server
npm run electron     # Start Electron (in another terminal)

Production Build

cd AIcut-Studio/apps/web

# Build Next.js first
npm run build

# Package for current platform
npm run electron:build

Platform-Specific Builds

The electron-builder config in package.json supports:

Platform Command Output
Windows electron-builder --win .exe installer, portable
macOS electron-builder --mac .dmg, .zip
Linux electron-builder --linux .AppImage, .deb

Build Configuration

Located in AIcut-Studio/apps/web/package.json:

"build": {
  "appId": "com.aicut.studio",
  "productName": "AIcut Studio",
  "directories": {
    "output": "dist-electron"
  },
  "extraResources": [
    {
      "from": "../../../tools",
      "to": "tools"
    }
  ],
  "win": {
    "target": ["nsis", "portable"]
  }
}

Including Python Tools

The extraResources section ensures Python scripts are bundled:

  • Source: tools/ directory at project root
  • Destination: resources/tools/ in the packaged app

Environment Variables

For production, ensure these are set (or bundled in .env):

  • GROQAPIKEY - For speech recognition
  • OPENAIAPIKEY - For AI features (optional)

Troubleshooting

Electron not found

node node_modules/electron/install.js

Python daemon not starting

Check electron/main.js for the Python spawn path. It should resolve correctly in both dev and production.

Large bundle size

  • Ensure node_modules is not duplicated
  • Check if media files are being incorrectly bundled

Release Checklist

  1. [ ] Update version in package.json
  2. [ ] Run npm run build successfully
  3. [ ] Test npm run electron:build locally
  4. [ ] Verify Python daemon starts in packaged app
  5. [ ] Test core features (import, edit, export)
  6. [ ] Create GitHub release with built artifacts