launch-film 0.3.0 → 0.3.1

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/LICENSE CHANGED
@@ -1,6 +1,7 @@
1
1
  MIT License
2
2
 
3
3
  Copyright (c) 2026 Emin Budak
4
+ Copyright (c) 2026 Wiro AI Inc.
4
5
 
5
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
7
  of this software and associated documentation files (the "Software"), to deal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "launch-film",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
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",
@@ -10,7 +10,7 @@ A launch film made from the product itself: its logo cut from its own page, its
10
10
  The tool is the `launch-film` npm package. It needs Node 22 or newer, Chrome or Chromium, and ffmpeg and ffprobe 4.4 or newer. Check them first:
11
11
 
12
12
  ```bash
13
- npx -y launch-film@0.3.0 doctor
13
+ npx -y launch-film@0.3.1 doctor
14
14
  ```
15
15
 
16
16
  If ffmpeg or ffprobe is missing, cannot be started or is older than 4.4, tell the user how to install ffmpeg, which comes with ffprobe (`brew install ffmpeg` on a Mac, `sudo apt install ffmpeg` on Ubuntu 22.04, Debian 12 or newer), and stop. doctor also starts Chrome once: if it finds no Chrome, or says that Chrome could not start its sandbox or did not start, tell the user what it says and stop. Each program's line says what is wrong with it. A command that cannot start ffmpeg, ffprobe or Chrome stops before any work with a message that starts `launch-film needs ffmpeg` (or ffprobe, or Chrome) and names the setting or the PATH entry that gave it, what is wrong with it and how to point to one that works. A message that starts `launch-film could not run its stand-ins` or `launch-film cannot put its stand-ins` (the temp folder cannot hold the programs that keep a page from starting one of the machine's, or the machine was too busy to run them), `launch-film cannot start Chrome from the temp folder` (the temp folder's path is too long for Chrome), or `launch-film could not start` says what to do as well. Pass any of these on to the user and stop.
@@ -18,7 +18,7 @@ If ffmpeg or ffprobe is missing, cannot be started or is older than 4.4, tell th
18
18
  ## 1. Get the brand and a first plan
19
19
 
20
20
  ```bash
21
- npx -y launch-film@0.3.0 plan <url> --out film/<name>
21
+ npx -y launch-film@0.3.1 plan <url> --out film/<name>
22
22
  ```
23
23
 
24
24
  Give the product's website, or its App Store or Google Play listing (then the listing's icon, screenshots and rating are used, with the colors, fonts and logo of the site it names). Not a social profile: easybrandkit refuses those.
@@ -38,7 +38,7 @@ If launch-film says easybrandkit could not be fetched, npx could not download it
38
38
  ## 2. Pick a look
39
39
 
40
40
  ```bash
41
- npx -y launch-film@0.3.0 looks
41
+ npx -y launch-film@0.3.1 looks
42
42
  ```
43
43
 
44
44
  The plan already picked one from the brand: `launch` (dark stage, depth, one bright accent) for dark sites and developer tools, `aurora` (frosted glass over soft color) for vivid consumer and AI products, `gridline` (Swiss grid on paper) for light B2B sites, `pop` (full color fields, stickers) for consumer apps, `journal` (serif headlines on warm paper) for editorial brands. Change `"look"` in film.json if the user asked for a style or another one fits better.
@@ -56,7 +56,7 @@ film.json holds `look`, `aspect` (`16:9` or `9:16`), `music` and `clips`, played
56
56
  | `scroll` | a tall page scrolling in a window | `image` |
57
57
  | `logo` | the logo close with the site's address | `logo` (an easybrandkit logo file) or `icon` (an app icon), `site` |
58
58
 
59
- A scene object has a `type` and its words. List every type and its fields with `npx -y launch-film@0.3.0 types`; icon names come from `npx -y launch-film@0.3.0 icons <word>`. The ones a launch film uses most:
59
+ A scene object has a `type` and its words. List every type and its fields with `npx -y launch-film@0.3.1 types`; icon names come from `npx -y launch-film@0.3.1 icons <word>`. The ones a launch film uses most:
60
60
 
61
61
  ```json
62
62
  { "type": "opener", "title": "Acme Notes", "text": "Notes that think with you" }
@@ -79,7 +79,7 @@ Words between asterisks are set in the accent color. Rules for the words:
79
79
  ## 4. Render
80
80
 
81
81
  ```bash
