rollberry 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/CHANGELOG.md +14 -0
- package/README.md +40 -0
- package/dist/capture/constants.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,20 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on Keep a Changelog and the project stays on the `v0.x.x`
|
|
6
6
|
line until the CLI surface and capture behavior settle.
|
|
7
7
|
|
|
8
|
+
## [0.1.4] - 2026-03-15
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- Reduced default auto-scroll speed from 1800 px/s to 800 px/s for better
|
|
13
|
+
readability during capture.
|
|
14
|
+
|
|
15
|
+
## [0.1.3] - 2026-03-15
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- README now includes a dedicated `Using With npx` section with version-pinned
|
|
20
|
+
examples and common usage patterns.
|
|
21
|
+
|
|
8
22
|
## [0.1.2] - 2026-03-15
|
|
9
23
|
|
|
10
24
|
### Added
|
package/README.md
CHANGED
|
@@ -28,6 +28,46 @@ npx rollberry capture http://localhost:3000 \
|
|
|
28
28
|
On the first run, if Playwright Chromium is missing, Rollberry installs it
|
|
29
29
|
automatically. `ffmpeg` is not auto-installed.
|
|
30
30
|
|
|
31
|
+
## Using With npx
|
|
32
|
+
|
|
33
|
+
The normal way to run Rollberry is `npx`.
|
|
34
|
+
|
|
35
|
+
Use the latest published version:
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
npx rollberry capture http://localhost:3000 --out ./artifacts/demo.mp4
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Pin a specific version:
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
npx rollberry@0.1.2 capture http://localhost:3000 --out ./artifacts/demo.mp4
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Capture a local development server:
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
npx rollberry capture http://localhost:3000 \
|
|
51
|
+
--out ./artifacts/local.mp4 \
|
|
52
|
+
--wait-for selector:body
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Capture a public page:
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
npx rollberry capture https://playwright.dev \
|
|
59
|
+
--out ./artifacts/playwright.mp4 \
|
|
60
|
+
--duration 8
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
Notes:
|
|
64
|
+
|
|
65
|
+
- `npx` downloads the published CLI package automatically
|
|
66
|
+
- on the first run, Rollberry installs Playwright Chromium if needed
|
|
67
|
+
- `ffmpeg` and `ffprobe` must already be available on your machine
|
|
68
|
+
- if you want reproducible automation, pin the package version with
|
|
69
|
+
`npx rollberry@<version> ...`
|
|
70
|
+
|
|
31
71
|
## What You Get
|
|
32
72
|
|
|
33
73
|
Each run writes:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export const AUTO_DURATION_MIN_SECONDS = 4;
|
|
2
2
|
export const AUTO_DURATION_MAX_SECONDS = 40;
|
|
3
|
-
export const AUTO_DURATION_PIXELS_PER_SECOND =
|
|
3
|
+
export const AUTO_DURATION_PIXELS_PER_SECOND = 800;
|
|
4
4
|
export const LOCALHOST_RETRY_INTERVAL_MS = 500;
|
|
5
5
|
export const STABILIZE_DELAY_MS = 500;
|
|
6
6
|
export const PREFLIGHT_STEP_DELAY_MS = 120;
|