create-video 4.0.248 → 4.0.249

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -35,7 +35,7 @@ const addTailwindRootCss = (projectRoot) => {
35
35
  throw new Error('No Root file found');
36
36
  }
37
37
  const root = fs_1.default.readFileSync(rootFile, 'utf-8');
38
- const newFile = `import './tailwind.css';\n${root}`;
38
+ const newFile = `import "./tailwind.css";\n${root}`;
39
39
  fs_1.default.writeFileSync(rootFile, newFile);
40
40
  };
41
41
  exports.addTailwindRootCss = addTailwindRootCss;
@@ -0,0 +1,412 @@
1
+ // src/list-of-remotion-packages.ts
2
+ var listOfRemotionPackages = [
3
+ "@remotion/svg-3d-engine",
4
+ "@remotion/layout-utils",
5
+ "@remotion/bundler",
6
+ "@remotion/cli",
7
+ "@remotion/cloudrun",
8
+ "@remotion/eslint-config",
9
+ "@remotion/eslint-plugin",
10
+ "@remotion/enable-scss",
11
+ "@remotion/renderer",
12
+ "@remotion/skia",
13
+ "@remotion/lottie",
14
+ "@remotion/media-utils",
15
+ "@remotion/motion-blur",
16
+ "@remotion/google-fonts",
17
+ "@remotion/noise",
18
+ "@remotion/paths",
19
+ "@remotion/babel-loader",
20
+ "@remotion/licensing",
21
+ "@remotion/lambda",
22
+ "@remotion/player",
23
+ "@remotion/preload",
24
+ "@remotion/three",
25
+ "@remotion/rive",
26
+ "@remotion/gif",
27
+ "@remotion/serverless",
28
+ "@remotion/shapes",
29
+ "@remotion/studio",
30
+ "@remotion/studio-server",
31
+ "@remotion/studio-shared",
32
+ "@remotion/zod-types",
33
+ "@remotion/tailwind",
34
+ "@remotion/transitions",
35
+ "@remotion/install-whisper-cpp",
36
+ "@remotion/openai-whisper",
37
+ "@remotion/captions",
38
+ "@remotion/animation-utils",
39
+ "@remotion/animated-emoji",
40
+ "@remotion/media-parser",
41
+ "remotion"
42
+ ];
43
+
44
+ // src/templates.ts
45
+ function truthy(value) {
46
+ return Boolean(value);
47
+ }
48
+ var FEATURED_TEMPLATES = [
49
+ {
50
+ homePageLabel: "Hello World",
51
+ shortName: "Hello World",
52
+ org: "remotion-dev",
53
+ repoName: "template-helloworld",
54
+ description: 'A "Hello World" starter template',
55
+ longerDescription: "A basic template with TypeScript, Prettier and ESLint preconfigured. Our recommended choice for beginners.",
56
+ promoVideo: {
57
+ muxId: "vKvV6aa7GXGlR01cmpc6J8Zz4Gkj9d2hBSnVYoef00900I",
58
+ height: 1080,
59
+ width: 1920
60
+ },
61
+ cliId: "hello-world",
62
+ type: "video",
63
+ defaultBranch: "main",
64
+ featuredOnHomePage: "Hello World",
65
+ previewURL: "https://remotion-helloworld.vercel.app/?/HelloWorld",
66
+ templateInMonorepo: "template-helloworld",
67
+ allowEnableTailwind: true
68
+ },
69
+ {
70
+ homePageLabel: "Next.js (App dir)",
71
+ shortName: "Next.js (App dir)",
72
+ org: "remotion-dev",
73
+ repoName: "template-next-app-dir",
74
+ description: "SaaS template for video generation apps",
75
+ longerDescription: "A SaaS starter kit which has the Remotion Player and rendering via Remotion Lambda built-in. Our recommended choice for people who want to build an app that can generate videos.",
76
+ promoVideo: {
77
+ width: 1280,
78
+ height: 720,
79
+ muxId: "RufnZIJZh6L1MAaeG02jnXuM9pK96tNuHRxmXHbWqCBI"
80
+ },
81
+ cliId: "next",
82
+ type: "video",
83
+ defaultBranch: "main",
84
+ featuredOnHomePage: "Next.js",
85
+ previewURL: null,
86
+ templateInMonorepo: "template-next-app",
87
+ allowEnableTailwind: false
88
+ },
89
+ {
90
+ homePageLabel: "Next.js (App dir + TailwindCSS)",
91
+ shortName: "Next.js (App dir + TailwindCSS)",
92
+ org: "remotion-dev",
93
+ repoName: "template-next-app-dir-tailwind",
94
+ description: "SaaS template for video generation apps",
95
+ longerDescription: "A SaaS starter kit which has the Remotion Player and rendering via Remotion Lambda built-in. Our recommended choice for people who want to build an app that can generate videos.",
96
+ promoVideo: {
97
+ width: 1280,
98
+ height: 720,
99
+ muxId: "RufnZIJZh6L1MAaeG02jnXuM9pK96tNuHRxmXHbWqCBI"
100
+ },
101
+ cliId: "next-tailwind",
102
+ type: "video",
103
+ defaultBranch: "main",
104
+ featuredOnHomePage: null,
105
+ previewURL: null,
106
+ templateInMonorepo: "template-next-app-tailwind",
107
+ allowEnableTailwind: false
108
+ },
109
+ {
110
+ homePageLabel: "Next.js (Pages dir)",
111
+ shortName: "Next.js (Pages dir)",
112
+ org: "remotion-dev",
113
+ repoName: "template-next-pages-dir",
114
+ description: "SaaS template for video generation apps",
115
+ longerDescription: "A SaaS starter kit which has the Remotion Player and rendering via Remotion Lambda built-in. Our recommended choice for people who want to build an app that can generate videos.",
116
+ promoVideo: {
117
+ width: 1280,
118
+ height: 720,
119
+ muxId: "RufnZIJZh6L1MAaeG02jnXuM9pK96tNuHRxmXHbWqCBI"
120
+ },
121
+ cliId: "next-pages-dir",
122
+ type: "video",
123
+ defaultBranch: "main",
124
+ featuredOnHomePage: null,
125
+ previewURL: null,
126
+ templateInMonorepo: "template-next-pages",
127
+ allowEnableTailwind: false
128
+ },
129
+ {
130
+ homePageLabel: "Blank",
131
+ shortName: "Blank",
132
+ description: "Nothing except an empty canvas",
133
+ org: "remotion-dev",
134
+ repoName: "template-empty",
135
+ longerDescription: "A template containing nothing but an empty canvas. Recommended for people who already worked with Remotion.",
136
+ promoVideo: {
137
+ muxId: "JD00x15y859GjqO7C9hpILkrSddGzd55K4lfj02dv8gU4",
138
+ width: 1280,
139
+ height: 720
140
+ },
141
+ cliId: "blank",
142
+ type: "video",
143
+ defaultBranch: "main",
144
+ featuredOnHomePage: "Blank",
145
+ previewURL: "https://template-empty.vercel.app/?/MyComp",
146
+ templateInMonorepo: "template-blank",
147
+ allowEnableTailwind: true
148
+ },
149
+ {
150
+ homePageLabel: "JavaScript",
151
+ shortName: "Hello World (JavaScript)",
152
+ org: "remotion-dev",
153
+ repoName: "template-helloworld-javascript",
154
+ description: "The default starter template in plain JS",
155
+ longerDescription: "The Hello World template, but in plain JavaScript. Recommended for people who detest TypeScript.",
156
+ promoVideo: {
157
+ muxId: "dRIuc00f8QWnKedM8GBGPqXJWqU01DPJFgPTHpJgixxas",
158
+ width: 1920,
159
+ height: 1080
160
+ },
161
+ cliId: "javascript",
162
+ type: "video",
163
+ defaultBranch: "main",
164
+ featuredOnHomePage: "JavaScript",
165
+ previewURL: "https://template-helloworld-javascript.vercel.app/?/HelloWorld",
166
+ templateInMonorepo: "template-javascript",
167
+ allowEnableTailwind: true
168
+ },
169
+ {
170
+ homePageLabel: "Remix",
171
+ shortName: "Remix",
172
+ org: "remotion-dev",
173
+ repoName: "template-remix",
174
+ description: "Remotion + Remix Starter Kit",
175
+ longerDescription: "A software-as-a-service starter kit which has the Remotion Player and rendering via Remotion Lambda built-in. Built with remix.run.",
176
+ promoBanner: {
177
+ width: 1280,
178
+ height: 720,
179
+ src: "/img/remix-template.png"
180
+ },
181
+ cliId: "remix",
182
+ type: "image",
183
+ defaultBranch: "main",
184
+ featuredOnHomePage: null,
185
+ previewURL: null,
186
+ templateInMonorepo: "template-remix",
187
+ allowEnableTailwind: false
188
+ },
189
+ {
190
+ homePageLabel: "3D",
191
+ shortName: "React Three Fiber",
192
+ org: "remotion-dev",
193
+ repoName: "template-three",
194
+ description: "Remotion + React Three Fiber Starter Template",
195
+ longerDescription: "A template with a React Three Fiber scene to play around.",
196
+ promoVideo: {
197
+ muxId: "mN40242xogVDx023lCChyg8JJBLT02Mqu01Pp00rbbk00SL8M",
198
+ width: 1280,
199
+ height: 720
200
+ },
201
+ cliId: "three",
202
+ type: "video",
203
+ defaultBranch: "main",
204
+ featuredOnHomePage: null,
205
+ previewURL: "https://template-three-remotion.vercel.app/",
206
+ templateInMonorepo: "template-three",
207
+ allowEnableTailwind: false
208
+ },
209
+ {
210
+ homePageLabel: "Stills",
211
+ shortName: "Still images",
212
+ org: "remotion-dev",
213
+ repoName: "template-still",
214
+ description: "Dynamic PNG/JPEG template with built-in server",
215
+ longerDescription: "A template for creating still images. Includes a built-in HTTP server that can be deployed to Heroku.",
216
+ promoVideo: {
217
+ muxId: "admEY3QofSXUf01YbLKR8KqoZXhhprTvEZCM9onSo0001o",
218
+ height: 628,
219
+ width: 1200
220
+ },
221
+ cliId: "still",
222
+ type: "video",
223
+ defaultBranch: "main",
224
+ featuredOnHomePage: null,
225
+ previewURL: "https://template-still.vercel.app/?/PreviewCard",
226
+ templateInMonorepo: "template-still",
227
+ allowEnableTailwind: false
228
+ },
229
+ {
230
+ homePageLabel: "Text-To-Speech (Azure)",
231
+ shortName: "TTS (Azure)",
232
+ org: "FelippeChemello",
233
+ repoName: "Remotion-TTS-Example",
234
+ description: "Turns text into speech and makes a video",
235
+ longerDescription: "A template that turns text into a spoken video. Integrates with Azure Cloud for Speech synthesis.",
236
+ promoVideo: {
237
+ muxId: "8vJJ01lNuFmQCx7n59VILevqQGxRuQHp9a7VBR7B4C8k",
238
+ width: 1920,
239
+ height: 1080
240
+ },
241
+ cliId: "tts",
242
+ type: "video",
243
+ defaultBranch: "master",
244
+ featuredOnHomePage: null,
245
+ previewURL: null,
246
+ templateInMonorepo: "template-tts-azure",
247
+ allowEnableTailwind: false
248
+ },
249
+ {
250
+ homePageLabel: "Text-To-Speech (Google)",
251
+ shortName: "TTS (Google)",
252
+ org: "thecmdrunner",
253
+ repoName: "remotion-gtts-template",
254
+ description: "Turns text into speech and makes a video",
255
+ longerDescription: "A template that turns text into a spoken video. Integrates with Firebase for Storage, and Google Cloud for Speech synthesis.",
256
+ promoVideo: {
257
+ muxId: "82dzhGhv3bl3p8LW009cFGd8oltqt6UvxTWdP27202BAY",
258
+ width: 1920,
259
+ height: 1080
260
+ },
261
+ cliId: "google-tts",
262
+ type: "video",
263
+ defaultBranch: "master",
264
+ featuredOnHomePage: null,
265
+ previewURL: null,
266
+ templateInMonorepo: "template-tts-google",
267
+ allowEnableTailwind: false
268
+ },
269
+ {
270
+ homePageLabel: "Audiogram",
271
+ shortName: "Audiogram",
272
+ org: "remotion-dev",
273
+ repoName: "template-audiogram",
274
+ description: "Text and waveform visualization for podcasts",
275
+ longerDescription: "A template that turns podcast snippets into videos that can be posted on Social Media.",
276
+ promoVideo: {
277
+ muxId: "nqGuji1CJuoPoU3iprRRhiy3HXiQN0201HLyliOg44HOU",
278
+ height: 1080,
279
+ width: 1080
280
+ },
281
+ cliId: "audiogram",
282
+ type: "video",
283
+ defaultBranch: "main",
284
+ featuredOnHomePage: null,
285
+ previewURL: "https://template-audiogram-1nrh.vercel.app",
286
+ templateInMonorepo: "template-audiogram",
287
+ allowEnableTailwind: true
288
+ },
289
+ {
290
+ homePageLabel: "Skia",
291
+ shortName: "Skia",
292
+ org: "remotion-dev",
293
+ repoName: "template-skia",
294
+ description: "React Native Skia starter",
295
+ longerDescription: "A template with React Native Skia already setup.",
296
+ promoVideo: {
297
+ muxId: "ecORcc01sP94IsTRGLwngxH4PC1r1kQq6iXpn00HqCIGI",
298
+ height: 1080,
299
+ width: 1920
300
+ },
301
+ cliId: "skia",
302
+ type: "video",
303
+ defaultBranch: "main",
304
+ featuredOnHomePage: null,
305
+ previewURL: null,
306
+ templateInMonorepo: "template-skia",
307
+ allowEnableTailwind: false
308
+ },
309
+ {
310
+ homePageLabel: "Overlay",
311
+ shortName: "Overlay",
312
+ org: "remotion-dev",
313
+ repoName: "template-overlay",
314
+ description: "Overlays for video editing software",
315
+ longerDescription: `
316
+ \t\t\t<span>
317
+ \t\t\t\tA starter template to create overlays to use in conventional video
318
+ \t\t\t\tediting software.{' '}
319
+ \t\t\t\t<a href="/docs/overlay">Read more about creating overlays.</a>
320
+ \t\t\t</span>
321
+ \t\t\t`,
322
+ promoVideo: {
323
+ muxId: "zgy7XK01009y33Vfzhns02cZS00rOyeZ6WaanaxcrDysqmU",
324
+ height: 720,
325
+ width: 1280
326
+ },
327
+ cliId: "overlay",
328
+ type: "video",
329
+ defaultBranch: "main",
330
+ featuredOnHomePage: null,
331
+ previewURL: null,
332
+ templateInMonorepo: "template-overlay",
333
+ allowEnableTailwind: true
334
+ },
335
+ {
336
+ homePageLabel: "Code Hike",
337
+ shortName: "Code Hike",
338
+ org: "remotion-dev",
339
+ repoName: "template-code-hike",
340
+ description: "Beautiful code animations",
341
+ longerDescription: `\t\t\t
342
+ \t\t\t\tAdd code snippets and animate between them using
343
+ \t\t\t\t<a href="https://codehike.org/">Code Hike</a>. Supports many languages,
344
+ \t\t\t\tTypeScript error annotations, and many themes.
345
+ \t\t\t`,
346
+ promoVideo: {
347
+ muxId: "fKwnpTAOqvnZpu00fwEezi00cpF3927NumGcS1gGdUj8A",
348
+ width: 1080,
349
+ height: 1080
350
+ },
351
+ cliId: "code-hike",
352
+ type: "video",
353
+ defaultBranch: "main",
354
+ featuredOnHomePage: null,
355
+ previewURL: "https://template-code-hike.vercel.app/",
356
+ templateInMonorepo: "template-code-hike",
357
+ allowEnableTailwind: false
358
+ },
359
+ {
360
+ homePageLabel: "Stargazer",
361
+ shortName: "Stargazer",
362
+ org: "pomber",
363
+ repoName: "stargazer",
364
+ description: "Celebrate your repo stars with a video",
365
+ longerDescription: "Your repo reached a stars milestone? Celebrate with a video of your stargazers!",
366
+ promoVideo: {
367
+ muxId: "y9rC1DoQ7rCzzI9TGeUywyTliOVU8xhHTHHZZ2BhM014",
368
+ height: 540,
369
+ width: 960
370
+ },
371
+ cliId: "stargazer",
372
+ type: "video",
373
+ defaultBranch: "main",
374
+ featuredOnHomePage: null,
375
+ previewURL: null,
376
+ templateInMonorepo: "template-stargazer",
377
+ allowEnableTailwind: true
378
+ },
379
+ {
380
+ homePageLabel: "TikTok",
381
+ shortName: "TikTok",
382
+ org: "remotion-dev",
383
+ repoName: "template-tiktok",
384
+ description: "Generate animated word-by-word captions",
385
+ longerDescription: "Caption a video of your choice locally with animated word-by-word captions. Automatically installs Whisper.cpp for you and allows you to customize the animation style.",
386
+ promoVideo: {
387
+ muxId: "BzwCAYgGPqNtLk301tsgWCDvuWVWfEvaO2bIo2lGEd300",
388
+ height: 1920,
389
+ width: 1080
390
+ },
391
+ cliId: "tiktok",
392
+ type: "video",
393
+ defaultBranch: "main",
394
+ featuredOnHomePage: null,
395
+ previewURL: null,
396
+ templateInMonorepo: "template-tiktok",
397
+ allowEnableTailwind: true
398
+ }
399
+ ].filter(truthy);
400
+
401
+ // src/index.ts
402
+ var CreateVideoInternals = {
403
+ FEATURED_TEMPLATES,
404
+ listOfRemotionPackages
405
+ };
406
+ var src_default = () => {
407
+ throw new Error("create-video is a CLI tool only. Run `npx create-video@latest`, `pnpm create video` or `yarn create video` instead!");
408
+ };
409
+ export {
410
+ src_default as default,
411
+ CreateVideoInternals
412
+ };
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.listOfRemotionPackages = void 0;
4
4
  // Keep in sync with cli
