OpenCut

一款适用于网页、桌面和移动设备的免费开源视频编辑器。开源 CapCut 替代软件。「A free, open-source video editor for web, desktop, and mobile. The open-source CapCut alternative.」

Github stars Tracking Chart

Why?

  • Privacy: Your videos stay on your device
  • Free features: Every basic feature of CapCut is paywalled now
  • Simple: People want editors that are easy to use - CapCut proved that

Features

  • Timeline-based editing
  • Multi-track support
  • Real-time preview
  • No watermarks or subscriptions
  • Analytics provided by Databuddy, 100% Anonymized & Non-invasive.

Project Structure

  • apps/web/ – Main Next.js web application
  • src/components/ – UI and editor components
  • src/hooks/ – Custom React hooks
  • src/lib/ – Utility and API logic
  • src/stores/ – State management (Zustand, etc.)
  • src/types/ – TypeScript types

Getting Started

Prerequisites

Before you begin, ensure you have the following installed on your system:

Setup

  1. Clone the repository

    git clone <repo-url>
    cd OpenCut
    
  2. Start backend services
    From the project root, start the PostgreSQL and Redis services:

    docker-compose up -d
    
  3. Set up environment variables
    Navigate into the web app's directory and create a .env file from the example:

    cd apps/web
    
    
    # Unix/Linux/Mac
    cp .env.example .env.local
    
    # Windows Command Prompt
    copy .env.example .env.local
    
    # Windows PowerShell
    Copy-Item .env.example .env.local
    

    The default values in the .env file should work for local development.

  4. Install dependencies
    Install the project dependencies using bun (recommended) or npm.

    # With bun
    bun install
    
    # Or with npm
    npm install
    
  5. Run database migrations
    Apply the database schema to your local database:

    # With bun
    bun run db:push:local
    
    # Or with npm
    npm run db:push:local
    
  6. Start the development server

    # With bun
    bun run dev
    
    # Or with npm
    npm run dev
    

The application will be available at http://localhost:3000.


Contributing

Visit CONTRIBUTING.md

We welcome contributions! Please see our Contributing Guide for detailed setup instructions and development guidelines.

Quick start for contributors:

  • Fork the repo and clone locally
  • Follow the setup instructions in CONTRIBUTING.md
  • Create a feature branch and submit a PR

License

MIT LICENSE

Main metrics

Overview
Name With OwnerOpenCut-app/OpenCut
Primary LanguageTypeScript
Program language (Language Count: 4)
Platform
License:MIT License
所有者活动
Created At2025-06-22 08:02:17
Pushed At2025-06-26 09:46:02
Last Commit At
Release Count0
用户参与
Stargazers Count5.7k
Watchers Count30
Fork Count386
Commits Count336
Has Issues Enabled
Issues Count42
Issue Open Count19
Pull Requests Count58
Pull Requests Open Count5
Pull Requests Close Count27
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private