Skip to content
Proyek

Tentang

Celesta is a code-first video tool. Build animated scenes with React and TypeScript, combining video, images, text, shapes, and audio. Preview your work in the Celesta desktop app and export it as an MP4 or PNG frames.

Desain dan media

Cara angka ini diukur

Yang dapat Anda lakukan

  • Compose with React: build reusable scenes with components, hooks, sequences, transitions, interpolation, and springs.
  • Create motion graphics: combine text, shapes, paths, particles, layouts, and visual effects with local or remote media.
  • Preview as you edit: play with synchronized audio, scrub or step through frames, and inspect layers and tracks. The app reloads when you save your source.
  • Adjust on the canvas: move, rotate, resize, or retype a layer, or edit its props in the Properties tab. Celesta writes the change back into your source, with undo.

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
+1
dalam 15 hari
+6
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

Celesta

Celesta is a code-first video tool. Build animated scenes with React and TypeScript, combining video, images, text, shapes, and audio. Preview your work in the Celesta desktop app and export it as MP4, transparent MOV or WebM, or PNG, JPEG, or WebP frames.

Website · Documentation · 日本語ドキュメント · Download · Showcase

Celesta is under active development. The official website includes a browser playground, example projects, and the full user guide in English and Japanese.

See it in action

Reel by Claude Opus 5.5

https://github.com/user-attachments/assets/df585cd3-26a1-4d35-aaff-e36eea4e7d14

Explore the showcase to try browser-ready projects and view their source. The examples directory contains the projects and their setup instructions.

What you can do

  • Compose with React: build reusable scenes with components, hooks, sequences, transitions, interpolation, and springs.
  • Create motion graphics: combine text, shapes, paths, particles, layouts, and visual effects with local or remote media.
  • Preview as you edit: play with synchronized audio, scrub or step through frames, and inspect layers and tracks. The app reloads when you save your source.
  • Adjust on the canvas: move, rotate, resize, or retype a layer, or edit its props in the Properties tab. Celesta writes the change back into your source, with undo.
  • Build character dialogue: combine image or PSD portraits, expressions, subtitles, voice recordings, lip sync, and blinking.
  • Export and automate: render videos, PNG, JPEG, or WebP frames, and contact sheets from the desktop app or CLI, with JSON results and MCP tools for scripts and agents.

Get started

  1. Download and install Celesta for macOS or Windows. The packages include the React runtime, Node.js, and media dependencies.
  2. Choose File › Create New Project…, pick a template, and select a folder.
  3. Edit the generated film.tsx in your text editor. Save to reload the preview, then choose Export… to write a video.

For Linux, follow the source-build guide or use the headless container.

The website documents the complete workflow:

Task Guide
Start a project or use a template Create a project
Write your first scene React compositions
Play, scrub, and inspect Preview
Export video or check frames from the CLI Export
Find components and hooks API reference
Resolve setup or rendering problems Troubleshooting

Use with AI agents

Install the Celesta Agent Skill to teach coding agents such as Claude Code and Codex to write, inspect, and export compositions:

npx skills add mika-f/celesta

The desktop packages also ship Celesta-mcp, an MCP server for project initialization, scene inspection, PNG frame and contact-sheet rendering, video export, and documentation matching the installed version. For example, register it with Claude Code on macOS:

claude mcp add celesta -- /Applications/Celesta.app/Contents/MacOS/Celesta-mcp

On Windows, register Celesta-mcp.exe from the install folder. From source, build it with cargo build -p celesta-mcp --release. See the skill setup guide for runtime setup and inspection tools for checks without the GUI.

Develop Celesta

To run from source, use Rust 1.89 or later, Node.js 26, the pnpm version in package.json, and your platform's native build tools. mise.toml pins the Node.js and pnpm versions CI uses. Prepare the FFmpeg 8.1.x development libraries using the source-build guide before building the media plugin (plugins/ffmpeg), which links them, as its tests do; Celesta's own crates link no FFmpeg, and the core's tests use a lossless test codec instead. The FFmpeg executable alone is insufficient; FFmpeg 9 and later are not supported yet.

git clone https://github.com/mika-f/Celesta.git celesta
cd celesta
pnpm install
pnpm run build:runtime
node scripts/plugins/build.mts plugins/ffmpeg plugins/ffmpeg-x264
export CELESTA_PLUGIN_PATH="$PWD/plugins/dist"   # PowerShell: $env:CELESTA_PLUGIN_PATH = "$PWD\plugins\dist"
cargo run -p celesta-editor --release -- packages/cli/examples/title.tsx

