@effing/create
v0.25.0
Published
Create a new Effing project
Downloads
3,579
Readme
@effing/create
Scaffold a new Effing project with the starter template.
Part of the Effing family — programmatic video creation with TypeScript.
Usage
# Using npm
npm create @effing my-app
# Using pnpm
pnpm create @effing my-app
# Using yarn
yarn create @effing my-app
# Using npx directly
npx @effing/create my-appThen:
cd my-app
npm install
npm run devOpen http://localhost:3839 to see your project.
What's included
The starter template includes:
- React Router for routing and nifty preview pages
- Annies — Frame-based animations streamed as TAR archives
- Effies — Video compositions combining animations, images, and audio
- FFS integration — A “Render it FFS” button that can POST your Effie JSON to an
@effing/ffsserver (which you can run locally or remotely) - Example annies and effies to get you started
Development
This package is part of the Effing monorepo.
Testing locally
# From the monorepo root
cd packages/create
pnpm install
pnpm build
# Test the CLI (creates a project outside the monorepo)
node dist/index.js /tmp/test-effing-appUpdating the template
- Make changes in
demos/starter - Run
pnpm buildin this package - The
prebuildscript automatically copiesdemos/starter→template/, renaming dotfiles and replacingworkspace:*versions
