@claudein.org/cli 0.1.18 → 0.1.20

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@claudein.org/cli",
3
- "version": "0.1.18",
3
+ "version": "0.1.20",
4
4
  "description": "Post to LinkedIn from the command line",
5
5
  "type": "module",
6
6
  "repository": {
@@ -29,8 +29,32 @@ The default file is `posts.yml` but users can use any `.yml` file (pass it to `c
29
29
 
30
30
  When generating or sourcing images and videos (e.g. with Remotion), target LinkedIn's specs:
31
31
 
32
- **Images:** 1200×627 px (1.91:1 landscape) or 1080×1080 px (1:1 square) PNG or JPG, high resolution
32
+ **Both images and videos:** 1:1 to 4:5 aspect ratio, 1080×1080 px up to 1080×1350 px
33
33
 
34
- **Videos:** MP4, H.264, at least 1280×720 px, 16:9 aspect ratio — up to 4096×2304 supported
34
+ **Images:** PNG or JPG
35
35
 
36
- Low resolution or non-standard aspect ratios may be cropped or rejected by LinkedIn.
36
+ **Videos:** MP4, H.264
37
+
38
+ Content outside the 1:1–4:5 range may be cropped or rejected by LinkedIn.
39
+
40
+ ### Remotion
41
+
42
+ Set the composition to exactly the target resolution:
43
+
44
+ ```ts
45
+ <Composition width={1080} height={1080} ... /> // or height={1350} for 4:5
46
+ ```
47
+
48
+ Any SVG used inside a composition must have its `width`, `height`, and `viewBox` match the composition dimensions — do not rely on SVG auto-scaling:
49
+
50
+ ```tsx
51
+ <svg width={1080} height={1080} viewBox="0 0 1080 1080">...</svg>
52
+ ```
53
+
54
+ Render with high quality settings:
55
+
56
+ ```bash
57
+ npx remotion render --codec h264 --crf 18 --pixel-format yuv420p
58
+ ```
59
+
60
+ Low CRF (≤18) means high quality. Do not use default CRF — it produces noticeably lower quality video.