launch-film 0.1.2 → 0.1.4
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.
- package/README.md +3 -3
- package/package.json +1 -1
- package/src/brand.js +1 -1
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
A 20 to 40 second launch film made from a product's own website or App Store page: its real logo, colors, fonts and screens, set in motion with music and sound effects.
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
|
-
npx launch-film linear.app
|
|
6
|
+
npx launch-film@latest linear.app
|
|
7
7
|
```
|
|
8
8
|
|
|
9
9
|

|
|
@@ -12,7 +12,7 @@ npx launch-film linear.app
|
|
|
12
12
|
|
|
13
13
|
Tools that make videos with code usually start from a brief: you describe the product, its colors and the style you want. launch-film starts from the site. [easybrandkit](https://github.com/EminBudak/easybrandkit) reads the logo, colors, fonts and first screen in a headless browser, the page's own headline and section titles become the film's words, and a look is picked to suit the brand. You get an MP4 at 1920x1080, rendered on your machine with Chrome and ffmpeg. There is no account, no API key and nothing is uploaded.
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
Read the story behind it on my blog: [launch-film: A Launch Film From Your Website](https://eminbudak.com/blog/launch-film-from-your-website/).
|
|
16
16
|
|
|
17
17
|
## Use it with your agent
|
|
18
18
|
|
|
@@ -135,7 +135,7 @@ Words between asterisks are set in the brand's accent color. A bar is one bar of
|
|
|
135
135
|
- Node 22 or newer
|
|
136
136
|
- Google Chrome or Chromium (set `LAUNCH_FILM_CHROME` to use another build)
|
|
137
137
|
- ffmpeg (set `LAUNCH_FILM_FFMPEG` and `LAUNCH_FILM_FFPROBE` to use another build)
|
|
138
|
-
- [easybrandkit](https://github.com/EminBudak/easybrandkit): install it with `npm install -g easybrandkit`, or launch-film runs it with `npx -y easybrandkit` (set `LAUNCH_FILM_EASYBRANDKIT` to use a copy of your own)
|
|
138
|
+
- [easybrandkit](https://github.com/EminBudak/easybrandkit): install it with `npm install -g easybrandkit`, or launch-film runs it with `npx -y easybrandkit@latest` (set `LAUNCH_FILM_EASYBRANDKIT` to use a copy of your own)
|
|
139
139
|
|
|
140
140
|
Run `npx launch-film doctor` to check. It has been tested on macOS with Chrome 156 and ffmpeg 7.1.
|
|
141
141
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "launch-film",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "A launch film from a website or an App Store page: its real logo, colors, fonts and screens, rendered locally with Chrome and ffmpeg.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Emin Budak",
|
package/src/brand.js
CHANGED
|
@@ -48,7 +48,7 @@ function easybrandkitCommands(given = "") {
|
|
|
48
48
|
const installed = onPath(process.platform === "win32" ? "easybrandkit.cmd" : "easybrandkit");
|
|
49
49
|
if (installed) return [[installed]];
|
|
50
50
|
const npx = process.platform === "win32" ? "npx.cmd" : "npx";
|
|
51
|
-
return [[npx, "-y", "easybrandkit"], [npx, "-y", "github:EminBudak/easybrandkit"]];
|
|
51
|
+
return [[npx, "-y", "easybrandkit@latest"], [npx, "-y", "github:EminBudak/easybrandkit"]];
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
const HOW = "Install easybrandkit (npm install -g easybrandkit), or point LAUNCH_FILM_EASYBRANDKIT (or --easybrandkit) at its scripts/easybrandkit.js, or give a kit you already have with --brand.";
|