Skip to content

AI-powered video editor SDK built with React. Features canvas timeline, drag-and-drop editing, AI captions, and serverless MP4 export. Perfect for building custom video apps.

License

Notifications You must be signed in to change notification settings

ncounterspecialist/twick

Repository files navigation

Twick

A comprehensive video editing toolkit built with modern web technologies.

Style Guide

This project follows a comprehensive style guide for naming conventions and code style across all packages. Please refer to STYLE_GUIDE.md for detailed standards.

Overview

Twick is a monorepo containing multiple packages for video editing functionality:

CI Deploy Documentation

This repository contains a collection of packages for video and image manipulation, built with modern web technologies.

Packages

  • @twick/media-utils: Core utilities for media handling and manipulation
  • @twick/canvas: React-based canvas library for video and image editing
  • @twick/visualizer: Video visualization and animation toolkit
  • @twick/live-player: React component for video playback and control
  • @twick/timeline: Timeline management and editing capabilities
  • @twick/video-editor: React based video editor
  • @twick/examples: Example implementations and usage demonstrations

For detailed API documentation and module information, refer to docs/modules.md.

Getting Started

  1. Clone the repository:
git clone https://github.com/ncounterspecialist/twick.git
cd twick
  1. Install dependencies:
pnpm install
  1. Build all packages:
pnpm build

Development

Each package can be developed independently:

# Build a specific package
pnpm build:media-utils

Examples

Running the Demo

pnpm preview

Open http://localhost:4173 in your browser to see the video editor in action.

For detailed examples and tutorials, see the Twick Demo guide.

Demo Preview

Watch how to create a video project step-by-step with Twick Studio:

Twick Studio

See how simple it is to integrate Twick into your existing application:

Twick SDK Integration

Integration

Video Editor Integration

  1. Install Dependencies
npm install --save @twick/canvas @twick/live-player @twick/timeline @twick/video-editor @twick/studio
  1. Add Twick Studio component with LivePlayer and Timeline Context as shown
import { LivePlayerProvider } from '@twick/live-player';
import { TimelineProvider } from '@twick/timeline';
import "@twick/studio/dist/studio.css";
import { INITIAL_TIMELINE_DATA } from "@twick/video-editor";

export default function ExampleStudio() {
  return (
    <LivePlayerProvider>
      <TimelineProvider
        initialData={INITIAL_TIMELINE_DATA}
        contextId={"studio-demo"}
      >
        <TwickStudio studioConfig={{
          videoProps: {
            width: 720,
            height: 1280,
          }}
          }/>
      </TimelineProvider>
    </LivePlayerProvider>
  );
}

Documentation

  • Twick Documentation: Twick API Documentation – Comprehensive documentation and API reference for all Twick packages.
  • Style Guide: Style Guide – Guidelines for coding standards and best practices.
  • Demo Guide: Twick Demo Guide – Step-by-step tutorials and interactive examples.

Community

Join our Discord community to:

  • Chat with other developers
  • Discuss issues and feature requests
  • Get help and share your experiences
  • Stay updated with the latest developments

Join our Discord Server

License

This project is licensed under the Sustainable Use License (SUL) Version 1.0.

  • Free for use in commercial and non-commercial apps
  • Can be modified and self-hosted
  • Cannot be sold, rebranded, or distributed as a standalone SDK or developer tool

For resale, or SaaS redistribution please contact us.

For full license terms, see LICENSE.md.

About

AI-powered video editor SDK built with React. Features canvas timeline, drag-and-drop editing, AI captions, and serverless MP4 export. Perfect for building custom video apps.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 6