5
5
  exports.listOfRemotionPackages = [
6
+ '@remotion/svg-3d-engine',
6
7
  '@remotion/layout-utils',
7
8
  '@remotion/bundler',
8
9
  '@remotion/cli',
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/create-video"
4
4
  },
5
5
  "name": "create-video",
6
- "version": "4.0.248",
6
+ "version": "4.0.249",
7
7
  "description": "Create a new Remotion project",
8
8
  "main": "dist/index.js",
9
9
  "bin": {
@@ -27,13 +27,22 @@
27
27
  "@types/tar": "6.1.1",
28
28
  "react": "19.0.0",
29
29
  "eslint": "9.14.0",
30
- "@remotion/eslint-config-internal": "4.0.248"
30
+ "@remotion/eslint-config-internal": "4.0.249"
31
+ },
32
+ "exports": {
33
+ "./package.json": "./package.json",
34
+ ".": {
35
+ "types": "./dist/index.d.ts",
36
+ "module": "./dist/esm/index.mjs",
37
+ "import": "./dist/esm/index.mjs",
38
+ "require": "./dist/index.js"
39
+ }
31
40
  },
32
41
  "homepage": "https://remotion.dev/templates",
33
42
  "scripts": {
34
43
  "formatting": "prettier src --check",
35
44
  "lint": "eslint src",
36
45
  "test": "bun test src",
37
- "make": "tsc -d"
46
+ "make": "tsc -d && bun --env-file=../.env.bundle bundle.ts"
38
47
  }
39
48
  }