🎥 Make videos programmatically with React
new links
Jonny Burger76a2e70a5c1c
diff --git a/packages/docs/docs/cli/bundle.md b/packages/docs/docs/cli/bundle.mdindex cf617717a4..03d752809c 100644--- a/packages/docs/docs/cli/bundle.md+++ b/packages/docs/docs/cli/bundle.md@@ -11,14 +11,10 @@ Creates a [Remotion Bundle](/docs/terminology/bundle) on the command line.Equivalent to the [`bundle()`](/docs/bundle) Node.JS API.```bash-npx remotion bundle <entry-file?>+npx remotion bundle <serve-url|entry-file>?```-If `entry-file` is not passed, Remotion will try to detect the entry file with the following priority order:--1. Get the path from the Config (Can be set using `Config.setEntryPoint("<entry-point>")`).-2. Look for some common paths i.e. `src/index.ts`, `src/index.tsx`, `src/index.js`, `remotion/index.js`.-3. Fail as entry point could not be determined.+You may pass a [Serve URL](/docs/terminology/serve-url) or an [entry point](/docs/terminology/entry-point) as the first argument, otherwise the entry point will be [determined](/docs/terminology/entry-point#which-entry-point-is-being-used).## Flagsdiff --git a/packages/docs/docs/cli/compositions.md b/packages/docs/docs/cli/compositions.mdindex 5f47050d80..e690a3343f 100644--- a/packages/docs/docs/cli/compositions.md+++ b/packages/docs/docs/cli/compositions.md@@ -10,14 +10,10 @@ _Available from v2.6.12._Print list of composition IDs based on a path of an entry point.```bash-npx remotion compositions <entry-file>+npx remotion compositions <serve-url|entry-file>?```-If `entry-file` is not passed, Remotion will try to detect the entry file with the following priority order:--1. Get the path from the Config (Can be set using `Config.setEntryPoint("<entry-point>")`).-2. Look for some common paths i.e. `src/index.ts`, `src/index.tsx`, `src/index.js`, `remotion/index.js`.-3. Fail as entry point could not be determined.+You may pass a [Serve URL](/docs/terminology/serve-url) or an [entry point](/docs/terminology/entry-point) as the first argument, otherwise the entry point will be [determined](/docs/terminology/entry-point#which-entry-point-is-being-used).## Flagsdiff --git a/packages/docs/docs/cli/render.md b/packages/docs/docs/cli/render.mdindex 00ce262fcb..31db676092 100644--- a/packages/docs/docs/cli/render.md+++ b/packages/docs/docs/cli/render.md@@ -10,10 +10,10 @@ import {AngleChangelog} from '../../components/AngleChangelog';Render a video or audio based on the entry point, the composition ID and save it to the output location.```bash-npx remotion render <entry-point|serve-url?> <composition-id> <output-location>+npx remotion render <entry-point|serve-url>? <composition-id> <output-location>```-You may pass a [Serve URL](/docs/terminology/serve-url) or an [entry point](/docs/terminology/entry-point) as the argument, otherwise the entry point will be [determined](/docs/terminology/entry-point#which-entry-point-is-being-used).+You may pass a [Serve URL](/docs/terminology/serve-url) or an [entry point](/docs/terminology/entry-point) as the first argument, otherwise the entry point will be [determined](/docs/terminology/entry-point#which-entry-point-is-being-used).If `composition-id` is not passed, Remotion will ask you to select a composition.If `output-location` is not passed, the media will be rendered into the `out` folder.diff --git a/packages/docs/docs/cli/still.md b/packages/docs/docs/cli/still.mdindex cdcadf6d09..3c6efa9ff0 100644--- a/packages/docs/docs/cli/still.md+++ b/packages/docs/docs/cli/still.md@@ -12,9 +12,11 @@ _Available from v2.3._Render a still frame based on the entry point, the composition ID and save it to the output location.```bash-npx remotion still <entry-file> [<composition-id>] [<output-location>]+npx remotion still <serve-url|entry-point>? [<composition-id>] [<output-location>]```+You may pass a [Serve URL](/docs/terminology/serve-url) or an [entry point](/docs/terminology/entry-point) as the first argument, otherwise the entry point will be [determined](/docs/terminology/entry-point#which-entry-point-is-being-used).+If `output-location` is not passed, the still will be rendered into the `out` folder.If `composition-id` is also not passed, Remotion will let you select a composition.diff --git a/packages/docs/docs/cli/studio.md b/packages/docs/docs/cli/studio.mdindex 35a30e7735..60e5cd717d 100644--- a/packages/docs/docs/cli/studio.md+++ b/packages/docs/docs/cli/studio.md@@ -10,7 +10,7 @@ _Alias: npx remotion preview_Start the [Remotion Studio](/docs/studio).```bash-npx remotion studio <entry-point?>+npx remotion studio <entry-point>?```You may pass an [entry point](/docs/terminology/entry-point) as an argument, otherwise it will be [determined](/docs/terminology/entry-point#which-entry-point-is-being-used).diff --git a/packages/docs/docs/cloudrun/cli/sites.md b/packages/docs/docs/cloudrun/cli/sites.mdindex 80220c2f5e..d576268325 100644--- a/packages/docs/docs/cloudrun/cli/sites.md+++ b/packages/docs/docs/cloudrun/cli/sites.md@@ -20,9 +20,11 @@ The `npx remotion cloudrun sites` command allows to create, view and delete Remo## create+```bash+npx remotion cloudrun sites create <entry-point>?```-npx remotion cloudrun sites create src/index.ts-```++You may pass an [entry point](/docs/terminology/entry-point) as the first argument, otherwise the entry point will be [determined](/docs/terminology/entry-point#which-entry-point-is-being-used).Bundle and upload a Remotion video to a Cloud Storage bucket.diff --git a/packages/docs/docs/lambda/cli/compositions.md b/packages/docs/docs/lambda/cli/compositions.mdindex 5223a7dc16..7a094881f6 100644--- a/packages/docs/docs/lambda/cli/compositions.md+++ b/packages/docs/docs/lambda/cli/compositions.md@@ -9,10 +9,14 @@ _Available from v3.3.2._Print list of composition IDs from a serve URL, fetched from inside a Lambda function.+## API+```bashnpx remotion lambda compositions <serve-url>```+- Obtain a [Serve URL](/docs/terminology/serve-url) using the [`sites create`](/docs/lambda/cli/sites#create) command or by calling [`deploySite()`](/docs/lambda/deploysite).+<details><summary>Show output</summary>@@ -36,9 +40,10 @@ drop-dots 30 1080x1080 5400 (180.00 sec)<br/></pre></details>-- The serve URL is obtained by deploying a project to Remotion using the [`sites create`](/docs/lambda/cli/sites#create) command or calling [`deploySite()`](/docs/lambda/deploysite).+## `remotion lambda compositions` vs. `remotion compositions`-Note that you can also get the compositions of a site that is hosted on Lambda using [`npx remotion compositions`](/docs/cli/compositions). Vice versa, you can also get the compositions from a serve URL that is not hosted on AWS Lambda using `npx remotion lambda compositions`.+You can also get the compositions of a site that is hosted on S3 locally using [`npx remotion compositions`](/docs/cli/compositions).+Vice versa, you can also get the compositions from a [Serve URL](/docs/terminology/serve-url) that is not hosted on AWS Lambda using `npx remotion lambda compositions`.You should use `npx remotion lambda compositions` if you cannot use [`npx remotion compositions`](/docs/cli/compositions) because the machine cannot run Chrome.diff --git a/packages/docs/docs/lambda/cli/render.md b/packages/docs/docs/lambda/cli/render.mdindex a4bff8cffc..8ab68885ea 100644--- a/packages/docs/docs/lambda/cli/render.md+++ b/packages/docs/docs/lambda/cli/render.md@@ -18,8 +18,10 @@ The structure of a command is as follows:npx remotion lambda render <serve-url> [<composition-id>] [<output-location>]```-- The serve URL is obtained by deploying a Remotion project to an AWS S3 bucket using the [`sites create`](/docs/lambda/cli/sites#create) command or calling [`deploySite()`](/docs/lambda/deploysite).-- The [composition ID](/docs/terminology/composition#composition-id). If not specified, the list of compositions will be fetched and you can choose a composition.+Arguments:++- Obtain a [Serve URL](/docs/terminology/serve-url) using the [`sites create`](/docs/lambda/cli/sites#create) command or by calling [`deploySite()`](/docs/lambda/deploysite).+- The [Composition ID](/docs/terminology/composition#composition-id). If not specified, the list of compositions will be fetched and you can choose a composition.- The `output-location` parameter is optional. If you don't specify it, the video is stored in your S3 bucket. If you specify a location, it gets downloaded to your device in an additional step.## Example commandsdiff --git a/packages/docs/docs/lambda/cli/sites.md b/packages/docs/docs/lambda/cli/sites.mdindex 9586572226..8e433d9084 100644--- a/packages/docs/docs/lambda/cli/sites.md+++ b/packages/docs/docs/lambda/cli/sites.md@@ -17,9 +17,11 @@ The `npx remotion lambda sites` command allows to create, view and delete Remoti## create```-npx remotion lambda sites create src/index.ts+npx remotion lambda sites create <entry-point>?```+You may pass an [entry point](/docs/terminology/entry-point) as the first argument, otherwise the entry point will be [determined](/docs/terminology/entry-point#which-entry-point-is-being-used).+Bundle and upload a Remotion video to an S3 bucket.The result will be a URL such as `https://remotionlambda-12345.s3.eu-central-1.amazonaws.com/sites/abcdef/index.html`.diff --git a/packages/docs/docs/lambda/cli/still.md b/packages/docs/docs/lambda/cli/still.mdindex 977918bcba..bb0d9c1a96 100644--- a/packages/docs/docs/lambda/cli/still.md+++ b/packages/docs/docs/lambda/cli/still.md@@ -12,11 +12,11 @@ Using the `npx remotion lambda still` command, you can render a still frame in tThe command has the following structure:```-npx remotion lambda still <serve-url> [<composition-id>] [<output-location>]+npx remotion lambda still <serve-url>? [<composition-id>] [<output-location>]```-- The serve URL is obtained by deploying a project to Remotion using the [`sites create`](/docs/lambda/cli/sites#create) command or calling [`deploySite()`](/docs/lambda/deploysite).-- The [composition ID](/docs/terminology/composition#composition-id). If not specified, the list of compositions will be fetched and you can choose a composition.+- Obtain a [Serve URL](/docs/terminology/serve-url) using the [`sites create`](/docs/lambda/cli/sites#create) command or by calling [`deploySite()`](/docs/lambda/deploysite).+- The [Composition ID](/docs/terminology/composition#composition-id). If not specified, the list of compositions will be fetched and you can choose a composition.- The `output-location` parameter is optional. If you don't specify it, the still is stored in your S3 bucket. If you specify a location, it gets downloaded to your device in an additional step.## Example commands