82
- npx -y launch-film@0.3.0 render film/<name>/film.json
82
+ npx -y launch-film@0.3.1 render film/<name>/film.json
83
83
  ```
84
84
 
85
85
  Clips render two at a time; a 30 second film takes one to three minutes. The film is `film/<name>/film.mp4`. If a clip fails, the message names it: fix film.json and render again. When it says that Chrome did not answer in time or that the page did not load, the machine was too busy: render again with `--jobs 1`. When it says that the system ran out of memory, after "Chrome's page crashed", "Chrome could not capture frame", "Chrome was stopped by SIGKILL" or "ffmpeg was stopped by SIGKILL", render again with `--jobs 1` too, which needs less. When it says that Chrome could not start its sandbox, tell the user what the message says to do, and stop.
@@ -91,14 +91,14 @@ A run that fails or is stopped changes nothing in the folder: the last good plan
91
91
  You can't watch the film or hear it, so measure it:
92
92
 
93
93
  ```bash
94
- npx -y launch-film@0.3.0 check film/<name>/film.mp4 --expect 1920x1080@25 --seconds 20-40 --lufs -14
94
+ npx -y launch-film@0.3.1 check film/<name>/film.mp4 --expect 1920x1080@25 --seconds 20-40 --lufs -14
95
95
  ```
96
96
 
97
97
  launch-film renders at 25 fps, 1920x1080 (1080x1920 for 9:16). `--seconds 20-40` is the range a launch film keeps to; when the user asked for a length, give that instead (`--seconds 30` allows half a second either way). Clips last whole bars, so a film planned for 30 seconds can come out two seconds short: to hit a length exactly, give the last clip `seconds` in place of `bars` and render again. `--lufs -14` is the loudness YouTube, X and most social apps play at, and a render brings the film's sound to it. If the user has music cues from another tool, add `--cues cues.json` to see whether the cuts land on the beat.
98
98
 
99
99
  Read `film/<name>/check/CHECK.md` first. It says PASS or FAIL and why, for each check: size, frame rate, length, black, still and silent stretches, loudness, true peak, clipping and cuts on the beat. A warning is something to look at, not always a fault: a title that rests or an end card is a hold, and you can pass the stretches you meant with `--allow 27-30`.
100
100
 
101
- Then look, because a measurement can't read words. Open `check/sheet.png` (a frame from each shot) and `check/wave.png` (the sound over time, with the cuts). For two stills a clip, run `npx -y launch-film@0.3.0 frames film/<name>/film.mp4` and open `frames/sheet.jpg`. Check:
101
+ Then look, because a measurement can't read words. Open `check/sheet.png` (a frame from each shot) and `check/wave.png` (the sound over time, with the cuts). For two stills a clip, run `npx -y launch-film@0.3.1 frames film/<name>/film.mp4` and open `frames/sheet.jpg`. Check:
102
102
 
103
103
  - every word is whole, inside the frame and spelled as written;
104
104
  - no text lies on other text or runs out of its card;
@@ -111,7 +111,7 @@ Fix what you find in film.json and render again. If the loudness or the peaks fa
111
111
  ## 6. Launch pictures, when the user wants them
112
112
 
113
113
  ```bash
114
- npx -y launch-film@0.3.0 stills film/<name>/film.json --for ph,og,x,play,chrome
114
+ npx -y launch-film@0.3.1 stills film/<name>/film.json --for ph,og,x,play,chrome
115
115
  ```
116
116
 
117
117
  This makes the pictures a launch needs from the same plan, at the exact size each place asks for, in `film/<name>/stills/`: the Product Hunt gallery (`ph-1.png` up to `ph-6.png`, 1270x760: the first picture, then one for each scene of the film after it) and thumbnail (240x240), `og.png` (1200x630) for link previews, `x.png` (1600x900) for a post on X, `play-feature.png` (1024x500) for Google Play, and the Chrome Web Store tiles (`chrome-small.png` 440x280 and `chrome-marquee.png` 1400x560). Ask for only the ones the user needs with `--for`; a site's address in place of film.json plans the film first.
@@ -120,7 +120,7 @@ Read `stills/STILLS.md` and look at every picture with the same list as the fram
120
120
 
121
121
  ## Without a plan step
122
122
 
123
- `npx -y launch-film@0.3.0 <url>` does steps 1 to 4 in one go with the first plan, and saves the frames. Use it when the user wants a film quickly and has no wishes about the words, and check the MP4 as in step 5 before you hand it over.
123
+ `npx -y launch-film@0.3.1 <url>` does steps 1 to 4 in one go with the first plan, and saves the frames. Use it when the user wants a film quickly and has no wishes about the words, and check the MP4 as in step 5 before you hand it over.
124
124
 
125
125
  ## Options
126
126