OpenCut

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

Github星跟踪图

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

主要指标

概览
名称与所有者OpenCut-app/OpenCut
主编程语言TypeScript
编程语言 (语言数: 4)
平台
许可证MIT License
所有者活动
创建于2025-06-22 08:02:17
推送于2025-06-26 09:46:02
最后一次提交
发布数0
用户参与
星数5.7k
关注者数30
派生数386
提交数336
已启用问题?
问题数42
打开的问题数19
拉请求数58
打开的拉请求数5
关闭的拉请求数27
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?