Celesta reads and writes video and audio through the media plugin, which it finds through CELESTA_PLUGIN_PATH. Set it to the absolute path of plugins/dist, in each shell where you run Celesta.

pnpm run build:runtime also generates the TypeScript bindings from the Rust types. It regenerates them only when those Rust sources change, so run it again after pulling.

On Linux, clone the repository before preparing FFmpeg so the guide's build script is available. The source of the build guide is also in this repository.

After building the runtime, check the area you changed. Common checks are:

pnpm run test:runtime
pnpm run typecheck:examples
cargo test --workspace --locked
cargo test --workspace --locked --features runtime-tests --test runtime

cargo test --workspace needs nothing but the Rust build. The Rust tests that need Node.js and the built React runtime are a group of their own, built with the runtime-tests feature: the last command runs only them, and fails, naming what to build, when the runtime is missing. CI runs both groups.

Tests that need a GPU adapter or a color emoji font print a line starting with skipping and pass when it is missing. On a machine with a GPU, set CELESTA_REQUIRE_GPU=1 so a missing adapter fails the GPU tests instead. CI lists the skipped tests in each job's summary.

See the CI workflow for the full checks and platform setup. For rendering changes, include screenshots of the same scene before and after the change.

Repository guide

Location Contents
crates/ Native desktop app, renderers, exporter, media pipeline, and MCP server
packages/ React composition APIs and the Node.js runtime
packages/web/ Browser evaluator, Canvas preview, and MP4 exporter
packages/website/ Official website, English and Japanese documentation, and playground
examples/ Complete video projects; packages/cli/examples/ has smaller API examples
templates/ Starter projects bundled with Celesta
skills/celesta/ Agent instructions, API guides, and inspection scripts
HANDOFF.md Architecture, runtime constraints, and validation for contributors
docs/handoff/ Dated implementation notes for each feature
docs/superpowers/ Design specs and implementation plans
docs/performance/ Benchmarks and renderer performance notes

To build release packages, use the macOS, Windows, or Linux container packaging guide.

Report a problem

Open an issue with your operating system, steps to reproduce the problem, and any error message. If possible, include a small project that reproduces it, along with media you have permission to share.

License

Celesta's own source code is declared under MIT OR Apache-2.0. The root LICENSE-MIT and LICENSE-APACHE apply to that source. Third-party FFmpeg license texts live with the relevant plugins and describe their linked builds.

Celesta's executables (the app, celesta-exporter, Celesta-mcp, and Celesta-cli) link no FFmpeg. Video and audio files are read and written by a separate program, the media plugin celesta-codec-ffmpeg, which Celesta starts and talks to only over its documented plugin protocol on standard input and output. The executables are distributed under MIT OR Apache-2.0 alone.

Of the FFmpeg builds, app packages ship only ffmpeg, a standard LGPL build for decoding, ProRes, VP9, AAC, Opus, PCM and muxing (libopus and libvpx are BSD licensed, so the build stays LGPL). The one optional encoder, ffmpeg-x264, is a separate ZIP download on the release page, needed for H.264 encoding on Linux outside the Docker image, which bundles both plugins. When installing the ZIP, copy the extracted plugin folder into the user plugin folder and allow it in Celesta; see the plugin guide. The standard package can read H.264 files and export ProRes/MOV and WebM without it. ffmpeg-x264 alone links GPL FFmpeg with libx264 and provides H.264 encoding; its program is distributed under GPL-2.0-or-later, with LICENSE-GPL-2.0 and the corresponding-source offer in its own folder. The LGPL plugin includes LICENSE-LGPL-2.1 and its source and relinking notice. Their Celesta source remains MIT OR Apache-2.0. Each plugin has its own native FFmpeg prefix and process. GPL H.264 encoding is provided by ffmpeg-x264; H.264 decoding, ProRes, and WebM need no optional plugin. See the build guide for native library setup. A system FFmpeg 8.1.x, including a GPL build, works for local use. Distribution builds use --distribution to enforce the separate license profiles. macOS and Windows also bundle their system-codec plugins, whose H.264 encoders can write MP4 without x264; explicitly name ffmpeg-x264/libx264 to select it.

Jelajahi proyek terkait

Memuat…